diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/commands.dex b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/commands.dex --- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/commands.dex +++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/commands.dex @@ -5,7 +5,7 @@ # UNSUPPORTED: system-darwin # # RUN: %clang %S/test.cpp -O0 -g -o %t -# RUN: %dexter_regression_test --binary %t %s | FileCheck %s +# RUN: %dexter_regression_base --binary %t %s | FileCheck %s # CHECK: commands.dex # # test.cpp diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/commands.dex b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/commands.dex --- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/commands.dex +++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/commands.dex @@ -5,7 +5,7 @@ # UNSUPPORTED: system-darwin # # RUN: %clang %S/../source/test.cpp -O0 -g -o %t -# RUN: %dexter_regression_test --binary %t %s | FileCheck %s +# RUN: %dexter_regression_base --binary %t %s | FileCheck %s # RUN: rm %t # CHECK: commands.dex # diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/source_root_dir.dex b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/source_root_dir.dex --- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/source_root_dir.dex +++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/source_root_dir.dex @@ -6,7 +6,7 @@ # UNSUPPORTED: system-darwin # RUN: %clang %S/../source/test.cpp -O0 -g -o %t -# RUN: %dexter_regression_test --binary %t \ +# RUN: %dexter_regression_base --binary %t \ # RUN: --source-root-dir="%S/../source" -- %s | FileCheck %s # RUN: rm %t diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.dex b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.dex --- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.dex +++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.dex @@ -4,7 +4,7 @@ # REQUIRES: system-windows # # RUN: %clang "%S/source/test file.cpp" -O0 -g -o %t -# RUN: %dexter_regression_test --binary %t %s | FileCheck %s +# RUN: %dexter_regression_base --binary %t %s | FileCheck %s # CHECK: test.dex # # ./source/test file.cpp diff --git a/cross-project-tests/lit.cfg.py b/cross-project-tests/lit.cfg.py --- a/cross-project-tests/lit.cfg.py +++ b/cross-project-tests/lit.cfg.py @@ -153,18 +153,23 @@ # Typical command would take the form: # ./path_to_py/python.exe ./path_to_dex/dexter.py test --fail-lt 1.0 -w --builder clang --debugger lldb --cflags '-O0 -g' -dexter_regression_test_command = ' '.join( +# Exclude build flags for %dexter_regression_base. +dexter_regression_test_base = ' '.join( # "python", "dexter.py", test, fail_mode, builder, debugger, cflags, ldflags ['"{}"'.format(sys.executable), '"{}"'.format(dexter_path), 'test', '--fail-lt 1.0 -w', + dexter_regression_test_debugger]) +tools.append(ToolSubst('%dexter_regression_base', dexter_regression_test_base)) + +# Include build flags for %dexter_regression_test. +dexter_regression_test_build = ' '.join([ + dexter_regression_test_base, dexter_regression_test_builder, - dexter_regression_test_debugger, dexter_regression_test_cflags, dexter_regression_test_ldflags]) - -tools.append(ToolSubst('%dexter_regression_test', dexter_regression_test_command)) +tools.append(ToolSubst('%dexter_regression_test', dexter_regression_test_build)) tool_dirs = [config.llvm_tools_dir]