Skip to content

Commit 08776de

Browse files
committed
[libc++/libc++abi] Properly delimit lit substitutions
lit is not very clever when it performs substitution on RUN lines. It simply looks for a match anywhere in the line (without tokenization) and replaces it by the expansion. This means that a RUN line containing e.g. `-verify-ignore-unexpected=note` wouod be expanded to `-verify-ignore-unexpected=<substitution for not>e`, which is surprising and nonsensical. It also means that something like `%compile_module` could be expanded to `<substitution-for-%compile>_module` or to the correct substitution, depending on the order in which substitutions are evaluated by lit. To avoid such problems, it is a good habit to delimit custom substitutions with some token. This commit does that for all substitutions used in the libc++ and libc++abi test suites.
1 parent 848112c commit 08776de

File tree

44 files changed

+106
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+106
-106
lines changed

libcxx/test/libcxx/atomics/atomics.align/align.pass.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
//
99
// UNSUPPORTED: libcpp-has-no-threads, c++98, c++03
1010
// REQUIRES: libatomic
11-
// RUN: %build -latomic
12-
// RUN: %run
11+
// RUN: %{build} -latomic
12+
// RUN: %{run}
1313
//
1414
// GCC currently fails because it needs -fabi-version=6 to fix mangling of
1515
// std::atomic when used with __attribute__((vector(X))).

libcxx/test/libcxx/containers/sequences/vector/exception_safety_exceptions_disabled.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// RUN: %build -fno-exceptions
10-
// RUN: %run
9+
// RUN: %{build} -fno-exceptions
10+
// RUN: %{run}
1111

1212
// UNSUPPORTED: c++98, c++03
1313

libcxx/test/libcxx/depr/depr.c.headers/math_h.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// RUN: %compile -fsyntax-only
9+
// RUN: %{compile} -fsyntax-only
1010

1111
#ifdef _MSC_VER
1212

libcxx/test/libcxx/double_include.sh.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
// Test that we can include each header in two TU's and link them together.
1111

12-
// RUN: %cxx -c %s -o %t.first.o %flags %compile_flags
13-
// RUN: %cxx -c %s -o %t.second.o -DWITH_MAIN %flags %compile_flags
14-
// RUN: %cxx -o %t.exe %t.first.o %t.second.o %flags %link_flags
15-
// RUN: %run
12+
// RUN: %{cxx} -c %s -o %t.first.o %{flags} %{compile_flags}
13+
// RUN: %{cxx} -c %s -o %t.second.o -DWITH_MAIN %{flags} %{compile_flags}
14+
// RUN: %{cxx} -o %t.exe %t.first.o %t.second.o %{flags} %{link_flags}
15+
// RUN: %{run}
1616

1717
// Prevent <ext/hash_map> from generating deprecated warnings for this test.
1818
#if defined(__DEPRECATED)

libcxx/test/libcxx/experimental/language.support/support.coroutines/dialect_support.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
// REQUIRES: fcoroutines-ts
1111

12-
// RUN: %build -fcoroutines-ts
13-
// RUN: %run
12+
// RUN: %{build} -fcoroutines-ts
13+
// RUN: %{run}
1414

1515
// A simple "breathing" test that checks that <experimental/coroutine>
1616
// can be parsed and used in all dialects, including C++03 in order to match

libcxx/test/libcxx/experimental/language.support/support.coroutines/version.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
// UNSUPPORTED: c++98, c++03, c++11
1111
// REQUIRES: fcoroutines-ts
1212

13-
// RUN: %build -fcoroutines-ts
14-
// RUN: %run
13+
// RUN: %{build} -fcoroutines-ts
14+
// RUN: %{run}
1515

1616
#include <experimental/coroutine>
1717

libcxx/test/libcxx/include_as_c.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// NOTE: It's not common or recommended to have libc++ in the header search
1313
// path when compiling C files, but it does happen often enough.
1414

15-
// RUN: %cxx -c -xc %s -fsyntax-only %flags %compile_flags -std=c99
15+
// RUN: %{cxx} -c -xc %s -fsyntax-only %{flags} %{compile_flags} -std=c99
1616

1717
#include <complex.h>
1818
#include <ctype.h>

libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
// class directory_entry
1414

15-
// RUN: %build -I%libcxx_src_root/src/filesystem
16-
// RUN: %run
15+
// RUN: %{build} -I%{libcxx_src_root}/src/filesystem
16+
// RUN: %{run}
1717

1818
#include "filesystem_include.h"
1919
#include <type_traits>

libcxx/test/libcxx/input.output/filesystems/convert_file_time.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
// typedef TrivialClock file_time_type;
1414

15-
// RUN: %build -I%libcxx_src_root/src/filesystem
16-
// RUN: %run
15+
// RUN: %{build} -I%{libcxx_src_root}/src/filesystem
16+
// RUN: %{run}
1717

1818
#include <filesystem>
1919
#include <chrono>

libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
// GCC doesn't support the aligned-allocation flags.
4040
// XFAIL: gcc
4141

42-
// RUN: %build -faligned-allocation -fsized-deallocation
43-
// RUN: %run
44-
// RUN: %build -faligned-allocation -fno-sized-deallocation -DNO_SIZE
45-
// RUN: %run
46-
// RUN: %build -fno-aligned-allocation -fsized-deallocation -DNO_ALIGN
47-
// RUN: %run
48-
// RUN: %build -fno-aligned-allocation -fno-sized-deallocation -DNO_ALIGN -DNO_SIZE
49-
// RUN: %run
42+
// RUN: %{build} -faligned-allocation -fsized-deallocation
43+
// RUN: %{run}
44+
// RUN: %{build} -faligned-allocation -fno-sized-deallocation -DNO_SIZE
45+
// RUN: %{run}
46+
// RUN: %{build} -fno-aligned-allocation -fsized-deallocation -DNO_ALIGN
47+
// RUN: %{run}
48+
// RUN: %{build} -fno-aligned-allocation -fno-sized-deallocation -DNO_ALIGN -DNO_SIZE
49+
// RUN: %{run}
5050

5151
#include <new>
5252
#include <typeinfo>

libcxx/test/libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
// XFAIL: with_system_cxx_lib=macosx10.8
2626
// XFAIL: with_system_cxx_lib=macosx10.7
2727

28-
// RUN: %build -faligned-allocation
29-
// RUN: %run
28+
// RUN: %{build} -faligned-allocation
29+
// RUN: %{run}
3030

3131
#include <new>
3232
#include <typeinfo>

libcxx/test/libcxx/min_max_macros.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
// Test that we can include each header in two TU's and link them together.
1111

12-
// RUN: %compile -fsyntax-only
12+
// RUN: %{compile} -fsyntax-only
1313

1414
// Prevent <ext/hash_map> from generating deprecated warnings for this test.
1515
#if defined(__DEPRECATED)

libcxx/test/libcxx/modules/cinttypes_exports.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// Test that <cinttypes> re-exports <cstdint>
2020

21-
// RUN: %build_module
21+
// RUN: %{build_module}
2222

2323
#include <cinttypes>
2424

libcxx/test/libcxx/modules/clocale_exports.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// REQUIRES: modules-support
1818
// UNSUPPORTED: c++98, c++03
1919

20-
// RUN: %build_module
20+
// RUN: %{build_module}
2121

2222
#include <clocale>
2323

libcxx/test/libcxx/modules/cstdint_exports.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// Test that <cstdint> re-exports <stdint.h>
2020

21-
// RUN: %build_module
21+
// RUN: %{build_module}
2222

2323
#include <cstdint>
2424

libcxx/test/libcxx/modules/inttypes_h_exports.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// Test that intypes.h re-exports stdint.h
2020

21-
// RUN: %build_module
21+
// RUN: %{build_module}
2222

2323
#include <inttypes.h>
2424

libcxx/test/libcxx/modules/stdint_h_exports.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
// Test that int8_t and the like are exported from stdint.h not inttypes.h
1616

17-
// RUN: %build_module
17+
// RUN: %{build_module}
1818

1919
#include <stdint.h>
2020

libcxx/test/libcxx/modules/stds_include.sh.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
// REQUIRES: modules-support
1919

20-
// NOTE: The -std=XXX flag is present in %flags, so we overwrite it by passing it after %flags.
21-
// RUN: %cxx %flags %compile_flags -fmodules -fcxx-modules -fsyntax-only -std=c++98 %s
22-
// RUN: %cxx %flags %compile_flags -fmodules -fcxx-modules -fsyntax-only -std=c++03 %s
23-
// RUN: %cxx %flags %compile_flags -fmodules -fcxx-modules -fsyntax-only -std=c++11 %s
24-
// RUN: %cxx %flags %compile_flags -fmodules -fcxx-modules -fsyntax-only -std=c++14 %s
25-
// RUN: %cxx %flags %compile_flags -fmodules -fcxx-modules -fsyntax-only -std=c++17 %s
26-
// RUN: %cxx %flags %compile_flags -fmodules -fcxx-modules -fsyntax-only -std=c++2a %s
20+
// NOTE: The -std=XXX flag is present in %{flags}, so we overwrite it by passing it after %{flags}.
21+
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++98 %s
22+
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++03 %s
23+
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++11 %s
24+
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++14 %s
25+
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++17 %s
26+
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++2a %s
2727

2828
#include <vector>
2929

libcxx/test/libcxx/no_assert_include.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// Ensure that none of the standard C++ headers implicitly include cassert or
1111
// assert.h (because assert() is implemented as a macro).
1212

13-
// RUN: %compile -fsyntax-only
13+
// RUN: %{compile} -fsyntax-only
1414

1515
// Prevent <ext/hash_map> from generating deprecated warnings for this test.
1616
#if defined(__DEPRECATED)

libcxx/test/libcxx/numerics/c.math/fdelayed-template-parsing.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
// REQUIRES: fdelayed-template-parsing
1212

13-
// RUN: %build -fdelayed-template-parsing
14-
// RUN: %run
13+
// RUN: %{build} -fdelayed-template-parsing
14+
// RUN: %{run}
1515

1616
#include <cmath>
1717
#include <cassert>

libcxx/test/libcxx/selftest/exec.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
// RUN: %build
11-
// RUN: %exec %t.exe "HELLO"
10+
// RUN: %{build}
11+
// RUN: %{exec} %t.exe "HELLO"
1212

1313
#include <cassert>
1414
#include <string>

libcxx/test/libcxx/selftest/not_test.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
// RUN: %build
11-
// RUN: not %run
10+
// RUN: %{build}
11+
// RUN: %{not} %{run}
1212

1313
int main(int, char**)
1414
{

libcxx/test/libcxx/selftest/test.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
// RUN: %build
11-
// RUN: %run
10+
// RUN: %{build}
11+
// RUN: %{run}
1212

1313
int main(int, char**)
1414
{

libcxx/test/libcxx/strings/basic.string/PR42676.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
// Regression test for PR42676.
1010

11-
// RUN: %cxx %flags %s -o %t.exe %compile_flags %link_flags -D_LIBCPP_HIDE_FROM_ABI_PER_TU
12-
// RUN: %run
11+
// RUN: %{cxx} %{flags} %s -o %t.exe %{compile_flags} %{link_flags} -D_LIBCPP_HIDE_FROM_ABI_PER_TU
12+
// RUN: %{run}
1313

1414
#include <memory>
1515
#include <string>

libcxx/test/libcxx/utilities/function.objects/abi_bug_cxx03_cxx11_example.sh.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
// This tests is meant to demonstrate an existing ABI bug between the
1414
// C++03 and C++11 implementations of std::function. It is not a real test.
1515

16-
// RUN: %cxx -c %s -o %t.first.o %flags %compile_flags -std=c++03 -g
17-
// RUN: %cxx -c %s -o %t.second.o -DWITH_MAIN %flags %compile_flags -g -std=c++11
18-
// RUN: %cxx -o %t.exe %t.first.o %t.second.o %flags %link_flags -g
19-
// RUN: %run
16+
// RUN: %{cxx} -c %s -o %t.first.o %{flags} %{compile_flags} -std=c++03 -g
17+
// RUN: %{cxx} -c %s -o %t.second.o -DWITH_MAIN %{flags} %{compile_flags} -g -std=c++11
18+
// RUN: %{cxx} -o %t.exe %t.first.o %t.second.o %{flags} %{link_flags} -g
19+
// RUN: %{run}
2020

2121
#include <functional>
2222
#include <cassert>

libcxx/test/libcxx/utilities/meta/stress_tests/stress_test_is_same.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
// std::_IsSame: 689.634 ms 356 K
1818
// std::is_same: 8,129.180 ms 560 K
1919
//
20-
// RUN: %cxx %flags %compile_flags -c %s -o %S/orig.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17
21-
// RUN: %cxx %flags %compile_flags -c %s -o %S/new.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17 -DTEST_NEW
20+
// RUN: %{cxx} %{flags} %{compile_flags} -c %s -o %S/orig.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17
21+
// RUN: %{cxx} %{flags} %{compile_flags} -c %s -o %S/new.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17 -DTEST_NEW
2222

2323
#include <type_traits>
2424
#include <cassert>

libcxx/test/libcxx/utilities/meta/stress_tests/stress_test_metafunctions.sh.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
// __and_: 14,181.851 ms 648 M
2020
//
2121

22-
// RUN: %cxx %flags %compile_flags -c %s -o %S/new.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17
23-
// RUN: %cxx %flags %compile_flags -c %s -o %S/lazy.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17 -DTEST_LAZY_AND
24-
// RUN: %cxx %flags %compile_flags -c %s -o %S/std.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17 -DTEST_STD_AND
22+
// RUN: %{cxx} %{flags} %{compile_flags} -c %s -o %S/new.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17
23+
// RUN: %{cxx} %{flags} %{compile_flags} -c %s -o %S/lazy.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17 -DTEST_LAZY_AND
24+
// RUN: %{cxx} %{flags} %{compile_flags} -c %s -o %S/std.o -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -std=c++17 -DTEST_STD_AND
2525

2626
#include <type_traits>
2727
#include <cassert>

libcxx/test/libcxx/utilities/meta/stress_tests/stress_test_variant_overloads_impl.sh.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
// variant_new: 1,105 ms 828 KiB
2525

2626

27-
// RUN: %cxx %flags %compile_flags -std=c++17 -c %s \
27+
// RUN: %{cxx} %{flags} %{compile_flags} -std=c++17 -c %s \
2828
// RUN: -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -g \
2929
// RUN: -DTEST_NS=flat_impl -o %S/flat.o
30-
// RUN: %cxx %flags %compile_flags -std=c++17 -c %s \
30+
// RUN: %{cxx} %{flags} %{compile_flags} -std=c++17 -c %s \
3131
// RUN: -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -g \
3232
// RUN: -DTEST_NS=rec_impl -o %S/rec.o
33-
// RUN: %cxx %flags %compile_flags -std=c++17 -c %s \
33+
// RUN: %{cxx} %{flags} %{compile_flags} -std=c++17 -c %s \
3434
// RUN: -ggdb -ggnu-pubnames -ftemplate-depth=5000 -ftime-trace -g \
3535
// RUN: -DTEST_NS=variant_impl -o %S/variant.o
3636

libcxx/test/pretty_printers/gdb_pretty_printer_test.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
// UNSUPPORTED: system-windows
1010
// REQUIRES: libcxx_gdb
1111
//
12-
// RUN: %cxx %flags %s -o %t.exe %compile_flags -g %link_flags
12+
// RUN: %{cxx} %{flags} %s -o %t.exe %{compile_flags} -g %{link_flags}
1313
// Ensure locale-independence for unicode tests.
14-
// RUN: %libcxx_gdb -nx -batch -iex "set autoload off" -ex "source %libcxx_src_root/utils/gdb/libcxx/printers.py" -ex "python register_libcxx_printer_loader()" -ex "source %libcxx_src_root/test/pretty_printers/gdb_pretty_printer_test.py" %t.exe
14+
// RUN: %{libcxx_gdb} -nx -batch -iex "set autoload off" -ex "source %{libcxx_src_root}/utils/gdb/libcxx/printers.py" -ex "python register_libcxx_printer_loader()" -ex "source %{libcxx_src_root}/test/pretty_printers/gdb_pretty_printer_test.py" %t.exe
1515

1616
#include <bitset>
1717
#include <deque>

libcxx/test/std/containers/associative/map/PR28469_undefined_behavior_segfault.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// RUN: %build -O2
10-
// RUN: %run
9+
// RUN: %{build} -O2
10+
// RUN: %{run}
1111

1212
// <map>
1313

libcxx/test/std/depr/depr.c.headers/stdint_h.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// _STD_TYPES_T, stdint.h can be entered to get to macros like UINT32_MAX.
1313
//
1414
// REQUIRES: aix
15-
// RUN: %compile -c
16-
// RUN: %compile -c -D_XOPEN_SOURCE=700
15+
// RUN: %{compile} -c
16+
// RUN: %{compile} -c -D_XOPEN_SOURCE=700
1717

1818
// test <stdint.h>
1919
//

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// UNSUPPORTED: clang-3.3, clang-3.4, clang-3.5, clang-3.6, clang-3.7, clang-3.8
1616

1717
// REQUIRES: -faligned-allocation
18-
// RUN: %compile %verify -faligned-allocation
18+
// RUN: %{compile} %{verify} -faligned-allocation
1919

2020
#include <new>
2121

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// UNSUPPORTED: clang-3.3, clang-3.4, clang-3.5, clang-3.6, clang-3.7, clang-3.8
1616

1717
// REQUIRES: -faligned-allocation
18-
// RUN: %compile %verify -faligned-allocation
18+
// RUN: %{compile} %{verify} -faligned-allocation
1919

2020
#include <new>
2121

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_align_nothrow.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// UNSUPPORTED: clang-3.3, clang-3.4, clang-3.5, clang-3.6, clang-3.7, clang-3.8
1616

1717
// REQUIRES: -faligned-allocation
18-
// RUN: %compile %verify -faligned-allocation
18+
// RUN: %{compile} %{verify} -faligned-allocation
1919

2020
#include <new>
2121

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_size_nothrow.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// UNSUPPORTED: clang-3.3, clang-3.4, clang-3.5, clang-3.6, clang-3.7, clang-3.8
1616

1717
// REQUIRES: -faligned-allocation
18-
// RUN: %compile %verify -faligned-allocation
18+
// RUN: %{compile} %{verify} -faligned-allocation
1919

2020
#include <new>
2121

0 commit comments

Comments
 (0)