Skip to content

Commit

Permalink
Merge pull request #811 from steffenlarsen/steffen/run_conformance_im…
Browse files Browse the repository at this point in the history
…pl_name

Use implementation name for configuration in conformance script
  • Loading branch information
bader authored Nov 2, 2023
2 parents 92c2004 + e2c9d7a commit 81f5d92
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions run_conformance_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def split_additional_args(additional_args):

def generate_cmake_call(cmake_exe, build_system_name, full_conformance,
test_deprecated_features, exclude_categories,
additional_cmake_args, device, full_feature_set):
implementation_name, additional_cmake_args, device,
full_feature_set):
"""
Generates a CMake call based on the input in a form accepted by
subprocess.call().
Expand All @@ -128,6 +129,7 @@ def generate_cmake_call(cmake_exe, build_system_name, full_conformance,
'-G' + build_system_name,
'-DSYCL_CTS_ENABLE_FULL_CONFORMANCE=' + full_conformance,
'-DSYCL_CTS_ENABLE_DEPRECATED_FEATURES_TESTS=' + test_deprecated_features,
'-DSYCL_IMPLEMENTATION=' + implementation_name,
'-DSYCL_CTS_CTEST_DEVICE=' + device,
'-DSYCL_CTS_ENABLE_FEATURE_SET_FULL=' + full_feature_set,
]
Expand Down Expand Up @@ -279,8 +281,9 @@ def main(argv=sys.argv[1:]):
# Generate a cmake call in a form accepted by subprocess.call()
cmake_call = generate_cmake_call(cmake_exe, build_system_name,
full_conformance, test_deprecated_features,
exclude_categories, additional_cmake_args,
device, full_feature_set)
exclude_categories, implementation_name,
additional_cmake_args, device,
full_feature_set)

# Generate a CTest call in a form accepted by subprocess.call()
ctest_call = generate_ctest_call(additional_ctest_args)
Expand Down

0 comments on commit 81f5d92

Please sign in to comment.