diff --git a/libcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp b/libcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp --- a/libcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp +++ b/libcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp @@ -16,24 +16,22 @@ BEGIN-SCRIPT for i, header in enumerate(public_headers): - # Skip C compatibility headers. - if header.endswith('.h'): - continue - - vars = { - 'run': 'RUN', - 'i': i, - 'restrictions': ' && ' + header_restrictions[header] if header in header_restrictions else '', - 'header': header - } - - print("""\ -// {run}: %{{build}} -DTEST_{i} -#if defined(TEST_{i}){restrictions} -# include <{header}> - using HandlerType = decltype(std::__libcpp_verbose_abort); -#endif -""".format(**vars)) + print("// {}: echo '%{{build}} -DTEST_{} &' >> %t.sh".format('RUN', i)) + print("// {}: 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: + print("#if defined(TEST_{})".format(i)) + print("# include <{}>".format(header)) + print(" using HandlerType = decltype(std::__libcpp_verbose_abort);") + 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 */ @@ -44,706 +42,971 @@ // DO NOT MANUALLY EDIT ANYTHING BETWEEN THE MARKERS BELOW // GENERATED-MARKER -// RUN: %{build} -DTEST_0 +// RUN: echo '%{build} -DTEST_0 &' >> %t.sh +// RUN: echo 'TEST_0=$!' >> %t.sh #if defined(TEST_0) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_1 +// RUN: echo '%{build} -DTEST_1 &' >> %t.sh +// RUN: echo 'TEST_1=$!' >> %t.sh #if defined(TEST_1) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_2 +// RUN: echo '%{build} -DTEST_2 &' >> %t.sh +// RUN: echo 'TEST_2=$!' >> %t.sh #if defined(TEST_2) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_3 +// RUN: echo '%{build} -DTEST_3 &' >> %t.sh +// RUN: echo 'TEST_3=$!' >> %t.sh #if defined(TEST_3) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_4 +// RUN: echo '%{build} -DTEST_4 &' >> %t.sh +// RUN: echo 'TEST_4=$!' >> %t.sh #if defined(TEST_4) && !defined(_LIBCPP_HAS_NO_THREADS) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_5 +// RUN: echo '%{build} -DTEST_5 &' >> %t.sh +// RUN: echo 'TEST_5=$!' >> %t.sh #if defined(TEST_5) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_6 +// RUN: echo '%{build} -DTEST_6 &' >> %t.sh +// RUN: echo 'TEST_6=$!' >> %t.sh #if defined(TEST_6) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_7 +// RUN: echo '%{build} -DTEST_7 &' >> %t.sh +// RUN: echo 'TEST_7=$!' >> %t.sh #if defined(TEST_7) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_8 +// RUN: echo '%{build} -DTEST_8 &' >> %t.sh +// RUN: echo 'TEST_8=$!' >> %t.sh #if defined(TEST_8) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_9 +// RUN: echo '%{build} -DTEST_9 &' >> %t.sh +// RUN: echo 'TEST_9=$!' >> %t.sh #if defined(TEST_9) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_10 +// RUN: echo '%{build} -DTEST_10 &' >> %t.sh +// RUN: echo 'TEST_10=$!' >> %t.sh #if defined(TEST_10) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_11 +// RUN: echo '%{build} -DTEST_11 &' >> %t.sh +// RUN: echo 'TEST_11=$!' >> %t.sh #if defined(TEST_11) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_12 +// RUN: echo '%{build} -DTEST_12 &' >> %t.sh +// RUN: echo 'TEST_12=$!' >> %t.sh #if defined(TEST_12) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_13 +// RUN: echo '%{build} -DTEST_13 &' >> %t.sh +// RUN: echo 'TEST_13=$!' >> %t.sh #if defined(TEST_13) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_14 +// RUN: echo '%{build} -DTEST_14 &' >> %t.sh +// RUN: echo 'TEST_14=$!' >> %t.sh #if defined(TEST_14) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_15 +// RUN: echo '%{build} -DTEST_15 &' >> %t.sh +// RUN: echo 'TEST_15=$!' >> %t.sh #if defined(TEST_15) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_16 +// RUN: echo '%{build} -DTEST_16 &' >> %t.sh +// RUN: echo 'TEST_16=$!' >> %t.sh +// RUN: echo "wait $TEST_0" >> %t.sh #if defined(TEST_16) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_17 +// RUN: echo '%{build} -DTEST_17 &' >> %t.sh +// RUN: echo 'TEST_17=$!' >> %t.sh +// RUN: echo "wait $TEST_1" >> %t.sh #if defined(TEST_17) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_18 +// RUN: echo '%{build} -DTEST_18 &' >> %t.sh +// RUN: echo 'TEST_18=$!' >> %t.sh +// RUN: echo "wait $TEST_2" >> %t.sh #if defined(TEST_18) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_19 +// RUN: echo '%{build} -DTEST_19 &' >> %t.sh +// RUN: echo 'TEST_19=$!' >> %t.sh +// RUN: echo "wait $TEST_3" >> %t.sh #if defined(TEST_19) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_20 +// RUN: echo '%{build} -DTEST_20 &' >> %t.sh +// RUN: echo 'TEST_20=$!' >> %t.sh +// RUN: echo "wait $TEST_4" >> %t.sh #if defined(TEST_20) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_21 +// RUN: echo '%{build} -DTEST_21 &' >> %t.sh +// RUN: echo 'TEST_21=$!' >> %t.sh +// RUN: echo "wait $TEST_5" >> %t.sh #if defined(TEST_21) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_22 +// RUN: echo '%{build} -DTEST_22 &' >> %t.sh +// RUN: echo 'TEST_22=$!' >> %t.sh +// RUN: echo "wait $TEST_6" >> %t.sh #if defined(TEST_22) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_24 +// RUN: echo '%{build} -DTEST_23 &' >> %t.sh +// RUN: echo 'TEST_23=$!' >> %t.sh +// RUN: echo "wait $TEST_7" >> %t.sh +#if defined(TEST_23) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_24 &' >> %t.sh +// RUN: echo 'TEST_24=$!' >> %t.sh +// RUN: echo "wait $TEST_8" >> %t.sh #if defined(TEST_24) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_25 +// RUN: echo '%{build} -DTEST_25 &' >> %t.sh +// RUN: echo 'TEST_25=$!' >> %t.sh +// RUN: echo "wait $TEST_9" >> %t.sh #if defined(TEST_25) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_26 +// RUN: echo '%{build} -DTEST_26 &' >> %t.sh +// RUN: 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 using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_27 +// RUN: echo '%{build} -DTEST_27 &' >> %t.sh +// RUN: echo 'TEST_27=$!' >> %t.sh +// RUN: echo "wait $TEST_11" >> %t.sh #if defined(TEST_27) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_28 +// RUN: echo '%{build} -DTEST_28 &' >> %t.sh +// RUN: echo 'TEST_28=$!' >> %t.sh +// RUN: echo "wait $TEST_12" >> %t.sh #if defined(TEST_28) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_29 +// RUN: echo '%{build} -DTEST_29 &' >> %t.sh +// RUN: echo 'TEST_29=$!' >> %t.sh +// RUN: echo "wait $TEST_13" >> %t.sh #if defined(TEST_29) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_30 +// RUN: echo '%{build} -DTEST_30 &' >> %t.sh +// RUN: echo 'TEST_30=$!' >> %t.sh +// RUN: echo "wait $TEST_14" >> %t.sh #if defined(TEST_30) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_31 +// RUN: echo '%{build} -DTEST_31 &' >> %t.sh +// RUN: echo 'TEST_31=$!' >> %t.sh +// RUN: echo "wait $TEST_15" >> %t.sh #if defined(TEST_31) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_32 +// RUN: echo '%{build} -DTEST_32 &' >> %t.sh +// RUN: echo 'TEST_32=$!' >> %t.sh +// RUN: echo "wait $TEST_16" >> %t.sh #if defined(TEST_32) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_33 +// RUN: echo '%{build} -DTEST_33 &' >> %t.sh +// RUN: echo 'TEST_33=$!' >> %t.sh +// RUN: echo "wait $TEST_17" >> %t.sh #if defined(TEST_33) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_34 +// RUN: echo '%{build} -DTEST_34 &' >> %t.sh +// RUN: echo 'TEST_34=$!' >> %t.sh +// RUN: echo "wait $TEST_18" >> %t.sh #if defined(TEST_34) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_35 +// RUN: echo '%{build} -DTEST_35 &' >> %t.sh +// RUN: echo 'TEST_35=$!' >> %t.sh +// RUN: echo "wait $TEST_19" >> %t.sh #if defined(TEST_35) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_36 +// RUN: echo '%{build} -DTEST_36 &' >> %t.sh +// RUN: echo 'TEST_36=$!' >> %t.sh +// RUN: echo "wait $TEST_20" >> %t.sh #if defined(TEST_36) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_37 +// RUN: echo '%{build} -DTEST_37 &' >> %t.sh +// RUN: echo 'TEST_37=$!' >> %t.sh +// RUN: echo "wait $TEST_21" >> %t.sh #if defined(TEST_37) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_39 +// RUN: echo '%{build} -DTEST_38 &' >> %t.sh +// RUN: echo 'TEST_38=$!' >> %t.sh +// RUN: echo "wait $TEST_22" >> %t.sh +#if defined(TEST_38) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_39 &' >> %t.sh +// RUN: echo 'TEST_39=$!' >> %t.sh +// RUN: echo "wait $TEST_23" >> %t.sh #if defined(TEST_39) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_40 +// RUN: echo '%{build} -DTEST_40 &' >> %t.sh +// RUN: echo 'TEST_40=$!' >> %t.sh +// RUN: echo "wait $TEST_24" >> %t.sh #if defined(TEST_40) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_41 +// RUN: echo '%{build} -DTEST_41 &' >> %t.sh +// RUN: echo 'TEST_41=$!' >> %t.sh +// RUN: echo "wait $TEST_25" >> %t.sh #if defined(TEST_41) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_42 +// RUN: echo '%{build} -DTEST_42 &' >> %t.sh +// RUN: echo 'TEST_42=$!' >> %t.sh +// RUN: echo "wait $TEST_26" >> %t.sh #if defined(TEST_42) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_44 +// RUN: echo '%{build} -DTEST_43 &' >> %t.sh +// RUN: echo 'TEST_43=$!' >> %t.sh +// RUN: echo "wait $TEST_27" >> %t.sh +#if defined(TEST_43) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_44 &' >> %t.sh +// RUN: echo 'TEST_44=$!' >> %t.sh +// RUN: echo "wait $TEST_28" >> %t.sh #if defined(TEST_44) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_45 +// RUN: echo '%{build} -DTEST_45 &' >> %t.sh +// RUN: echo 'TEST_45=$!' >> %t.sh +// RUN: echo "wait $TEST_29" >> %t.sh #if defined(TEST_45) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_46 +// RUN: echo '%{build} -DTEST_46 &' >> %t.sh +// RUN: echo 'TEST_46=$!' >> %t.sh +// RUN: echo "wait $TEST_30" >> %t.sh #if defined(TEST_46) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_48 +// RUN: echo '%{build} -DTEST_47 &' >> %t.sh +// RUN: echo 'TEST_47=$!' >> %t.sh +// RUN: echo "wait $TEST_31" >> %t.sh +#if defined(TEST_47) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_48 &' >> %t.sh +// RUN: echo 'TEST_48=$!' >> %t.sh +// RUN: echo "wait $TEST_32" >> %t.sh #if defined(TEST_48) && !defined(_LIBCPP_HAS_NO_FILESYSTEM_LIBRARY) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_50 +// RUN: echo '%{build} -DTEST_49 &' >> %t.sh +// RUN: echo 'TEST_49=$!' >> %t.sh +// RUN: echo "wait $TEST_33" >> %t.sh +#if defined(TEST_49) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_50 &' >> %t.sh +// RUN: echo 'TEST_50=$!' >> %t.sh +// RUN: echo "wait $TEST_34" >> %t.sh #if defined(TEST_50) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_51 +// RUN: echo '%{build} -DTEST_51 &' >> %t.sh +// RUN: echo 'TEST_51=$!' >> %t.sh +// RUN: echo "wait $TEST_35" >> %t.sh #if defined(TEST_51) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_52 +// RUN: echo '%{build} -DTEST_52 &' >> %t.sh +// RUN: 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 using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_53 +// RUN: echo '%{build} -DTEST_53 &' >> %t.sh +// RUN: echo 'TEST_53=$!' >> %t.sh +// RUN: echo "wait $TEST_37" >> %t.sh #if defined(TEST_53) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_54 +// RUN: echo '%{build} -DTEST_54 &' >> %t.sh +// RUN: echo 'TEST_54=$!' >> %t.sh +// RUN: echo "wait $TEST_38" >> %t.sh #if defined(TEST_54) && !defined(_LIBCPP_HAS_NO_THREADS) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_55 +// RUN: echo '%{build} -DTEST_55 &' >> %t.sh +// RUN: echo 'TEST_55=$!' >> %t.sh +// RUN: echo "wait $TEST_39" >> %t.sh #if defined(TEST_55) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_57 +// RUN: echo '%{build} -DTEST_56 &' >> %t.sh +// RUN: echo 'TEST_56=$!' >> %t.sh +// RUN: echo "wait $TEST_40" >> %t.sh +#if defined(TEST_56) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_57 &' >> %t.sh +// RUN: echo 'TEST_57=$!' >> %t.sh +// RUN: echo "wait $TEST_41" >> %t.sh #if defined(TEST_57) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_58 +// RUN: echo '%{build} -DTEST_58 &' >> %t.sh +// RUN: echo 'TEST_58=$!' >> %t.sh +// RUN: echo "wait $TEST_42" >> %t.sh #if defined(TEST_58) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_59 +// RUN: echo '%{build} -DTEST_59 &' >> %t.sh +// RUN: echo 'TEST_59=$!' >> %t.sh +// RUN: echo "wait $TEST_43" >> %t.sh #if defined(TEST_59) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_60 +// RUN: echo '%{build} -DTEST_60 &' >> %t.sh +// RUN: echo 'TEST_60=$!' >> %t.sh +// RUN: echo "wait $TEST_44" >> %t.sh #if defined(TEST_60) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_61 +// RUN: echo '%{build} -DTEST_61 &' >> %t.sh +// RUN: echo 'TEST_61=$!' >> %t.sh +// RUN: echo "wait $TEST_45" >> %t.sh #if defined(TEST_61) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_62 +// RUN: echo '%{build} -DTEST_62 &' >> %t.sh +// RUN: echo 'TEST_62=$!' >> %t.sh +// RUN: echo "wait $TEST_46" >> %t.sh #if defined(TEST_62) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_63 +// RUN: echo '%{build} -DTEST_63 &' >> %t.sh +// RUN: echo 'TEST_63=$!' >> %t.sh +// RUN: echo "wait $TEST_47" >> %t.sh #if defined(TEST_63) && !defined(_LIBCPP_HAS_NO_THREADS) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_64 +// RUN: echo '%{build} -DTEST_64 &' >> %t.sh +// RUN: echo 'TEST_64=$!' >> %t.sh +// RUN: echo "wait $TEST_48" >> %t.sh #if defined(TEST_64) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_66 +// RUN: echo '%{build} -DTEST_65 &' >> %t.sh +// RUN: echo 'TEST_65=$!' >> %t.sh +// RUN: echo "wait $TEST_49" >> %t.sh +#if defined(TEST_65) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_66 &' >> %t.sh +// RUN: echo 'TEST_66=$!' >> %t.sh +// RUN: echo "wait $TEST_50" >> %t.sh #if defined(TEST_66) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_67 +// RUN: echo '%{build} -DTEST_67 &' >> %t.sh +// RUN: echo 'TEST_67=$!' >> %t.sh +// RUN: echo "wait $TEST_51" >> %t.sh #if defined(TEST_67) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_69 +// RUN: echo '%{build} -DTEST_68 &' >> %t.sh +// RUN: echo 'TEST_68=$!' >> %t.sh +// RUN: echo "wait $TEST_52" >> %t.sh +#if defined(TEST_68) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_69 &' >> %t.sh +// RUN: echo 'TEST_69=$!' >> %t.sh +// RUN: echo "wait $TEST_53" >> %t.sh #if defined(TEST_69) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_71 +// RUN: echo '%{build} -DTEST_70 &' >> %t.sh +// RUN: echo 'TEST_70=$!' >> %t.sh +// RUN: echo "wait $TEST_54" >> %t.sh +#if defined(TEST_70) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_71 &' >> %t.sh +// RUN: echo 'TEST_71=$!' >> %t.sh +// RUN: echo "wait $TEST_55" >> %t.sh #if defined(TEST_71) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_72 +// RUN: echo '%{build} -DTEST_72 &' >> %t.sh +// RUN: echo 'TEST_72=$!' >> %t.sh +// RUN: echo "wait $TEST_56" >> %t.sh #if defined(TEST_72) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_73 +// RUN: echo '%{build} -DTEST_73 &' >> %t.sh +// RUN: echo 'TEST_73=$!' >> %t.sh +// RUN: echo "wait $TEST_57" >> %t.sh #if defined(TEST_73) && !defined(_LIBCPP_HAS_NO_THREADS) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_74 +// RUN: echo '%{build} -DTEST_74 &' >> %t.sh +// RUN: echo 'TEST_74=$!' >> %t.sh +// RUN: echo "wait $TEST_58" >> %t.sh #if defined(TEST_74) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_75 +// RUN: echo '%{build} -DTEST_75 &' >> %t.sh +// RUN: echo 'TEST_75=$!' >> %t.sh +// RUN: echo "wait $TEST_59" >> %t.sh #if defined(TEST_75) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_76 +// RUN: echo '%{build} -DTEST_76 &' >> %t.sh +// RUN: echo 'TEST_76=$!' >> %t.sh +// RUN: echo "wait $TEST_60" >> %t.sh #if defined(TEST_76) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_77 +// RUN: echo '%{build} -DTEST_77 &' >> %t.sh +// RUN: echo 'TEST_77=$!' >> %t.sh +// RUN: echo "wait $TEST_61" >> %t.sh #if defined(TEST_77) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_78 +// RUN: echo '%{build} -DTEST_78 &' >> %t.sh +// RUN: echo 'TEST_78=$!' >> %t.sh +// RUN: echo "wait $TEST_62" >> %t.sh #if defined(TEST_78) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_79 +// RUN: echo '%{build} -DTEST_79 &' >> %t.sh +// RUN: echo 'TEST_79=$!' >> %t.sh +// RUN: echo "wait $TEST_63" >> %t.sh #if defined(TEST_79) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_80 +// RUN: echo '%{build} -DTEST_80 &' >> %t.sh +// RUN: echo 'TEST_80=$!' >> %t.sh +// RUN: echo "wait $TEST_64" >> %t.sh #if defined(TEST_80) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_81 +// RUN: echo '%{build} -DTEST_81 &' >> %t.sh +// RUN: echo 'TEST_81=$!' >> %t.sh +// RUN: echo "wait $TEST_65" >> %t.sh #if defined(TEST_81) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_82 +// RUN: echo '%{build} -DTEST_82 &' >> %t.sh +// RUN: echo 'TEST_82=$!' >> %t.sh +// RUN: echo "wait $TEST_66" >> %t.sh #if defined(TEST_82) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_83 +// RUN: echo '%{build} -DTEST_83 &' >> %t.sh +// RUN: echo 'TEST_83=$!' >> %t.sh +// RUN: echo "wait $TEST_67" >> %t.sh #if defined(TEST_83) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_84 +// RUN: echo '%{build} -DTEST_84 &' >> %t.sh +// RUN: echo 'TEST_84=$!' >> %t.sh +// RUN: echo "wait $TEST_68" >> %t.sh #if defined(TEST_84) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_85 +// RUN: echo '%{build} -DTEST_85 &' >> %t.sh +// RUN: echo 'TEST_85=$!' >> %t.sh +// RUN: echo "wait $TEST_69" >> %t.sh #if defined(TEST_85) && !defined(_LIBCPP_HAS_NO_THREADS) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_86 +// RUN: echo '%{build} -DTEST_86 &' >> %t.sh +// RUN: echo 'TEST_86=$!' >> %t.sh +// RUN: echo "wait $TEST_70" >> %t.sh #if defined(TEST_86) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_88 +// RUN: echo '%{build} -DTEST_87 &' >> %t.sh +// RUN: echo 'TEST_87=$!' >> %t.sh +// RUN: echo "wait $TEST_71" >> %t.sh +#if defined(TEST_87) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_88 &' >> %t.sh +// RUN: echo 'TEST_88=$!' >> %t.sh +// RUN: echo "wait $TEST_72" >> %t.sh #if defined(TEST_88) && !defined(_LIBCPP_HAS_NO_THREADS) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_89 +// RUN: echo '%{build} -DTEST_89 &' >> %t.sh +// RUN: echo 'TEST_89=$!' >> %t.sh +// RUN: echo "wait $TEST_73" >> %t.sh #if defined(TEST_89) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_90 +// RUN: echo '%{build} -DTEST_90 &' >> %t.sh +// RUN: echo 'TEST_90=$!' >> %t.sh +// RUN: echo "wait $TEST_74" >> %t.sh #if defined(TEST_90) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_91 +// RUN: echo '%{build} -DTEST_91 &' >> %t.sh +// RUN: echo 'TEST_91=$!' >> %t.sh +// RUN: echo "wait $TEST_75" >> %t.sh #if defined(TEST_91) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_92 +// RUN: echo '%{build} -DTEST_92 &' >> %t.sh +// RUN: echo 'TEST_92=$!' >> %t.sh +// RUN: echo "wait $TEST_76" >> %t.sh #if defined(TEST_92) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_96 +// RUN: echo '%{build} -DTEST_93 &' >> %t.sh +// RUN: echo 'TEST_93=$!' >> %t.sh +// RUN: echo "wait $TEST_77" >> %t.sh +#if defined(TEST_93) && __cplusplus > 202002L && !defined(_LIBCPP_HAS_NO_THREADS) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_94 &' >> %t.sh +// RUN: echo 'TEST_94=$!' >> %t.sh +// RUN: echo "wait $TEST_78" >> %t.sh +#if defined(TEST_94) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_95 &' >> %t.sh +// RUN: echo 'TEST_95=$!' >> %t.sh +// RUN: echo "wait $TEST_79" >> %t.sh +#if defined(TEST_95) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_96 &' >> %t.sh +// RUN: echo 'TEST_96=$!' >> %t.sh +// RUN: echo "wait $TEST_80" >> %t.sh #if defined(TEST_96) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_100 +// RUN: echo '%{build} -DTEST_97 &' >> %t.sh +// RUN: echo 'TEST_97=$!' >> %t.sh +// RUN: echo "wait $TEST_81" >> %t.sh +#if defined(TEST_97) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_98 &' >> %t.sh +// RUN: echo 'TEST_98=$!' >> %t.sh +// RUN: echo "wait $TEST_82" >> %t.sh +#if defined(TEST_98) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_99 &' >> %t.sh +// RUN: echo 'TEST_99=$!' >> %t.sh +// RUN: echo "wait $TEST_83" >> %t.sh +#if defined(TEST_99) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_100 &' >> %t.sh +// RUN: echo 'TEST_100=$!' >> %t.sh +// RUN: echo "wait $TEST_84" >> %t.sh #if defined(TEST_100) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_101 +// RUN: echo '%{build} -DTEST_101 &' >> %t.sh +// RUN: echo 'TEST_101=$!' >> %t.sh +// RUN: echo "wait $TEST_85" >> %t.sh #if defined(TEST_101) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_103 +// RUN: echo '%{build} -DTEST_102 &' >> %t.sh +// RUN: echo 'TEST_102=$!' >> %t.sh +// RUN: echo "wait $TEST_86" >> %t.sh +#if defined(TEST_102) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_103 &' >> %t.sh +// RUN: echo 'TEST_103=$!' >> %t.sh +// RUN: echo "wait $TEST_87" >> %t.sh #if defined(TEST_103) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_104 +// RUN: echo '%{build} -DTEST_104 &' >> %t.sh +// RUN: echo 'TEST_104=$!' >> %t.sh +// RUN: echo "wait $TEST_88" >> %t.sh #if defined(TEST_104) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_105 +// RUN: echo '%{build} -DTEST_105 &' >> %t.sh +// RUN: echo 'TEST_105=$!' >> %t.sh +// RUN: echo "wait $TEST_89" >> %t.sh #if defined(TEST_105) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_107 +// RUN: echo '%{build} -DTEST_106 &' >> %t.sh +// RUN: echo 'TEST_106=$!' >> %t.sh +// RUN: echo "wait $TEST_90" >> %t.sh +#if defined(TEST_106) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_107 &' >> %t.sh +// RUN: echo 'TEST_107=$!' >> %t.sh +// RUN: echo "wait $TEST_91" >> %t.sh #if defined(TEST_107) && !defined(_LIBCPP_HAS_NO_THREADS) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_108 +// RUN: echo '%{build} -DTEST_108 &' >> %t.sh +// RUN: echo 'TEST_108=$!' >> %t.sh +// RUN: echo "wait $TEST_92" >> %t.sh #if defined(TEST_108) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_109 +// RUN: echo '%{build} -DTEST_109 &' >> %t.sh +// RUN: echo 'TEST_109=$!' >> %t.sh +// RUN: echo "wait $TEST_93" >> %t.sh #if defined(TEST_109) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_110 +// RUN: echo '%{build} -DTEST_110 &' >> %t.sh +// RUN: echo 'TEST_110=$!' >> %t.sh +// RUN: echo "wait $TEST_94" >> %t.sh #if defined(TEST_110) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_111 +// RUN: echo '%{build} -DTEST_111 &' >> %t.sh +// RUN: echo 'TEST_111=$!' >> %t.sh +// RUN: echo "wait $TEST_95" >> %t.sh #if defined(TEST_111) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_113 +// RUN: echo '%{build} -DTEST_112 &' >> %t.sh +// RUN: echo 'TEST_112=$!' >> %t.sh +// RUN: echo "wait $TEST_96" >> %t.sh +#if defined(TEST_112) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_113 &' >> %t.sh +// RUN: echo 'TEST_113=$!' >> %t.sh +// RUN: echo "wait $TEST_97" >> %t.sh #if defined(TEST_113) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_114 +// RUN: echo '%{build} -DTEST_114 &' >> %t.sh +// RUN: echo 'TEST_114=$!' >> %t.sh +// RUN: echo "wait $TEST_98" >> %t.sh #if defined(TEST_114) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_115 +// RUN: echo '%{build} -DTEST_115 &' >> %t.sh +// RUN: echo 'TEST_115=$!' >> %t.sh +// RUN: echo "wait $TEST_99" >> %t.sh #if defined(TEST_115) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_116 +// RUN: echo '%{build} -DTEST_116 &' >> %t.sh +// RUN: echo 'TEST_116=$!' >> %t.sh +// RUN: echo "wait $TEST_100" >> %t.sh #if defined(TEST_116) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_117 +// RUN: echo '%{build} -DTEST_117 &' >> %t.sh +// RUN: echo 'TEST_117=$!' >> %t.sh +// RUN: echo "wait $TEST_101" >> %t.sh #if defined(TEST_117) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_118 +// RUN: echo '%{build} -DTEST_118 &' >> %t.sh +// RUN: echo 'TEST_118=$!' >> %t.sh +// RUN: echo "wait $TEST_102" >> %t.sh #if defined(TEST_118) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_119 +// RUN: echo '%{build} -DTEST_119 &' >> %t.sh +// RUN: echo 'TEST_119=$!' >> %t.sh +// RUN: echo "wait $TEST_103" >> %t.sh #if defined(TEST_119) # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_122 +// RUN: echo '%{build} -DTEST_120 &' >> %t.sh +// RUN: echo 'TEST_120=$!' >> %t.sh +// RUN: echo "wait $TEST_104" >> %t.sh +#if defined(TEST_120) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_121 &' >> %t.sh +// RUN: echo 'TEST_121=$!' >> %t.sh +// RUN: echo "wait $TEST_105" >> %t.sh +#if defined(TEST_121) && !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) +# include + using HandlerType = decltype(std::__libcpp_verbose_abort); +#endif +// RUN: echo '%{build} -DTEST_122 &' >> %t.sh +// RUN: echo 'TEST_122=$!' >> %t.sh +// RUN: echo "wait $TEST_106" >> %t.sh #if defined(TEST_122) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_123 +// RUN: echo '%{build} -DTEST_123 &' >> %t.sh +// RUN: echo 'TEST_123=$!' >> %t.sh +// RUN: echo "wait $TEST_107" >> %t.sh #if defined(TEST_123) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_124 +// RUN: echo '%{build} -DTEST_124 &' >> %t.sh +// RUN: echo 'TEST_124=$!' >> %t.sh +// RUN: echo "wait $TEST_108" >> %t.sh #if defined(TEST_124) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_125 +// RUN: echo '%{build} -DTEST_125 &' >> %t.sh +// RUN: echo 'TEST_125=$!' >> %t.sh +// RUN: echo "wait $TEST_109" >> %t.sh #if defined(TEST_125) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_126 +// RUN: echo '%{build} -DTEST_126 &' >> %t.sh +// RUN: echo 'TEST_126=$!' >> %t.sh +// RUN: echo "wait $TEST_110" >> %t.sh #if defined(TEST_126) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_127 +// RUN: echo '%{build} -DTEST_127 &' >> %t.sh +// RUN: echo 'TEST_127=$!' >> %t.sh +// RUN: echo "wait $TEST_111" >> %t.sh #if defined(TEST_127) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_128 +// RUN: echo '%{build} -DTEST_128 &' >> %t.sh +// RUN: echo 'TEST_128=$!' >> %t.sh +// RUN: echo "wait $TEST_112" >> %t.sh #if defined(TEST_128) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_129 +// RUN: echo '%{build} -DTEST_129 &' >> %t.sh +// RUN: echo 'TEST_129=$!' >> %t.sh +// RUN: echo "wait $TEST_113" >> %t.sh #if defined(TEST_129) && !defined(_LIBCPP_HAS_NO_LOCALIZATION) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_130 +// RUN: echo '%{build} -DTEST_130 &' >> %t.sh +// RUN: echo 'TEST_130=$!' >> %t.sh +// RUN: echo "wait $TEST_114" >> %t.sh #if defined(TEST_130) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_131 +// RUN: echo '%{build} -DTEST_131 &' >> %t.sh +// RUN: echo 'TEST_131=$!' >> %t.sh +// RUN: echo "wait $TEST_115" >> %t.sh #if defined(TEST_131) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_132 +// RUN: echo '%{build} -DTEST_132 &' >> %t.sh +// RUN: echo 'TEST_132=$!' >> %t.sh +// RUN: echo "wait $TEST_116" >> %t.sh #if defined(TEST_132) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_133 +// RUN: echo '%{build} -DTEST_133 &' >> %t.sh +// RUN: echo 'TEST_133=$!' >> %t.sh +// RUN: echo "wait $TEST_117" >> %t.sh #if defined(TEST_133) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_134 +// RUN: echo '%{build} -DTEST_134 &' >> %t.sh +// RUN: echo 'TEST_134=$!' >> %t.sh +// RUN: echo "wait $TEST_118" >> %t.sh #if defined(TEST_134) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_135 +// RUN: echo '%{build} -DTEST_135 &' >> %t.sh +// RUN: echo 'TEST_135=$!' >> %t.sh +// RUN: echo "wait $TEST_119" >> %t.sh #if defined(TEST_135) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_136 +// RUN: echo '%{build} -DTEST_136 &' >> %t.sh +// RUN: echo 'TEST_136=$!' >> %t.sh +// RUN: echo "wait $TEST_120" >> %t.sh #if defined(TEST_136) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - -// RUN: %{build} -DTEST_137 +// RUN: echo '%{build} -DTEST_137 &' >> %t.sh +// RUN: echo 'TEST_137=$!' >> %t.sh +// RUN: echo "wait $TEST_121" >> %t.sh #if defined(TEST_137) && __cplusplus >= 201103L # include using HandlerType = decltype(std::__libcpp_verbose_abort); #endif - +// RUN: echo "wait $TEST_122" >> %t.sh +// RUN: echo "wait $TEST_123" >> %t.sh +// RUN: echo "wait $TEST_124" >> %t.sh +// RUN: echo "wait $TEST_125" >> %t.sh +// 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: bash %t.sh // GENERATED-MARKER diff --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml --- a/libcxx/utils/ci/buildkite-pipeline.yml +++ b/libcxx/utils/ci/buildkite-pipeline.yml @@ -27,104 +27,6 @@ LLVM_HEAD_VERSION: "17" GCC_STABLE_VERSION: "12" steps: - # - # Light pre-commit tests for things like formatting or when people forget - # to update generated files. - # - - label: "Format" - command: "libcxx/utils/ci/run-buildbot check-format" - artifact_paths: - - "**/clang-format.patch" - env: - GIT_CLANG_FORMAT: "/usr/bin/git-clang-format-${LLVM_STABLE_VERSION} --binary clang-format-${LLVM_STABLE_VERSION}" - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Generated output" - command: "libcxx/utils/ci/run-buildbot check-generated-output" - artifact_paths: - - "**/generated_output.patch" - - "**/generated_output.status" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - CLANG_FORMAT: "/usr/bin/clang-format-${LLVM_STABLE_VERSION}" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Documentation" - command: "libcxx/utils/ci/run-buildbot documentation" - artifact_paths: - - "**/test-results.xml" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # - # General testing with the default configuration, under all the supported - # Standard modes, with Clang and GCC. This catches most issues upfront. - # The goal of this step is to catch most issues while being very fast. - # - - wait - - - label: "GCC ${GCC_STABLE_VERSION} / C++latest" - command: "libcxx/utils/ci/run-buildbot generic-gcc" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "gcc-${GCC_STABLE_VERSION}" - CXX: "g++-${GCC_STABLE_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "C++2b" - command: "libcxx/utils/ci/run-buildbot generic-cxx2b" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - label: "Modular build" command: "libcxx/utils/ci/run-buildbot generic-modules" artifact_paths: @@ -142,905 +44,3 @@ - exit_status: -1 # Agent was lost limit: 2 timeout_in_minutes: 120 - - - label: "C++11" - command: "libcxx/utils/ci/run-buildbot generic-cxx11" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "C++03" - command: "libcxx/utils/ci/run-buildbot generic-cxx03" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # - # All other supported configurations of libc++. - # - - wait - - - label: "C++20" - command: "libcxx/utils/ci/run-buildbot generic-cxx20" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "C++17" - command: "libcxx/utils/ci/run-buildbot generic-cxx17" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "C++14" - command: "libcxx/utils/ci/run-buildbot generic-cxx14" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # Tests with the supported compilers. - - label: "GCC ${GCC_STABLE_VERSION} / C++11" - command: "libcxx/utils/ci/run-buildbot generic-gcc-cxx11" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "gcc-${GCC_STABLE_VERSION}" - CXX: "g++-${GCC_STABLE_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Clang 15" - command: "libcxx/utils/ci/run-buildbot generic-cxx2b" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-15" - CXX: "clang++-15" - # TODO LLVM18: Enable clang-tidy - # ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Clang 16" - command: "libcxx/utils/ci/run-buildbot generic-cxx2b" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-16" - CXX: "clang++-16" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # Tests with the sanitizers. - - group: "Sanitizers" - steps: - - label: "ASAN" - command: "libcxx/utils/ci/run-buildbot generic-asan" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "TSAN" - command: "libcxx/utils/ci/run-buildbot generic-tsan" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "UBSAN" - command: "libcxx/utils/ci/run-buildbot generic-ubsan" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "MSAN" - command: "libcxx/utils/ci/run-buildbot generic-msan" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # Tests with the various supported ways to build libc++. - - label: "Bootstrapping build" - command: "libcxx/utils/ci/run-buildbot bootstrapping-build" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - - "**/crash_diagnostics/*" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}" - CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # Tests with various build configurations. - - label: "Static libraries" - command: "libcxx/utils/ci/run-buildbot generic-static" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Shared library with merged ABI and unwinder libraries" - command: "libcxx/utils/ci/run-buildbot generic-merged" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Assertions enabled" - command: "libcxx/utils/ci/run-buildbot generic-assertions" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Debug mode" - command: "libcxx/utils/ci/run-buildbot generic-debug-mode" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "With LLVM's libunwind" - command: "libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Modular build with Local Submodule Visibility" - command: "libcxx/utils/ci/run-buildbot generic-modules-lsv" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - group: "Parts disabled" - steps: - - label: "No threads" - command: "libcxx/utils/ci/run-buildbot generic-no-threads" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "No filesystem" - command: "libcxx/utils/ci/run-buildbot generic-no-filesystem" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "No random device" - command: "libcxx/utils/ci/run-buildbot generic-no-random_device" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "No fstream" - command: "libcxx/utils/ci/run-buildbot generic-no-fstream" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "No locale" - command: "libcxx/utils/ci/run-buildbot generic-no-localization" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "No Unicode" - command: "libcxx/utils/ci/run-buildbot generic-no-unicode" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "No wide characters" - command: "libcxx/utils/ci/run-buildbot generic-no-wide-characters" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "No experimental features" - command: "libcxx/utils/ci/run-buildbot generic-no-experimental" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "No exceptions" - command: "libcxx/utils/ci/run-buildbot generic-noexceptions" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Unstable ABI" - command: "libcxx/utils/ci/run-buildbot generic-abi-unstable" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # Other non-testing CI jobs - - label: "Benchmarks" - command: "libcxx/utils/ci/run-buildbot benchmarks" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang-${LLVM_HEAD_VERSION}" - CXX: "clang++-${LLVM_HEAD_VERSION}" - ENABLE_CLANG_TIDY: "On" - agents: - queue: "libcxx-builders" - os: "linux" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # Tests on non-Unix platforms - - group: ":windows: Windows" - steps: - - label: "Clang-cl (DLL)" - command: "bash libcxx/utils/ci/run-buildbot clang-cl-dll" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "windows" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Clang-cl (Static)" - command: "bash libcxx/utils/ci/run-buildbot clang-cl-static" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "windows" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Clang-cl (no vcruntime exceptions)" - command: "bash libcxx/utils/ci/run-buildbot clang-cl-no-vcruntime" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "windows" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - - - label: "MinGW (DLL, x86_64)" - command: "bash libcxx/utils/ci/run-buildbot mingw-dll" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "windows" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "MinGW (Static, x86_64)" - command: "bash libcxx/utils/ci/run-buildbot mingw-static" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "windows" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "MinGW (DLL, i686)" - command: "bash libcxx/utils/ci/run-buildbot mingw-dll-i686" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "windows" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - group: ":apple: Apple" - steps: - - label: "MacOS x86_64" - command: "libcxx/utils/ci/run-buildbot generic-cxx20" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders" - os: "macos" - arch: "x86_64" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "MacOS arm64" - command: "libcxx/utils/ci/run-buildbot generic-cxx20" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders" - os: "macos" - arch: "arm64" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "MacOS with Modules" - command: "libcxx/utils/ci/run-buildbot generic-modules" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders" - os: "macos" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # Build with the configuration we use to generate libc++.dylib on Apple platforms - - label: "Apple system" - command: "libcxx/utils/ci/run-buildbot apple-system" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders" - os: "macos" - arch: "arm64" # This can technically run on any architecture, but we have more resources on arm64 so we pin this job to arm64 - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - # Test back-deployment to older Apple platforms - - label: "Apple back-deployment macosx10.9" - command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-10.9" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders" - os: "macos" - arch: "x86_64" # We need to use x86_64 for back-deployment CI on this target since macOS didn't support arm64 back then. - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Apple back-deployment macosx10.15" - command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-10.15" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders" - os: "macos" - arch: "x86_64" # We need to use x86_64 for back-deployment CI on this target since macOS didn't support arm64 back then. - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Apple back-deployment macosx11.0 arm64" - command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-11.0" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders" - os: "macos" - arch: "arm64" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Apple back-deployment with assertions enabled" - command: "libcxx/utils/ci/run-buildbot apple-system-backdeployment-assertions-11.0" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders" - os: "macos" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - group: "ARM" - steps: - - label: "AArch64" - command: "libcxx/utils/ci/run-buildbot aarch64" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders-linaro-arm" - arch: "aarch64" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "AArch64 -fno-exceptions" - command: "libcxx/utils/ci/run-buildbot aarch64-noexceptions" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders-linaro-arm" - arch: "aarch64" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Armv8" - command: "libcxx/utils/ci/run-buildbot armv8" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders-linaro-arm" - arch: "armv8l" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Armv8 -fno-exceptions" - command: "libcxx/utils/ci/run-buildbot armv8-noexceptions" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders-linaro-arm" - arch: "armv8l" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Armv7" - command: "libcxx/utils/ci/run-buildbot armv7" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders-linaro-arm" - arch: "armv8l" # Compiling for v7, running on v8 hardware - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "Armv7 -fno-exceptions" - command: "libcxx/utils/ci/run-buildbot armv7-noexceptions" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - agents: - queue: "libcxx-builders-linaro-arm" - arch: "armv8l" # Compiling for v7, running on v8 hardware - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - group: "AIX" - steps: - - label: "AIX (32-bit)" - command: "libcxx/utils/ci/run-buildbot aix" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang" - CXX: "clang++" - OBJECT_MODE: "32" - agents: - queue: libcxx-builders - os: aix - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - label: "AIX (64-bit)" - command: "libcxx/utils/ci/run-buildbot aix" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang" - CXX: "clang++" - OBJECT_MODE: "64" - agents: - queue: libcxx-builders - os: aix - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120 - - - group: "FreeBSD" - steps: - - label: "FreeBSD 13 amd64" - command: "libcxx/utils/ci/run-buildbot generic-cxx2b" - artifact_paths: - - "**/test-results.xml" - - "**/*.abilist" - env: - CC: "clang15" - CXX: "clang++15" - agents: - queue: "libcxx-builders" - os: "freebsd" - retry: - automatic: - - exit_status: -1 # Agent was lost - limit: 2 - timeout_in_minutes: 120