Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

further testing subsystems #11530

Merged
merged 12 commits into from Jul 6, 2022
4 changes: 2 additions & 2 deletions conans/test/assets/autotools.py
Expand Up @@ -55,12 +55,12 @@ def gen_makefile(**context):
{% for lib in libs %}
{%- set link_libs.str = link_libs.str + ' -l' + lib|string %}
lib{{lib}}.a: {{lib}}.o
$(AR) rcs lib{{lib}}.a {{lib}}.o
$(AR) rcs lib{{lib}}.a {{lib}}.o {%if static_runtime%}--static{%endif%}
{% endfor %}

{% for s in apps %}
{{s}}: {{s}}.o libs
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o {{s}} {{s}}.o $(LIBS) {{link_libs.str}} -L.
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o {{s}} {{s}}.o $(LIBS) {{link_libs.str}} -L. {%if static_runtime%}--static{%endif%}
{% endfor %}
""")

Expand Down
23 changes: 23 additions & 0 deletions conans/test/conftest.py
Expand Up @@ -92,6 +92,13 @@
"exe": "mingw32-make",
"system": {"path": {'Windows': "C:/msys64/mingw32/bin"}},
},
'ucrt64': {
"disabled": True,
"platform": "Windows",
"default": "system",
"exe": "mingw32-make",
"system": {"path": {'Windows': "C:/msys64/ucrt64/bin"}},
},
'mingw64': {
"platform": "Windows",
"default": "system",
Expand All @@ -104,6 +111,20 @@
"exe": "make",
"system": {"path": {'Windows': "C:/msys64/usr/bin"}},
},
'msys2_clang64': {
"disabled": True,
"platform": "Windows",
"default": "system",
"exe": "mingw32-make",
"system": {"path": {'Windows': "C:/msys64/clang64/bin"}},
},
'msys2_mingw64_clang64': {
"disabled": True,
"platform": "Windows",
"default": "system",
"exe": "mingw32-make",
"system": {"path": {'Windows': "C:/msys64/mingw64/bin"}},
},
'cygwin': {
"platform": "Windows",
"default": "system",
Expand Down Expand Up @@ -156,6 +177,8 @@ def update(d, u):
tools_environments = {
'mingw32': {'Windows': {'MSYSTEM': 'MINGW32'}},
'mingw64': {'Windows': {'MSYSTEM': 'MINGW64'}},
'ucrt64': {'Windows': {'MSYSTEM': 'UCRT64'}},
'msys2_clang64': {"Windows": {"MSYSTEM": "CLANG64"}},
'android_ndk': {'Darwin': {'TEST_CONAN_ANDROID_NDK': '/usr/local/share/android-ndk'}}
}

Expand Down