diff --git a/libcxx/test/libcxx/modules_include.sh.cpp b/libcxx/test/libcxx/modules_include.sh.cpp --- a/libcxx/test/libcxx/modules_include.sh.cpp +++ b/libcxx/test/libcxx/modules_include.sh.cpp @@ -35,7 +35,10 @@ BEGIN-SCRIPT for i, header in enumerate(public_headers): - print("// {}: %{{cxx}} %s %{{flags}} %{{compile_flags}} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_{}".format('RUN', i)) + print("// {}: bash -c 'echo %{{cxx}} %s %{{flags}} %{{compile_flags}} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_{} \&' >> %t.sh".format('RUN', i)) + print("// {}: bash -c 'echo \"TEST_{}=\\$!\"' >> %t.sh".format('RUN', i)) + if i >= 16: + print("// {}: echo \"wait $TEST_{}\" >> %t.sh".format('RUN', i - 16)) if header in header_restrictions: print("#if defined(TEST_{}) && {}".format(i, header_restrictions[header])) else: @@ -43,580 +46,871 @@ print("#include <{}>".format(header)) print("#endif") +for i in range(len(public_headers))[-16:]: + print("// {}: echo \"wait $TEST_{}\" >> %t.sh".format('RUN', i)) + +print("// {}: bash %t.sh".format('RUN')) + END-SCRIPT */ +// RUN: echo "" > %t.sh // RUN: rm -rf %t // RUN: mkdir %t // DO NOT MANUALLY EDIT ANYTHING BETWEEN THE MARKERS BELOW // GENERATED-MARKER -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_0 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_0 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_0=\$!"' >> %t.sh #if defined(TEST_0) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_1 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_1 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_1=\$!"' >> %t.sh #if defined(TEST_1) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_2 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_2 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_2=\$!"' >> %t.sh #if defined(TEST_2) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_3 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_3 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_3=\$!"' >> %t.sh #if defined(TEST_3) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_4 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_4 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_4=\$!"' >> %t.sh #if defined(TEST_4) && !defined(_LIBCPP_HAS_NO_THREADS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_5 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_5 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_5=\$!"' >> %t.sh #if defined(TEST_5) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_6 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_6 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_6=\$!"' >> %t.sh #if defined(TEST_6) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_7 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_7 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_7=\$!"' >> %t.sh #if defined(TEST_7) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_8 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_8 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_8=\$!"' >> %t.sh #if defined(TEST_8) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_9 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_9 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_9=\$!"' >> %t.sh #if defined(TEST_9) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_10 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_10 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_10=\$!"' >> %t.sh #if defined(TEST_10) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_11 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_11 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_11=\$!"' >> %t.sh #if defined(TEST_11) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_12 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_12 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_12=\$!"' >> %t.sh #if defined(TEST_12) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_13 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_13 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_13=\$!"' >> %t.sh #if defined(TEST_13) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_14 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_14 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_14=\$!"' >> %t.sh #if defined(TEST_14) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_15 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_15 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_15=\$!"' >> %t.sh #if defined(TEST_15) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_16 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_16 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_16=\$!"' >> %t.sh +// RUN: echo "wait $TEST_0" >> %t.sh #if defined(TEST_16) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_17 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_17 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_17=\$!"' >> %t.sh +// RUN: echo "wait $TEST_1" >> %t.sh #if defined(TEST_17) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_18 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_18 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_18=\$!"' >> %t.sh +// RUN: echo "wait $TEST_2" >> %t.sh #if defined(TEST_18) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_19 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_19 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_19=\$!"' >> %t.sh +// RUN: echo "wait $TEST_3" >> %t.sh #if defined(TEST_19) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_20 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_20 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_20=\$!"' >> %t.sh +// RUN: echo "wait $TEST_4" >> %t.sh #if defined(TEST_20) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_21 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_21 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_21=\$!"' >> %t.sh +// RUN: echo "wait $TEST_5" >> %t.sh #if defined(TEST_21) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_22 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_22 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_22=\$!"' >> %t.sh +// RUN: echo "wait $TEST_6" >> %t.sh #if defined(TEST_22) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_23 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_23 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_23=\$!"' >> %t.sh +// RUN: echo "wait $TEST_7" >> %t.sh #if defined(TEST_23) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_24 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_24 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_24=\$!"' >> %t.sh +// RUN: echo "wait $TEST_8" >> %t.sh #if defined(TEST_24) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_25 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_25 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_25=\$!"' >> %t.sh +// RUN: echo "wait $TEST_9" >> %t.sh #if defined(TEST_25) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_26 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_26 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_26=\$!"' >> %t.sh +// RUN: echo "wait $TEST_10" >> %t.sh #if defined(TEST_26) && (defined(__cpp_impl_coroutine) && __cpp_impl_coroutine >= 201902L) || (defined(__cpp_coroutines) && __cpp_coroutines >= 201703L) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_27 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_27 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_27=\$!"' >> %t.sh +// RUN: echo "wait $TEST_11" >> %t.sh #if defined(TEST_27) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_28 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_28 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_28=\$!"' >> %t.sh +// RUN: echo "wait $TEST_12" >> %t.sh #if defined(TEST_28) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_29 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_29 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_29=\$!"' >> %t.sh +// RUN: echo "wait $TEST_13" >> %t.sh #if defined(TEST_29) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_30 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_30 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_30=\$!"' >> %t.sh +// RUN: echo "wait $TEST_14" >> %t.sh #if defined(TEST_30) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_31 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_31 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_31=\$!"' >> %t.sh +// RUN: echo "wait $TEST_15" >> %t.sh #if defined(TEST_31) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_32 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_32 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_32=\$!"' >> %t.sh +// RUN: echo "wait $TEST_16" >> %t.sh #if defined(TEST_32) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_33 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_33 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_33=\$!"' >> %t.sh +// RUN: echo "wait $TEST_17" >> %t.sh #if defined(TEST_33) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_34 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_34 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_34=\$!"' >> %t.sh +// RUN: echo "wait $TEST_18" >> %t.sh #if defined(TEST_34) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_35 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_35 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_35=\$!"' >> %t.sh +// RUN: echo "wait $TEST_19" >> %t.sh #if defined(TEST_35) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_36 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_36 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_36=\$!"' >> %t.sh +// RUN: echo "wait $TEST_20" >> %t.sh #if defined(TEST_36) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_37 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_37 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_37=\$!"' >> %t.sh +// RUN: echo "wait $TEST_21" >> %t.sh #if defined(TEST_37) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_38 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_38 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_38=\$!"' >> %t.sh +// RUN: echo "wait $TEST_22" >> %t.sh #if defined(TEST_38) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_39 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_39 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_39=\$!"' >> %t.sh +// RUN: echo "wait $TEST_23" >> %t.sh #if defined(TEST_39) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_40 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_40 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_40=\$!"' >> %t.sh +// RUN: echo "wait $TEST_24" >> %t.sh #if defined(TEST_40) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_41 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_41 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_41=\$!"' >> %t.sh +// RUN: echo "wait $TEST_25" >> %t.sh #if defined(TEST_41) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_42 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_42 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_42=\$!"' >> %t.sh +// RUN: echo "wait $TEST_26" >> %t.sh #if defined(TEST_42) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_43 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_43 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_43=\$!"' >> %t.sh +// RUN: echo "wait $TEST_27" >> %t.sh #if defined(TEST_43) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_44 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_44 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_44=\$!"' >> %t.sh +// RUN: echo "wait $TEST_28" >> %t.sh #if defined(TEST_44) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_45 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_45 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_45=\$!"' >> %t.sh +// RUN: echo "wait $TEST_29" >> %t.sh #if defined(TEST_45) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_46 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_46 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_46=\$!"' >> %t.sh +// RUN: echo "wait $TEST_30" >> %t.sh #if defined(TEST_46) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_47 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_47 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_47=\$!"' >> %t.sh +// RUN: echo "wait $TEST_31" >> %t.sh #if defined(TEST_47) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_48 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_48 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_48=\$!"' >> %t.sh +// RUN: echo "wait $TEST_32" >> %t.sh #if defined(TEST_48) && !defined(_LIBCPP_HAS_NO_FILESYSTEM_LIBRARY) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_49 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_49 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_49=\$!"' >> %t.sh +// RUN: echo "wait $TEST_33" >> %t.sh #if defined(TEST_49) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_50 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_50 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_50=\$!"' >> %t.sh +// RUN: echo "wait $TEST_34" >> %t.sh #if defined(TEST_50) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_51 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_51 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_51=\$!"' >> %t.sh +// RUN: echo "wait $TEST_35" >> %t.sh #if defined(TEST_51) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_52 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_52 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_52=\$!"' >> %t.sh +// RUN: echo "wait $TEST_36" >> %t.sh #if defined(TEST_52) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) && !defined(_LIBCPP_HAS_NO_FSTREAM) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_53 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_53 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_53=\$!"' >> %t.sh +// RUN: echo "wait $TEST_37" >> %t.sh #if defined(TEST_53) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_54 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_54 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_54=\$!"' >> %t.sh +// RUN: echo "wait $TEST_38" >> %t.sh #if defined(TEST_54) && !defined(_LIBCPP_HAS_NO_THREADS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_55 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_55 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_55=\$!"' >> %t.sh +// RUN: echo "wait $TEST_39" >> %t.sh #if defined(TEST_55) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_56 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_56 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_56=\$!"' >> %t.sh +// RUN: echo "wait $TEST_40" >> %t.sh #if defined(TEST_56) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_57 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_57 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_57=\$!"' >> %t.sh +// RUN: echo "wait $TEST_41" >> %t.sh #if defined(TEST_57) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_58 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_58 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_58=\$!"' >> %t.sh +// RUN: echo "wait $TEST_42" >> %t.sh #if defined(TEST_58) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_59 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_59 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_59=\$!"' >> %t.sh +// RUN: echo "wait $TEST_43" >> %t.sh #if defined(TEST_59) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_60 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_60 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_60=\$!"' >> %t.sh +// RUN: echo "wait $TEST_44" >> %t.sh #if defined(TEST_60) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_61 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_61 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_61=\$!"' >> %t.sh +// RUN: echo "wait $TEST_45" >> %t.sh #if defined(TEST_61) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_62 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_62 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_62=\$!"' >> %t.sh +// RUN: echo "wait $TEST_46" >> %t.sh #if defined(TEST_62) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_63 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_63 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_63=\$!"' >> %t.sh +// RUN: echo "wait $TEST_47" >> %t.sh #if defined(TEST_63) && !defined(_LIBCPP_HAS_NO_THREADS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_64 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_64 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_64=\$!"' >> %t.sh +// RUN: echo "wait $TEST_48" >> %t.sh #if defined(TEST_64) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_65 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_65 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_65=\$!"' >> %t.sh +// RUN: echo "wait $TEST_49" >> %t.sh #if defined(TEST_65) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_66 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_66 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_66=\$!"' >> %t.sh +// RUN: echo "wait $TEST_50" >> %t.sh #if defined(TEST_66) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_67 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_67 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_67=\$!"' >> %t.sh +// RUN: echo "wait $TEST_51" >> %t.sh #if defined(TEST_67) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_68 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_68 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_68=\$!"' >> %t.sh +// RUN: echo "wait $TEST_52" >> %t.sh #if defined(TEST_68) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_69 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_69 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_69=\$!"' >> %t.sh +// RUN: echo "wait $TEST_53" >> %t.sh #if defined(TEST_69) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_70 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_70 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_70=\$!"' >> %t.sh +// RUN: echo "wait $TEST_54" >> %t.sh #if defined(TEST_70) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_71 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_71 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_71=\$!"' >> %t.sh +// RUN: echo "wait $TEST_55" >> %t.sh #if defined(TEST_71) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_72 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_72 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_72=\$!"' >> %t.sh +// RUN: echo "wait $TEST_56" >> %t.sh #if defined(TEST_72) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_73 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_73 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_73=\$!"' >> %t.sh +// RUN: echo "wait $TEST_57" >> %t.sh #if defined(TEST_73) && !defined(_LIBCPP_HAS_NO_THREADS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_74 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_74 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_74=\$!"' >> %t.sh +// RUN: echo "wait $TEST_58" >> %t.sh #if defined(TEST_74) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_75 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_75 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_75=\$!"' >> %t.sh +// RUN: echo "wait $TEST_59" >> %t.sh #if defined(TEST_75) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_76 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_76 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_76=\$!"' >> %t.sh +// RUN: echo "wait $TEST_60" >> %t.sh #if defined(TEST_76) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_77 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_77 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_77=\$!"' >> %t.sh +// RUN: echo "wait $TEST_61" >> %t.sh #if defined(TEST_77) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_78 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_78 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_78=\$!"' >> %t.sh +// RUN: echo "wait $TEST_62" >> %t.sh #if defined(TEST_78) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_79 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_79 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_79=\$!"' >> %t.sh +// RUN: echo "wait $TEST_63" >> %t.sh #if defined(TEST_79) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_80 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_80 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_80=\$!"' >> %t.sh +// RUN: echo "wait $TEST_64" >> %t.sh #if defined(TEST_80) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_81 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_81 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_81=\$!"' >> %t.sh +// RUN: echo "wait $TEST_65" >> %t.sh #if defined(TEST_81) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_82 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_82 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_82=\$!"' >> %t.sh +// RUN: echo "wait $TEST_66" >> %t.sh #if defined(TEST_82) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_83 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_83 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_83=\$!"' >> %t.sh +// RUN: echo "wait $TEST_67" >> %t.sh #if defined(TEST_83) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_84 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_84 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_84=\$!"' >> %t.sh +// RUN: echo "wait $TEST_68" >> %t.sh #if defined(TEST_84) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_85 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_85 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_85=\$!"' >> %t.sh +// RUN: echo "wait $TEST_69" >> %t.sh #if defined(TEST_85) && !defined(_LIBCPP_HAS_NO_THREADS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_86 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_86 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_86=\$!"' >> %t.sh +// RUN: echo "wait $TEST_70" >> %t.sh #if defined(TEST_86) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_87 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_87 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_87=\$!"' >> %t.sh +// RUN: echo "wait $TEST_71" >> %t.sh #if defined(TEST_87) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_88 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_88 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_88=\$!"' >> %t.sh +// RUN: echo "wait $TEST_72" >> %t.sh #if defined(TEST_88) && !defined(_LIBCPP_HAS_NO_THREADS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_89 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_89 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_89=\$!"' >> %t.sh +// RUN: echo "wait $TEST_73" >> %t.sh #if defined(TEST_89) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_90 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_90 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_90=\$!"' >> %t.sh +// RUN: echo "wait $TEST_74" >> %t.sh #if defined(TEST_90) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_91 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_91 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_91=\$!"' >> %t.sh +// RUN: echo "wait $TEST_75" >> %t.sh #if defined(TEST_91) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_92 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_92 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_92=\$!"' >> %t.sh +// RUN: echo "wait $TEST_76" >> %t.sh #if defined(TEST_92) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_93 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_93 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_93=\$!"' >> %t.sh +// RUN: echo "wait $TEST_77" >> %t.sh #if defined(TEST_93) && __cplusplus > 202002L && !defined(_LIBCPP_HAS_NO_THREADS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_94 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_94 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_94=\$!"' >> %t.sh +// RUN: echo "wait $TEST_78" >> %t.sh #if defined(TEST_94) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_95 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_95 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_95=\$!"' >> %t.sh +// RUN: echo "wait $TEST_79" >> %t.sh #if defined(TEST_95) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_96 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_96 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_96=\$!"' >> %t.sh +// RUN: echo "wait $TEST_80" >> %t.sh #if defined(TEST_96) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_97 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_97 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_97=\$!"' >> %t.sh +// RUN: echo "wait $TEST_81" >> %t.sh #if defined(TEST_97) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_98 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_98 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_98=\$!"' >> %t.sh +// RUN: echo "wait $TEST_82" >> %t.sh #if defined(TEST_98) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_99 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_99 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_99=\$!"' >> %t.sh +// RUN: echo "wait $TEST_83" >> %t.sh #if defined(TEST_99) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_100 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_100 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_100=\$!"' >> %t.sh +// RUN: echo "wait $TEST_84" >> %t.sh #if defined(TEST_100) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_101 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_101 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_101=\$!"' >> %t.sh +// RUN: echo "wait $TEST_85" >> %t.sh #if defined(TEST_101) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_102 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_102 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_102=\$!"' >> %t.sh +// RUN: echo "wait $TEST_86" >> %t.sh #if defined(TEST_102) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_103 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_103 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_103=\$!"' >> %t.sh +// RUN: echo "wait $TEST_87" >> %t.sh #if defined(TEST_103) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_104 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_104 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_104=\$!"' >> %t.sh +// RUN: echo "wait $TEST_88" >> %t.sh #if defined(TEST_104) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_105 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_105 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_105=\$!"' >> %t.sh +// RUN: echo "wait $TEST_89" >> %t.sh #if defined(TEST_105) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_106 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_106 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_106=\$!"' >> %t.sh +// RUN: echo "wait $TEST_90" >> %t.sh #if defined(TEST_106) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_107 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_107 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_107=\$!"' >> %t.sh +// RUN: echo "wait $TEST_91" >> %t.sh #if defined(TEST_107) && !defined(_LIBCPP_HAS_NO_THREADS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_108 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_108 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_108=\$!"' >> %t.sh +// RUN: echo "wait $TEST_92" >> %t.sh #if defined(TEST_108) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_109 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_109 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_109=\$!"' >> %t.sh +// RUN: echo "wait $TEST_93" >> %t.sh #if defined(TEST_109) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_110 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_110 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_110=\$!"' >> %t.sh +// RUN: echo "wait $TEST_94" >> %t.sh #if defined(TEST_110) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_111 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_111 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_111=\$!"' >> %t.sh +// RUN: echo "wait $TEST_95" >> %t.sh #if defined(TEST_111) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_112 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_112 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_112=\$!"' >> %t.sh +// RUN: echo "wait $TEST_96" >> %t.sh #if defined(TEST_112) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_113 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_113 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_113=\$!"' >> %t.sh +// RUN: echo "wait $TEST_97" >> %t.sh #if defined(TEST_113) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_114 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_114 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_114=\$!"' >> %t.sh +// RUN: echo "wait $TEST_98" >> %t.sh #if defined(TEST_114) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_115 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_115 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_115=\$!"' >> %t.sh +// RUN: echo "wait $TEST_99" >> %t.sh #if defined(TEST_115) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_116 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_116 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_116=\$!"' >> %t.sh +// RUN: echo "wait $TEST_100" >> %t.sh #if defined(TEST_116) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_117 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_117 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_117=\$!"' >> %t.sh +// RUN: echo "wait $TEST_101" >> %t.sh #if defined(TEST_117) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_118 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_118 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_118=\$!"' >> %t.sh +// RUN: echo "wait $TEST_102" >> %t.sh #if defined(TEST_118) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_119 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_119 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_119=\$!"' >> %t.sh +// RUN: echo "wait $TEST_103" >> %t.sh #if defined(TEST_119) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_120 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_120 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_120=\$!"' >> %t.sh +// RUN: echo "wait $TEST_104" >> %t.sh #if defined(TEST_120) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_121 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_121 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_121=\$!"' >> %t.sh +// RUN: echo "wait $TEST_105" >> %t.sh #if defined(TEST_121) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_122 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_122 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_122=\$!"' >> %t.sh +// RUN: echo "wait $TEST_106" >> %t.sh #if defined(TEST_122) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_123 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_123 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_123=\$!"' >> %t.sh +// RUN: echo "wait $TEST_107" >> %t.sh #if defined(TEST_123) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_124 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_124 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_124=\$!"' >> %t.sh +// RUN: echo "wait $TEST_108" >> %t.sh #if defined(TEST_124) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_125 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_125 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_125=\$!"' >> %t.sh +// RUN: echo "wait $TEST_109" >> %t.sh #if defined(TEST_125) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_126 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_126 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_126=\$!"' >> %t.sh +// RUN: echo "wait $TEST_110" >> %t.sh #if defined(TEST_126) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_127 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_127 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_127=\$!"' >> %t.sh +// RUN: echo "wait $TEST_111" >> %t.sh #if defined(TEST_127) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_128 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_128 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_128=\$!"' >> %t.sh +// RUN: echo "wait $TEST_112" >> %t.sh #if defined(TEST_128) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_129 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_129 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_129=\$!"' >> %t.sh +// RUN: echo "wait $TEST_113" >> %t.sh #if defined(TEST_129) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_130 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_130 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_130=\$!"' >> %t.sh +// RUN: echo "wait $TEST_114" >> %t.sh #if defined(TEST_130) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_131 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_131 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_131=\$!"' >> %t.sh +// RUN: echo "wait $TEST_115" >> %t.sh #if defined(TEST_131) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_132 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_132 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_132=\$!"' >> %t.sh +// RUN: echo "wait $TEST_116" >> %t.sh #if defined(TEST_132) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_133 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_133 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_133=\$!"' >> %t.sh +// RUN: echo "wait $TEST_117" >> %t.sh #if defined(TEST_133) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_134 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_134 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_134=\$!"' >> %t.sh +// RUN: echo "wait $TEST_118" >> %t.sh #if defined(TEST_134) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_135 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_135 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_135=\$!"' >> %t.sh +// RUN: echo "wait $TEST_119" >> %t.sh #if defined(TEST_135) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_136 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_136 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_136=\$!"' >> %t.sh +// RUN: echo "wait $TEST_120" >> %t.sh #if defined(TEST_136) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_137 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_137 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_137=\$!"' >> %t.sh +// RUN: echo "wait $TEST_121" >> %t.sh #if defined(TEST_137) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_138 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_138 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_138=\$!"' >> %t.sh +// RUN: echo "wait $TEST_122" >> %t.sh #if defined(TEST_138) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_139 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_139 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_139=\$!"' >> %t.sh +// RUN: echo "wait $TEST_123" >> %t.sh #if defined(TEST_139) && __cplusplus >= 201103L #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_140 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_140 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_140=\$!"' >> %t.sh +// RUN: echo "wait $TEST_124" >> %t.sh #if defined(TEST_140) #include #endif -// RUN: %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_141 +// RUN: bash -c 'echo %{cxx} %s %{flags} %{compile_flags} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only -DTEST_141 \&' >> %t.sh +// RUN: bash -c 'echo "TEST_141=\$!"' >> %t.sh +// RUN: echo "wait $TEST_125" >> %t.sh #if defined(TEST_141) #include #endif +// RUN: echo "wait $TEST_126" >> %t.sh +// RUN: echo "wait $TEST_127" >> %t.sh +// RUN: echo "wait $TEST_128" >> %t.sh +// RUN: echo "wait $TEST_129" >> %t.sh +// RUN: echo "wait $TEST_130" >> %t.sh +// RUN: echo "wait $TEST_131" >> %t.sh +// RUN: echo "wait $TEST_132" >> %t.sh +// RUN: echo "wait $TEST_133" >> %t.sh +// RUN: echo "wait $TEST_134" >> %t.sh +// RUN: echo "wait $TEST_135" >> %t.sh +// RUN: echo "wait $TEST_136" >> %t.sh +// RUN: echo "wait $TEST_137" >> %t.sh +// RUN: echo "wait $TEST_138" >> %t.sh +// RUN: echo "wait $TEST_139" >> %t.sh +// RUN: echo "wait $TEST_140" >> %t.sh +// RUN: echo "wait $TEST_141" >> %t.sh +// RUN: bash %t.sh // GENERATED-MARKER