From 37ba2d4300b8369f1a29165f126ce6013d701b71 Mon Sep 17 00:00:00 2001 From: Wesley Maxey <71408887+wmaxey@users.noreply.github.com> Date: Tue, 14 Nov 2023 07:00:26 -0800 Subject: [PATCH] Backport PR #1075 (#1100) * [backport] Cherry-pick PR #1075 to branch/2.3.x manually * [backport] Move PTX tests that missed the symlink PR #1098 --- .../.upstream-tests/cmake/caches/Apple.cmake | 15 - .../docs/DesignDocs/ExperimentalFeatures.rst | 203 --- .../docs/DesignDocs/ExtendedCXX03Support.rst | 118 -- .../gdb_pretty_printer_test.py | 112 -- .../gdb_pretty_printer_test.sh.cpp | 643 ------- libcudacxx/.upstream-tests/utils/cat_files.py | 45 - .../utils/ci/macos-backdeployment.sh | 145 -- .../.upstream-tests/utils/ci/macos-trunk.sh | 132 -- .../utils/docker/debian9/Dockerfile.base | 46 - .../utils/docker/debian9/Dockerfile.buildbot | 26 - .../utils/docker/debian9/Dockerfile.clang | 19 - .../docker/debian9/Dockerfile.compiler_zoo | 35 - .../utils/docker/debian9/Dockerfile.gcc | 18 - .../utils/docker/docker-compose.yml | 46 - .../utils/docker/scripts/build_gcc_version.sh | 108 -- .../docker/scripts/build_llvm_version.sh | 106 -- .../docker/scripts/docker_start_buildbots.sh | 8 - .../utils/docker/scripts/docker_update_bot.sh | 32 - .../docker/scripts/install_clang_packages.sh | 81 - .../utils/docker/scripts/run_buildbot.sh | 110 -- .../utils/gdb/libcxx/printers.py | 996 ----------- .../.upstream-tests/utils/gen_link_script.py | 58 - .../generate_feature_test_macro_components.py | 998 ----------- .../utils/google-benchmark/.clang-format | 5 - .../utils/google-benchmark/.gitignore | 58 - .../google-benchmark/.travis-libcxx-setup.sh | 28 - .../utils/google-benchmark/.travis.yml | 199 --- .../utils/google-benchmark/.ycm_extra_conf.py | 115 -- .../utils/google-benchmark/AUTHORS | 48 - .../utils/google-benchmark/CMakeLists.txt | 267 --- .../utils/google-benchmark/CONTRIBUTING.md | 58 - .../utils/google-benchmark/CONTRIBUTORS | 68 - .../utils/google-benchmark/LICENSE | 202 --- .../utils/google-benchmark/README.LLVM | 16 - .../utils/google-benchmark/README.md | 998 ----------- .../utils/google-benchmark/WORKSPACE | 7 - .../utils/google-benchmark/appveyor.yml | 50 - .../cmake/AddCXXCompilerFlag.cmake | 74 - .../cmake/CXXFeatureCheck.cmake | 64 - .../google-benchmark/cmake/Config.cmake.in | 1 - .../cmake/GetGitVersion.cmake | 54 - .../google-benchmark/cmake/HandleGTest.cmake | 113 -- .../google-benchmark/cmake/benchmark.pc.in | 11 - .../cmake/gnu_posix_regex.cpp | 12 - .../cmake/llvm-toolchain.cmake | 8 - .../google-benchmark/cmake/posix_regex.cpp | 14 - .../google-benchmark/cmake/split_list.cmake | 3 - .../google-benchmark/cmake/std_regex.cpp | 10 - .../google-benchmark/cmake/steady_clock.cpp | 7 - .../cmake/thread_safety_attributes.cpp | 4 - .../google-benchmark/docs/AssemblyTests.md | 147 -- .../utils/google-benchmark/docs/tools.md | 199 --- .../include/benchmark/benchmark.h | 1551 ----------------- .../utils/google-benchmark/mingw.py | 320 ---- .../utils/google-benchmark/releasing.md | 16 - .../utils/google-benchmark/src/CMakeLists.txt | 108 -- .../utils/google-benchmark/src/arraysize.h | 33 - .../utils/google-benchmark/src/benchmark.cc | 493 ------ .../src/benchmark_api_internal.cc | 15 - .../src/benchmark_api_internal.h | 52 - .../google-benchmark/src/benchmark_main.cc | 17 - .../src/benchmark_register.cc | 482 ----- .../google-benchmark/src/benchmark_register.h | 33 - .../google-benchmark/src/benchmark_runner.cc | 350 ---- .../google-benchmark/src/benchmark_runner.h | 51 - .../utils/google-benchmark/src/check.h | 82 - .../utils/google-benchmark/src/colorprint.cc | 188 -- .../utils/google-benchmark/src/colorprint.h | 33 - .../google-benchmark/src/commandlineflags.cc | 218 --- .../google-benchmark/src/commandlineflags.h | 79 - .../utils/google-benchmark/src/complexity.cc | 228 --- .../utils/google-benchmark/src/complexity.h | 55 - .../google-benchmark/src/console_reporter.cc | 180 -- .../utils/google-benchmark/src/counter.cc | 75 - .../utils/google-benchmark/src/counter.h | 26 - .../google-benchmark/src/csv_reporter.cc | 153 -- .../utils/google-benchmark/src/cycleclock.h | 192 -- .../google-benchmark/src/internal_macros.h | 92 - .../google-benchmark/src/json_reporter.cc | 220 --- .../utils/google-benchmark/src/log.h | 74 - .../utils/google-benchmark/src/mutex.h | 155 -- .../utils/google-benchmark/src/re.h | 158 -- .../utils/google-benchmark/src/reporter.cc | 105 -- .../utils/google-benchmark/src/sleep.cc | 51 - .../utils/google-benchmark/src/sleep.h | 15 - .../utils/google-benchmark/src/statistics.cc | 190 -- .../utils/google-benchmark/src/statistics.h | 37 - .../utils/google-benchmark/src/string_util.cc | 261 --- .../utils/google-benchmark/src/string_util.h | 60 - .../utils/google-benchmark/src/sysinfo.cc | 650 ------- .../google-benchmark/src/thread_manager.h | 64 - .../utils/google-benchmark/src/thread_timer.h | 69 - .../utils/google-benchmark/src/timers.cc | 217 --- .../utils/google-benchmark/src/timers.h | 48 - .../google-benchmark/test/AssemblyTests.cmake | 46 - .../google-benchmark/test/CMakeLists.txt | 260 --- .../utils/google-benchmark/test/basic_test.cc | 136 -- .../google-benchmark/test/benchmark_gtest.cc | 33 - .../google-benchmark/test/benchmark_test.cc | 245 --- .../test/clobber_memory_assembly_test.cc | 64 - .../google-benchmark/test/complexity_test.cc | 183 -- .../utils/google-benchmark/test/cxx03_test.cc | 63 - .../google-benchmark/test/diagnostics_test.cc | 80 - .../test/display_aggregates_only_test.cc | 43 - .../test/donotoptimize_assembly_test.cc | 163 -- .../test/donotoptimize_test.cc | 52 - .../google-benchmark/test/filter_test.cc | 104 -- .../google-benchmark/test/fixture_test.cc | 49 - .../google-benchmark/test/link_main_test.cc | 8 - .../utils/google-benchmark/test/map_test.cc | 57 - .../test/memory_manager_test.cc | 42 - .../test/multiple_ranges_test.cc | 97 -- .../google-benchmark/test/options_test.cc | 65 - .../utils/google-benchmark/test/output_test.h | 213 --- .../test/output_test_helper.cc | 505 ------ .../test/register_benchmark_test.cc | 184 -- .../test/report_aggregates_only_test.cc | 39 - .../test/reporter_output_test.cc | 604 ------- .../test/skip_with_error_test.cc | 189 -- .../test/state_assembly_test.cc | 68 - .../google-benchmark/test/statistics_gtest.cc | 28 - .../test/string_util_gtest.cc | 146 -- .../test/templated_fixture_test.cc | 28 - .../test/user_counters_tabular_test.cc | 268 --- .../test/user_counters_test.cc | 408 ----- .../test/user_counters_thousands_test.cc | 161 -- .../utils/google-benchmark/tools/compare.py | 408 ----- .../tools/gbench/Inputs/test1_run1.json | 102 -- .../tools/gbench/Inputs/test1_run2.json | 102 -- .../tools/gbench/Inputs/test2_run.json | 81 - .../tools/gbench/Inputs/test3_run0.json | 65 - .../tools/gbench/Inputs/test3_run1.json | 65 - .../google-benchmark/tools/gbench/__init__.py | 8 - .../google-benchmark/tools/gbench/report.py | 522 ------ .../google-benchmark/tools/gbench/util.py | 164 -- .../utils/google-benchmark/tools/strip_asm.py | 151 -- .../.upstream-tests/utils/merge_archives.py | 155 -- libcudacxx/.upstream-tests/utils/not.py | 51 - .../attach_cuda_driver_to_docker_image.bash | 44 - .../docker/build_and_run_docker_image.bash | 16 - .../linux/docker/build_base_docker_image.bash | 45 - .../clear_docker_containers_and_images.bash | 7 - .../nvidia/linux/docker/configuration.bash | 57 - .../docker/export_base_docker_image.bash | 24 - ...e_docker_image_and_attach_cuda_driver.bash | 30 - ...tach_cuda_driver_and_run_docker_image.bash | 13 - .../nvidia/linux/docker/run_docker_image.bash | 38 - .../utils/nvidia/linux/perform_tests.bash | 372 ---- libcudacxx/.upstream-tests/utils/sym_diff.py | 72 - .../.upstream-tests/utils/sym_extract.py | 54 - libcudacxx/.upstream-tests/utils/sym_match.py | 50 - .../symcheck-blacklists/linux_blacklist.txt | 19 - .../symcheck-blacklists/osx_blacklist.txt | 19 - libcudacxx/CMakeLists.txt | 7 +- libcudacxx/test | 1 - .../{.upstream-tests => test}/.clang-format | 0 .../{.upstream-tests => test}/.gitignore | 0 libcudacxx/test/CMakeLists.txt | 10 + .../{.upstream-tests => test}/CREDITS.TXT | 0 .../{.upstream-tests => test}/LICENSE.TXT | 0 .../{.upstream-tests => test}/NOTES.TXT | 0 libcudacxx/{.upstream-tests => test}/TODO.TXT | 0 .../test => test/libcudacxx}/CMakeLists.txt | 16 +- .../annotated_ptr/access_property.pass.cpp | 0 .../access_property_explicit.fail.cpp | 0 .../cuda/annotated_ptr/annotated_ptr.pass.cpp | 0 .../annotated_ptr_bench.pass.cpp | 0 .../annotated_ptr_constructors.pass.cpp | 0 .../annotated_ptr/annotated_ptr_ctor.fail.cpp | 0 .../annotated_ptr_host_constructor.fail.cpp | 0 .../annotated_ptr_host_shared.fail.cpp | 0 .../annotated_ptr_neg_tests.fail.cpp | 0 .../annotated_ptr_shmem.pass.cpp | 0 .../apply_access_property.pass.cpp | 0 .../associate_access_property.pass.cpp | 0 .../annotated_ptr/discard_memory.pass.cpp | 0 .../cuda/annotated_ptr/memcpy_async.pass.cpp | 0 .../libcudacxx}/cuda/annotated_ptr/utils.h | 0 .../atomics/atomic.ext/atomic_fetch.fail.cpp | 0 .../atomic.ext/atomic_fetch_max.pass.cpp | 0 .../atomic.ext/atomic_fetch_min.pass.cpp | 0 .../cuda/atomics/atomic.ext/atomic_helpers.h | 0 .../atomics/atomic.ext/nothing_to_do.pass.cpp | 0 .../cuda/bad_atomic_alignment.pass.cpp | 0 .../libcudacxx}/cuda/barrier/arrive_tx.h | 0 .../barrier/arrive_tx_cluster.runfail.cpp | 0 .../cuda/barrier/arrive_tx_cta.pass.cpp | 0 .../cuda/barrier/arrive_tx_device.runfail.cpp | 0 .../barrier/arrive_tx_feature_test.pass.cpp | 0 ...arrive_tx_static_asserts_pre_sm90.fail.cpp | 0 .../cuda/barrier/arrive_tx_thread.pass.cpp | 0 .../cuda/barrier/arrive_tx_warp.pass.cpp | 0 .../cuda/barrier/cp_async_bulk.pass.cpp | 0 .../cp_async_bulk_feature_test.pass.cpp | 0 .../cp_async_bulk_ptx_compiles.pass.cpp | 0 .../barrier/cp_async_bulk_tensor.pass.cpp | 0 .../barrier/cp_async_bulk_tensor_1d.pass.cpp | 0 .../barrier/cp_async_bulk_tensor_2d.pass.cpp | 0 .../barrier/cp_async_bulk_tensor_3d.pass.cpp | 0 .../barrier/cp_async_bulk_tensor_4d.pass.cpp | 0 .../barrier/cp_async_bulk_tensor_5d.pass.cpp | 0 .../barrier/cp_async_bulk_tensor_generic.h | 0 .../cuda/barrier/expect_tx_cta.pass.cpp | 0 .../cuda/barrier/expect_tx_device.runfail.cpp | 0 .../cuda/barrier/expect_tx_thread.pass.cpp | 0 .../cuda/barrier/expect_tx_warp.pass.cpp | 0 .../libcudacxx}/cuda/barrier/init.pass.cpp | 0 .../cuda/barrier/native_handle.pass.cpp | 0 .../cuda/chrono/from_time_t.pass.cpp | 0 .../cuda/chrono/to_time_t.pass.cpp | 0 .../complex_interop/complex.assign.pass.cpp | 0 .../complex_interop/complex.comp.pass.cpp | 0 .../complex_interop/complex.cons.pass.cpp | 0 .../complex_interop/complex.conv.pass.cpp | 0 .../libcudacxx}/cuda/large_type.h | 0 .../libcudacxx}/cuda/memcpy_async.h | 0 .../cuda/memcpy_async/group_memcpy_async.h | 0 .../group_memcpy_async_16b.pass.cpp | 0 .../group_memcpy_async_32b.pass.cpp | 0 .../group_memcpy_async_64b.pass.cpp | 0 .../memcpy_async/memcpy_async_tx.pass.cpp | 0 .../libcudacxx}/cuda/memcpy_async_16.pass.cpp | 0 .../libcudacxx}/cuda/memcpy_async_32.pass.cpp | 0 .../libcudacxx}/cuda/memcpy_async_64.pass.cpp | 0 .../libcudacxx}/cuda/memcpy_async_8.pass.cpp | 0 .../cuda/memcpy_async_large.pass.cpp | 0 .../get_property/forward_property.pass.cpp | 0 .../get_property/get_property.pass.cpp | 0 .../get_property/has_property.pass.cpp | 0 .../async_resource_ref.allocate.pass.cpp | 0 .../async_resource_ref.construction.pass.cpp | 0 .../async_resource_ref.conversion.pass.cpp | 0 .../async_resource_ref.equality.fail.cpp | 0 .../async_resource_ref.equality.pass.cpp | 0 .../async_resource_ref.inheritance.pass.cpp | 0 .../async_resource_ref.properties.pass.cpp | 0 .../async_resource.pass.cpp | 0 .../async_resource_with.pass.cpp | 0 .../resource.pass.cpp | 0 .../resource_with.pass.cpp | 0 .../resource_ref.allocate.pass.cpp | 0 .../resource_ref.construction.pass.cpp | 0 .../resource_ref.conversion.pass.cpp | 0 .../resource_ref.equality.fail.cpp | 0 .../resource_ref.equality.pass.cpp | 0 .../resource_ref.inheritance.pass.cpp | 0 .../resource_ref.properties.pass.cpp | 0 .../cuda/pair_interop/pair.assign.pass.cpp | 0 .../cuda/pair_interop/pair.cons.pass.cpp | 0 .../cuda/pair_interop/pair.conv.pass.cpp | 0 .../cuda/pipeline_arrive_on.pass.cpp | 0 .../cuda/pipeline_arrive_on_abi_v2.pass.cpp | 0 .../cuda/pipeline_divergent_threads.pass.cpp | 0 .../libcudacxx}/cuda/pipeline_group_concept.h | 0 ..._group_concept_thread_scope_block.pass.cpp | 0 ...group_concept_thread_scope_device.pass.cpp | 0 ...group_concept_thread_scope_system.pass.cpp | 0 ...ne_memcpy_async_producer_consumer.pass.cpp | 0 ...emcpy_async_thread_scope_block_16.pass.cpp | 0 ...emcpy_async_thread_scope_block_32.pass.cpp | 0 ...emcpy_async_thread_scope_block_64.pass.cpp | 0 ...memcpy_async_thread_scope_block_8.pass.cpp | 0 ...ync_thread_scope_block_large_type.pass.cpp | 0 ...mcpy_async_thread_scope_device_16.pass.cpp | 0 ...mcpy_async_thread_scope_device_32.pass.cpp | 0 ...mcpy_async_thread_scope_device_64.pass.cpp | 0 ...emcpy_async_thread_scope_device_8.pass.cpp | 0 ...nc_thread_scope_device_large_type.pass.cpp | 0 ...peline_memcpy_async_thread_scope_generic.h | 0 ...mcpy_async_thread_scope_system_16.pass.cpp | 0 ...mcpy_async_thread_scope_system_32.pass.cpp | 0 ...mcpy_async_thread_scope_system_64.pass.cpp | 0 ...emcpy_async_thread_scope_system_8.pass.cpp | 0 ...nc_thread_scope_system_large_type.pass.cpp | 0 ...ipeline_memcpy_async_thread_scope_thread.h | 0 ...mcpy_async_thread_scope_thread_16.pass.cpp | 0 ...mcpy_async_thread_scope_thread_32.pass.cpp | 0 ...emcpy_async_thread_scope_thread_8.pass.cpp | 0 ...nc_thread_scope_thread_large_type.pass.cpp | 0 .../cuda/proclaim_return_type.fail.cpp | 0 .../cuda/proclaim_return_type.pass.cpp | 0 .../ptx/ptx.mbarrier.arrive.compile.pass.cpp | 0 .../cuda/ptx/ptx.red.async.compile.pass.cpp | 0 .../cuda/ptx/ptx.st.async.compile.pass.cpp | 0 .../stream_ref.constructor.pass.cpp | 0 .../stream_ref/stream_ref.equality.pass.cpp | 0 .../cuda/stream_ref/stream_ref.get.pass.cpp | 0 .../cuda/stream_ref/stream_ref.ready.pass.cpp | 0 .../cuda/stream_ref/stream_ref.wait.pass.cpp | 0 .../libcudacxx}/cuda/test_platform.pass.cpp | 0 .../cuda/test_platform_cpp03.pass.cpp | 0 .../tuple/forward_as_tuple_interop.pass.cpp | 0 .../libcudacxx}/cuda/version.pass.cpp | 0 .../test => test/libcudacxx}/force_include.h | 0 .../libcudacxx}/heterogeneous/atomic.pass.cpp | 0 .../heterogeneous/atomic_flag.pass.cpp | 0 .../heterogeneous/atomic_ref.pass.cpp | 0 .../heterogeneous/barrier.pass.cpp | 0 .../heterogeneous/barrier_abi_v2.pass.cpp | 0 .../barrier_parity.cuda.pass.cpp | 0 .../heterogeneous/barrier_parity.std.pass.cpp | 0 .../heterogeneous/cuda_atomic_ref.pass.cpp | 0 .../libcudacxx}/heterogeneous/helpers.h | 0 .../libcudacxx}/heterogeneous/latch.pass.cpp | 0 .../heterogeneous/latch_abi_v2.pass.cpp | 0 .../heterogeneous/nothing_to_do.pass.cpp | 0 .../heterogeneous/optional.pass.cpp | 0 .../libcudacxx}/heterogeneous/pair.pass.cpp | 0 .../heterogeneous/semaphore.pass.cpp | 0 .../libcudacxx}/heterogeneous/tuple.pass.cpp | 0 .../atomics/atomics.align/align.pass.sh.cpp | 0 .../atomics/atomics.flag/init_bool.pass.cpp | 0 .../memory_order.underlying_type.pass.cpp | 0 .../diagnose_invalid_memory_order.fail.cpp | 0 .../atomics/libcpp-has-no-threads.fail.cpp | 0 .../atomics/libcpp-has-no-threads.pass.cpp | 0 .../libcxx/atomics/version.pass.cpp | 0 .../bounded_iter/arithmetic.pass.cpp | 0 .../bounded_iter/comparison.pass.cpp | 0 .../bounded_iter/dereference.pass.cpp | 0 .../bounded_iter/pointer_traits.pass.cpp | 0 .../bounded_iter/types.compile.pass.cpp | 0 .../libcxx/libcpp_alignof.pass.cpp | 0 .../is_constant_evaluated.pass.cpp | 0 ..._implicitly_default_constructible.pass.cpp | 0 .../libcxx/type_traits/is_pointer.arc.pass.mm | 0 .../type_traits/lazy_metafunctions.pass.cpp | 0 .../abi_bug_cxx03_cxx11_example.sh.cpp | 0 .../utilities/meta/is_referenceable.pass.cpp | 0 .../__has_operator_addressof.pass.cpp | 0 .../libcxx/utilities/meta/meta_base.pass.cpp | 0 .../stress_tests/stress_test_is_same.sh.cpp | 0 .../stress_test_metafunctions.sh.cpp | 0 .../stress_test_variant_overloads_impl.sh.cpp | 0 .../libcxx/utilities/meta/version.pass.cpp | 0 .../test => test/libcudacxx}/lit.cfg | 0 .../test => test/libcudacxx}/lit.site.cfg.in | 0 .../libcudacxx}/nothing_to_do.pass.cpp | 0 .../atomic_signal_fence.pass.cpp | 0 .../atomic_thread_fence.pass.cpp | 0 .../atomics.flag/atomic_flag_clear.pass.cpp | 0 .../atomic_flag_clear_explicit.pass.cpp | 0 .../atomic_flag_test_and_set.pass.cpp | 0 ...atomic_flag_test_and_set_explicit.pass.cpp | 0 .../atomics.flag/atomic_flag_wait.pass.cpp | 0 .../std/atomics/atomics.flag/clear.pass.cpp | 0 .../atomics/atomics.flag/copy_assign.fail.cpp | 0 .../atomics/atomics.flag/copy_ctor.fail.cpp | 0 .../copy_volatile_assign.fail.cpp | 0 .../std/atomics/atomics.flag/default.pass.cpp | 0 .../std/atomics/atomics.flag/init.pass.cpp | 0 .../atomics.flag/test_and_set.pass.cpp | 0 .../atomics.general/nothing_to_do.pass.cpp | 0 .../replace_failure_order.pass.cpp | 0 .../isalwayslockfree.pass.cpp | 0 .../atomics.lockfree/lockfree.pass.cpp | 0 .../atomics.order/kill_dependency.pass.cpp | 0 .../atomics.order/memory_order.pass.cpp | 0 .../atomics.order/memory_order_new.pass.cpp | 0 .../atomics.syn/nothing_to_do.pass.cpp | 0 .../atomics.types.generic/address.pass.cpp | 0 .../address_ref.pass.cpp | 0 .../address_ref_constness.pass.cpp | 0 .../atomic_copyable.pass.cpp | 0 .../atomics.types.generic/bool.pass.cpp | 0 .../cstdint_typedefs.pass.cpp | 0 .../atomics.types.generic/enum_class.pass.cpp | 0 .../floating_point.pass.cpp | 0 .../floating_point_ref.pass.cpp | 0 .../floating_point_ref_constness.pass.cpp | 0 .../atomics.types.generic/integral.pass.cpp | 0 .../integral_ref.pass.cpp | 0 .../integral_ref_constness.pass.cpp | 0 .../integral_typedefs.pass.cpp | 0 .../non_arithmetic.fail.cpp | 0 .../non_trivial.pass.cpp | 0 .../trivially_copyable.fail.cpp | 0 .../trivially_copyable.pass.cpp | 0 .../trivially_copyable_ref.fail.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../atomic_compare_exchange_strong.pass.cpp | 0 ..._compare_exchange_strong_explicit.pass.cpp | 0 .../atomic_compare_exchange_weak.pass.cpp | 0 ...ic_compare_exchange_weak_explicit.pass.cpp | 0 .../atomic_exchange.pass.cpp | 0 .../atomic_exchange_explicit.pass.cpp | 0 .../atomic_fetch_add.pass.cpp | 0 .../atomic_fetch_add_explicit.pass.cpp | 0 .../atomic_fetch_and.pass.cpp | 0 .../atomic_fetch_and_explicit.pass.cpp | 0 .../atomic_fetch_or.pass.cpp | 0 .../atomic_fetch_or_explicit.pass.cpp | 0 .../atomic_fetch_sub.pass.cpp | 0 .../atomic_fetch_sub_explicit.pass.cpp | 0 .../atomic_fetch_xor.pass.cpp | 0 .../atomic_fetch_xor_explicit.pass.cpp | 0 .../atomic_helpers.h | 0 .../atomic_init.pass.cpp | 0 .../atomic_is_lock_free.pass.cpp | 0 .../atomic_load.pass.cpp | 0 .../atomic_load_explicit.pass.cpp | 0 .../atomic_store.pass.cpp | 0 .../atomic_store_explicit.pass.cpp | 0 .../atomic_var_init.pass.cpp | 0 .../ctor.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../atomic_ref_member_wait.pass.cpp | 0 .../atomic_wait.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../equivalence_relation.compile.pass.cpp | 0 ...ence_relation.subsumption.compile.pass.cpp | 0 .../invocable.compile.pass.cpp | 0 .../predicate.compile.pass.cpp | 0 .../predicate.subsumption.compile.pass.cpp | 0 .../regular_invocable.compile.pass.cpp | 0 .../relation.compile.pass.cpp | 0 .../relation.subsumption.compile.pass.cpp | 0 .../strict_weak_order.compile.pass.cpp | 0 ...ct_weak_order.subsumption.compile.pass.cpp | 0 .../equality_comparable.compile.pass.cpp | 0 .../equality_comparable_with.compile.pass.cpp | 0 .../totally_ordered.pass.cpp | 0 .../totally_ordered_with.pass.cpp | 0 .../assignable_from.compile.pass.cpp | 0 .../common_with.compile.pass.cpp | 0 .../common_reference.compile.pass.cpp | 0 .../constructible_from.compile.pass.cpp | 0 .../convertible_to.pass.cpp | 0 .../copy_constructible.compile.pass.cpp | 0 .../default_initializable.compile.pass.cpp | 0 .../default_initializable.verify.cpp | 0 .../concept.derived/derived_from.pass.cpp | 0 .../destructible.compile.pass.cpp | 0 .../move_constructible.compile.pass.cpp | 0 .../concept.same/same_as.pass.cpp | 0 .../concept.swappable/swappable.pass.cpp | 0 .../swappable_with.compile.pass.cpp | 0 .../concepts.arithmetic/arithmetic.h | 0 .../floating_point.pass.cpp | 0 .../concepts.arithmetic/integral.pass.cpp | 0 .../signed_integral.pass.cpp | 0 .../unsigned_integral.pass.cpp | 0 .../concepts.object/copyable.compile.pass.cpp | 0 .../concepts.object/movable.compile.pass.cpp | 0 .../concepts.object/regular.compile.pass.cpp | 0 .../semiregular.compile.pass.cpp | 0 .../array/array.cons/deduct.fail.cpp | 0 .../array/array.cons/deduct.pass.cpp | 0 .../array/array.cons/default.pass.cpp | 0 .../array/array.cons/implicit_copy.pass.cpp | 0 .../array.cons/initializer_list.pass.cpp | 0 .../sequences/array/array.data/data.pass.cpp | 0 .../array/array.data/data_const.pass.cpp | 0 .../sequences/array/array.fill/fill.fail.cpp | 0 .../sequences/array/array.fill/fill.pass.cpp | 0 .../sequences/array/array.size/size.pass.cpp | 0 .../array/array.special/swap.pass.cpp | 0 .../sequences/array/array.swap/swap.fail.cpp | 0 .../sequences/array/array.swap/swap.pass.cpp | 0 .../sequences/array/array.tuple/get.fail.cpp | 0 .../sequences/array/array.tuple/get.pass.cpp | 0 .../array/array.tuple/get_const.pass.cpp | 0 .../array/array.tuple/get_const_rv.pass.cpp | 0 .../array/array.tuple/get_rv.pass.cpp | 0 .../array/array.tuple/tuple_element.fail.cpp | 0 .../array/array.tuple/tuple_element.pass.cpp | 0 .../array/array.tuple/tuple_size.pass.cpp | 0 .../array.zero/tested_elsewhere.pass.cpp | 0 .../containers/sequences/array/at.pass.cpp | 0 .../containers/sequences/array/begin.pass.cpp | 0 .../sequences/array/compare.fail.cpp | 0 .../sequences/array/compare.pass.cpp | 0 .../sequences/array/contiguous.pass.cpp | 0 .../containers/sequences/array/empty.fail.cpp | 0 .../containers/sequences/array/empty.pass.cpp | 0 .../sequences/array/front_back.pass.cpp | 0 .../sequences/array/indexing.pass.cpp | 0 .../sequences/array/iterators.pass.cpp | 0 .../sequences/array/max_size.pass.cpp | 0 .../array/size_and_alignment.pass.cpp | 0 .../containers/sequences/array/types.pass.cpp | 0 .../views/mdspan/foo_customizations.hpp | 0 .../access.pass.cpp | 0 .../copy.pass.cpp | 0 .../offset.pass.cpp | 0 .../mdspan.extents.cmp/compare.pass.cpp | 0 .../mdspan/mdspan.extents.cons/array.pass.cpp | 0 .../convertible_to_size_t.pass.cpp | 0 .../mdspan/mdspan.extents.cons/copy.pass.cpp | 0 .../mdspan.extents.cons/default.pass.cpp | 0 .../mdspan.extents.cons/param_pack.pass.cpp | 0 .../mdspan/mdspan.extents.cons/span.pass.cpp | 0 .../mdspan/mdspan.extents.obs/extent.pass.cpp | 0 .../mdspan/mdspan.extents.obs/rank.pass.cpp | 0 .../mdspan.extents.obs/static_extent.pass.cpp | 0 .../extents_element.fail.cpp | 0 .../index_type.fail.cpp | 0 .../mdspan.extents.util/extents_util.hpp | 0 .../mdspan.layout.left.cons/copy.pass.cpp | 0 .../layout_right_init.pass.cpp | 0 .../layout_stride_init.pass.cpp | 0 .../list_init.pass.cpp | 0 .../mdspan.layout.left.obs/compare.fail.cpp | 0 .../mdspan.layout.left.obs/compare.pass.cpp | 0 .../mdspan.layout.left.obs/extents.pass.cpp | 0 .../is_exhaustive.pass.cpp | 0 .../is_strided.pass.cpp | 0 .../mdspan.layout.left.obs/is_unique.pass.cpp | 0 .../mdspan.layout.left.obs/paren_op.pass.cpp | 0 .../required_span_size.pass.cpp | 0 .../mdspan.layout.left.obs/stride.pass.cpp | 0 .../mdspan.layout.right.cons/copy.pass.cpp | 0 .../layout_left_init.pass.cpp | 0 .../layout_stride_init.pass.cpp | 0 .../list_init.pass.cpp | 0 .../mdspan.layout.right.obs/compare.fail.cpp | 0 .../mdspan.layout.right.obs/compare.pass.cpp | 0 .../mdspan.layout.right.obs/extents.pass.cpp | 0 .../is_exhaustive.pass.cpp | 0 .../is_strided.pass.cpp | 0 .../is_unique.pass.cpp | 0 .../mdspan.layout.right.obs/paren_op.pass.cpp | 0 .../required_span_size.pass.cpp | 0 .../mdspan.layout.right.obs/stride.pass.cpp | 0 .../list_init.pass.cpp | 0 .../mdspan.layout.stride.obs/compare.fail.cpp | 0 .../mdspan.layout.stride.obs/compare.pass.cpp | 0 .../mdspan.layout.stride.obs/extents.pass.cpp | 0 .../is_exhaustive.pass.cpp | 0 .../is_strided.pass.cpp | 0 .../is_unique.pass.cpp | 0 .../paren_op.pass.cpp | 0 .../required_span_size.pass.cpp | 0 .../mdspan.layout.stride.obs/stride.pass.cpp | 0 .../mdspan.layout.stride.obs/strides.pass.cpp | 0 .../mdspan/mdspan.layout.util/layout_util.hpp | 0 .../array_init_extents.pass.cpp | 0 .../mdspan/mdspan.mdspan.cons/copy.pass.cpp | 0 .../mdspan.mdspan.cons/ctad_c_array.pass.cpp | 0 .../ctad_const_c_array.pass.cpp | 0 .../mdspan.mdspan.cons/ctad_copy.pass.cpp | 0 .../mdspan.mdspan.cons/ctad_extents.pass.cpp | 0 .../ctad_extents_pack.pass.cpp | 0 .../mdspan.mdspan.cons/ctad_layouts.pass.cpp | 0 .../mdspan.mdspan.cons/ctad_mapping.pass.cpp | 0 .../mdspan.mdspan.cons/ctad_pointer.pass.cpp | 0 .../custom_accessor.pass.cpp | 0 .../mdspan.mdspan.cons/custom_layout.pass.cpp | 0 .../mdspan.mdspan.cons/data_c_array.pass.cpp | 0 .../mdspan.mdspan.cons/default.pass.cpp | 0 .../mdspan.mdspan.cons/extents.pass.cpp | 0 .../mdspan.mdspan.cons/extents_pack.pass.cpp | 0 .../list_init_layout_left.pass.cpp | 0 .../list_init_layout_right.pass.cpp | 0 .../list_init_layout_stride.pass.cpp | 0 .../mdspan.mdspan.cons/mapping.pass.cpp | 0 .../span_init_extents.pass.cpp | 0 .../mdspan.mdspan.members/accessor.pass.cpp | 0 .../brackets_op.pass.cpp | 0 .../data_handle.pass.cpp | 0 .../mdspan.mdspan.members/empty.pass.cpp | 0 .../mdspan.mdspan.members/extent.pass.cpp | 0 .../mdspan.mdspan.members/extents.pass.cpp | 0 .../is_exhaustive.pass.cpp | 0 .../mdspan.mdspan.members/is_strided.pass.cpp | 0 .../mdspan.mdspan.members/is_unique.pass.cpp | 0 .../mdspan.mdspan.members/mapping.pass.cpp | 0 .../mdspan.mdspan.members/rank.pass.cpp | 0 .../mdspan.mdspan.members/size.pass.cpp | 0 .../mdspan.mdspan.members/stride.pass.cpp | 0 .../mdspan.mdspan.members/swap.pass.cpp | 0 .../mdspan/mdspan.mdspan.util/mdspan_util.hpp | 0 .../dim_reduction.pass.cpp | 0 .../pair_init.pass.cpp | 0 .../return_type.pass.cpp | 0 .../tuple_init.pass.cpp | 0 .../containers/views/mdspan/my_accessor.hpp | 0 .../std/containers/views/mdspan/my_int.hpp | 0 .../iterator.container/data.pass.cpp | 0 .../iterator.container/empty.array.fail.cpp | 0 .../empty.container.fail.cpp | 0 .../empty.initializer_list.fail.cpp | 0 .../iterator.container/empty.pass.cpp | 0 .../iterator.container/size.pass.cpp | 0 .../iterator.container/ssize.pass.cpp | 0 .../iterator.basic/iterator.pass.cpp | 0 .../iterator.operations/advance.pass.cpp | 0 .../iterator.operations/distance.pass.cpp | 0 .../iterator.operations/next.pass.cpp | 0 .../iterator.operations/prev.pass.cpp | 0 .../iterator.traits/const_pointer.pass.cpp | 0 .../const_volatile_pointer.pass.cpp | 0 .../cxx20_iterator_traits.compile.pass.cpp | 0 .../iterator.traits/empty.fail.cpp | 0 .../iterator.traits/empty.pass.cpp | 0 .../iter_reference_t.compile.pass.cpp | 0 .../iterator.traits/iterator.pass.cpp | 0 .../iterator.traits/pointer.pass.cpp | 0 .../iterator.traits/volatile_pointer.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../constraints.verify.cpp | 0 .../iterator_count.pass.cpp | 0 .../iterator_count_sentinel.pass.cpp | 0 .../iterator_sentinel.pass.cpp | 0 .../constraints.compile.pass.cpp | 0 .../range.iter.ops.next/iterator.pass.cpp | 0 .../iterator_count.pass.cpp | 0 .../iterator_count_sentinel.pass.cpp | 0 .../iterator_sentinel.pass.cpp | 0 .../range.iter.ops/types.h | 0 .../bidirectional_iterator_tag.pass.cpp | 0 .../contiguous_iterator_tag.pass.cpp | 0 .../forward_iterator_tag.pass.cpp | 0 .../input_iterator_tag.pass.cpp | 0 .../output_iterator_tag.pass.cpp | 0 .../random_access_iterator_tag.pass.cpp | 0 .../iterator.range/begin-end.fail.cpp | 0 .../iterator.range/begin-end.pass.cpp | 0 .../indirectly_copyable.compile.pass.cpp | 0 ...ctly_copyable.subsumption.compile.pass.cpp | 0 ...irectly_copyable_storable.compile.pass.cpp | 0 ...able_storable.subsumption.compile.pass.cpp | 0 .../indirectly_movable.compile.pass.cpp | 0 ...ectly_movable.subsumption.compile.pass.cpp | 0 ...directly_movable_storable.compile.pass.cpp | 0 ...able_storable.subsumption.compile.pass.cpp | 0 .../indirectly_swappable.compile.pass.cpp | 0 ...tly_swappable.subsumption.compile.pass.cpp | 0 .../mergeable.compile.pass.cpp | 0 .../mergeable.subsumption.compile.pass.cpp | 0 .../permutable.compile.pass.cpp | 0 .../permutable.subsumption.compile.pass.cpp | 0 .../sortable.compile.pass.cpp | 0 .../sortable.subsumption.compile.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../forward.iterators/nothing_to_do.pass.cpp | 0 ...indirect_binary_predicate.compile.pass.cpp | 0 ...rect_equivalence_relation.compile.pass.cpp | 0 .../indirect_result_t.compile.pass.cpp | 0 ...ndirect_strict_weak_order.compile.pass.cpp | 0 .../indirect_unary_predicate.compile.pass.cpp | 0 .../indirectly_comparable.compile.pass.cpp | 0 ...ly_comparable.subsumption.compile.pass.cpp | 0 ...y_regular_unary_invocable.compile.pass.cpp | 0 ...ndirectly_unary_invocable.compile.pass.cpp | 0 .../projected/projected.compile.pass.cpp | 0 .../input.iterators/nothing_to_do.pass.cpp | 0 .../incrementable_traits.compile.pass.cpp | 0 .../iter_difference_t.compile.pass.cpp | 0 ...ndirectly_readable_traits.compile.pass.cpp | 0 .../readable.traits/iter_value_t.pass.cpp | 0 .../iterator.concepts/incrementable.h | 0 .../bidirectional_iterator.compile.pass.cpp | 0 .../subsumption.compile.pass.cpp | 0 .../forward_iterator.compile.pass.cpp | 0 .../subsumption.compile.pass.cpp | 0 .../incrementable.compile.pass.cpp | 0 .../subsumption.compile.pass.cpp | 0 .../input_iterator.compile.pass.cpp | 0 .../subsumption.compile.pass.cpp | 0 .../input_or_output_iterator.compile.pass.cpp | 0 .../subsumption.compile.pass.cpp | 0 .../output_iterator.compile.pass.cpp | 0 .../contiguous_iterator.compile.pass.cpp | 0 .../random_access_iterator.compile.pass.cpp | 0 .../indirectly_readable.compile.pass.cpp | 0 .../iter_common_reference_t.compile.pass.cpp | 0 .../sentinel_for.compile.pass.cpp | 0 .../sentinel_for.subsumption.compile.pass.cpp | 0 .../sized_sentinel_for.compile.pass.cpp | 0 .../weakly_incrementable.compile.pass.cpp | 0 .../indirectly_writable.compile.pass.cpp | 0 .../iter_move.nodiscard.verify.cpp | 0 .../iterator.cust.move/iter_move.pass.cpp | 0 .../iter_rvalue_reference_t.compile.pass.cpp | 0 .../iterator.cust.swap/iter_swap.pass.cpp | 0 .../unqualified_lookup_wrapper.h | 0 .../iterator.iterators/nothing_to_do.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../output.iterators/nothing_to_do.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../iterator.synopsis/nothing_to_do.pass.cpp | 0 .../iterators.general/gcc_workaround.pass.cpp | 0 .../iterators.general/nothing_to_do.pass.cpp | 0 .../default.sentinel.pass.cpp | 0 .../back.insert.iter.cons/container.fail.cpp | 0 .../back.insert.iter.cons/container.pass.cpp | 0 .../lv_value.pass.cpp | 0 .../rv_value.pass.cpp | 0 .../back.insert.iter.op_astrk/test.pass.cpp | 0 .../post.pass.cpp | 0 .../pre.pass.cpp | 0 .../back.inserter/test.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../back.insert.iterator/types.pass.cpp | 0 .../front.insert.iter.cons/container.fail.cpp | 0 .../front.insert.iter.cons/container.pass.cpp | 0 .../lv_value.pass.cpp | 0 .../rv_value.pass.cpp | 0 .../front.insert.iter.op_astrk/test.pass.cpp | 0 .../post.pass.cpp | 0 .../pre.pass.cpp | 0 .../front.inserter/test.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../front.insert.iterator/types.pass.cpp | 0 .../insert.iter.cons/test.pass.cpp | 0 .../insert.iter.op_assign/lv_value.pass.cpp | 0 .../insert.iter.op_assign/rv_value.pass.cpp | 0 .../insert.iter.op_astrk/test.pass.cpp | 0 .../insert.iter.op_increment/post.pass.cpp | 0 .../insert.iter.op_increment/pre.pass.cpp | 0 .../insert.iter.ops/inserter/test.pass.cpp | 0 .../insert.iter.ops/nothing_to_do.pass.cpp | 0 .../insert.iterator/types.pass.cpp | 0 .../insert.iterators/nothing_to_do.pass.cpp | 0 .../make_move_iterator.pass.cpp | 0 .../move.iter.nonmember/minus.pass.cpp | 0 .../move.iter.nonmember/plus.pass.cpp | 0 .../move.iter.op.comp/op_eq.pass.cpp | 0 .../move.iter.op.comp/op_gt.pass.cpp | 0 .../move.iter.op.comp/op_gte.pass.cpp | 0 .../move.iter.op.comp/op_lt.pass.cpp | 0 .../move.iter.op.comp/op_lte.pass.cpp | 0 .../move.iter.op.comp/op_neq.pass.cpp | 0 .../move.iter.op.const/convert.fail.cpp | 0 .../move.iter.op.const/convert.pass.cpp | 0 .../move.iter.op.const/default.pass.cpp | 0 .../move.iter.op.const/iter.fail.cpp | 0 .../move.iter.op.const/iter.pass.cpp | 0 .../tested_elsewhere.pass.cpp | 0 .../move.iter.op.decr/post.pass.cpp | 0 .../move.iter.op.decr/pre.pass.cpp | 0 .../move.iter.op.incr/post.pass.cpp | 0 .../move.iter.op.incr/pre.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../move.iter.op.ref/op_arrow.pass.cpp | 0 .../move.iter.op.star/op_star.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../move_iterator.fail.cpp | 0 .../move_iterator.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../move.iter.ops/nothing_to_do.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../move.iterator/types.pass.cpp | 0 .../move.sentinel/assign.converting.pass.cpp | 0 .../move.sentinel/base.pass.cpp | 0 .../concept_conformance.compile.pass.cpp | 0 .../constraints.compile.pass.cpp | 0 .../move.sentinel/ctor.converting.pass.cpp | 0 .../move.sentinel/ctor.default.pass.cpp | 0 .../move.sentinel/ctor.sentinel.pass.cpp | 0 .../move.sentinel/op_eq.pass.cpp | 0 .../move.iterators/nothing_to_do.pass.cpp | 0 .../predef.iterators/nothing_to_do.pass.cpp | 0 .../reverse.iterators/nothing_to_do.pass.cpp | 0 .../reverse.iter.nonmember/minus.pass.cpp | 0 .../reverse.iter.nonmember/plus.pass.cpp | 0 .../reverse.iter.ops/nothing_to_do.pass.cpp | 0 .../reverse.iter.cons/default.pass.cpp | 0 .../reverse.iter.cons/iter.fail.cpp | 0 .../reverse.iter.cons/iter.pass.cpp | 0 .../reverse_iterator.fail.cpp | 0 .../reverse_iterator.pass.cpp | 0 .../tested_elsewhere.pass.cpp | 0 .../make_reverse_iterator.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../reverse_iterator.fail.cpp | 0 .../reverse_iterator.pass.cpp | 0 .../reverse.iter.op_decrement/post.pass.cpp | 0 .../reverse.iter.op_decrement/pre.pass.cpp | 0 .../reverse.iter.op_eq/test.pass.cpp | 0 .../reverse.iter.op_geq/test.pass.cpp | 0 .../reverse.iter.op_gt/test.pass.cpp | 0 .../reverse.iter.op_increment/post.pass.cpp | 0 .../reverse.iter.op_increment/pre.pass.cpp | 0 .../reverse.iter.op_leq/test.pass.cpp | 0 .../reverse.iter.op_lt/test.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../reverse.iter.op_ne/test.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../reverse.iter.op_star/op_star.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../difference_type.pass.cpp | 0 .../reverse.iterator/types.pass.cpp | 0 .../unreachable_sentinel.pass.cpp | 0 .../istream.iterator.cons/copy.pass.cpp | 0 .../istream.iterator.cons/default.fail.cpp | 0 .../istream.iterator.cons/default.pass.cpp | 0 .../istream.iterator.cons/istream.pass.cpp | 0 .../istream.iterator.ops/arrow.pass.cpp | 0 .../istream.iterator.ops/dereference.pass.cpp | 0 .../istream.iterator.ops/equal.pass.cpp | 0 .../post_increment.pass.cpp | 0 .../pre_increment.pass.cpp | 0 .../istream.iterator/types.pass.cpp | 0 .../istreambuf.iterator.cons/default.pass.cpp | 0 .../istreambuf.iterator.cons/istream.pass.cpp | 0 .../istreambuf.iterator.cons/proxy.pass.cpp | 0 .../streambuf.pass.cpp | 0 .../istreambuf.iterator_equal/equal.pass.cpp | 0 .../post_increment.pass.cpp | 0 .../pre_increment.pass.cpp | 0 .../istreambuf.iterator_op_eq/equal.pass.cpp | 0 .../dereference.pass.cpp | 0 .../not_equal.pass.cpp | 0 .../istreambuf.iterator_proxy/proxy.pass.cpp | 0 .../istreambuf.iterator/types.pass.cpp | 0 .../iterator.range/begin_array.pass.cpp | 0 .../iterator.range/begin_const.pass.cpp | 0 .../iterator.range/begin_non_const.pass.cpp | 0 .../iterator.range/end_array.pass.cpp | 0 .../iterator.range/end_const.pass.cpp | 0 .../iterator.range/end_non_const.pass.cpp | 0 .../stream.iterators/nothing_to_do.pass.cpp | 0 .../ostream.iterator.cons.des/copy.pass.cpp | 0 .../ostream.pass.cpp | 0 .../ostream_delim.pass.cpp | 0 .../ostream.iterator.ops/assign_t.pass.cpp | 0 .../ostream.iterator.ops/dereference.pass.cpp | 0 .../ostream.iterator.ops/increment.pass.cpp | 0 .../ostream.iterator/types.pass.cpp | 0 .../ostreambuf.iter.cons/ostream.pass.cpp | 0 .../ostreambuf.iter.cons/streambuf.pass.cpp | 0 .../ostreambuf.iter.ops/assign_c.pass.cpp | 0 .../ostreambuf.iter.ops/deref.pass.cpp | 0 .../ostreambuf.iter.ops/failed.pass.cpp | 0 .../ostreambuf.iter.ops/increment.pass.cpp | 0 .../ostreambuf.iterator/types.pass.cpp | 0 .../cstdint/cstdint.syn/cstdint.pass.cpp | 0 .../language.support/nothing_to_do.pass.cpp | 0 .../support.general/nothing_to_do.pass.cpp | 0 .../support.limits/c.limits/climits.pass.cpp | 0 .../limits/denorm.style/check_values.pass.cpp | 0 .../limits/is_specialized.pass.cpp | 0 .../const_data_members.pass.cpp | 0 .../denorm_min.pass.cpp | 0 .../numeric.limits.members/digits.pass.cpp | 0 .../numeric.limits.members/digits10.pass.cpp | 0 .../numeric.limits.members/epsilon.pass.cpp | 0 .../has_denorm.pass.cpp | 0 .../has_denorm_loss.pass.cpp | 0 .../has_infinity.pass.cpp | 0 .../has_quiet_NaN.pass.cpp | 0 .../has_signaling_NaN.pass.cpp | 0 .../numeric.limits.members/infinity.pass.cpp | 0 .../is_bounded.pass.cpp | 0 .../numeric.limits.members/is_exact.pass.cpp | 0 .../numeric.limits.members/is_iec559.pass.cpp | 0 .../is_integer.pass.cpp | 0 .../numeric.limits.members/is_modulo.pass.cpp | 0 .../numeric.limits.members/is_signed.pass.cpp | 0 .../numeric.limits.members/lowest.pass.cpp | 0 .../numeric.limits.members/max.pass.cpp | 0 .../max_digits10.pass.cpp | 0 .../max_exponent.pass.cpp | 0 .../max_exponent10.pass.cpp | 0 .../numeric.limits.members/min.pass.cpp | 0 .../min_exponent.pass.cpp | 0 .../min_exponent10.pass.cpp | 0 .../numeric.limits.members/quiet_NaN.pass.cpp | 0 .../numeric.limits.members/radix.pass.cpp | 0 .../round_error.pass.cpp | 0 .../round_style.pass.cpp | 0 .../signaling_NaN.pass.cpp | 0 .../tinyness_before.pass.cpp | 0 .../numeric.limits.members/traps.pass.cpp | 0 .../limits/numeric.limits/default.pass.cpp | 0 .../numeric.special/nothing_to_do.pass.cpp | 0 .../limits/round.style/check_values.pass.cpp | 0 .../support.limits/nothing_to_do.pass.cpp | 0 .../support.limits/version.pass.cpp | 0 .../support.types/byte.pass.cpp | 0 .../support.types/byteops/and.assign.pass.cpp | 0 .../support.types/byteops/and.pass.cpp | 0 .../byteops/enum_direct_init.pass.cpp | 0 .../byteops/lshift.assign.fail.cpp | 0 .../byteops/lshift.assign.pass.cpp | 0 .../support.types/byteops/lshift.fail.cpp | 0 .../support.types/byteops/lshift.pass.cpp | 0 .../support.types/byteops/not.pass.cpp | 0 .../support.types/byteops/or.assign.pass.cpp | 0 .../support.types/byteops/or.pass.cpp | 0 .../byteops/rshift.assign.fail.cpp | 0 .../byteops/rshift.assign.pass.cpp | 0 .../support.types/byteops/rshift.fail.cpp | 0 .../support.types/byteops/rshift.pass.cpp | 0 .../support.types/byteops/to_integer.fail.cpp | 0 .../support.types/byteops/to_integer.pass.cpp | 0 .../support.types/byteops/xor.assign.pass.cpp | 0 .../support.types/byteops/xor.pass.cpp | 0 .../support.types/max_align_t.pass.cpp | 0 .../support.types/null.pass.cpp | 0 .../support.types/nullptr_t.pass.cpp | 0 .../nullptr_t_integral_cast.fail.cpp | 0 .../nullptr_t_integral_cast.pass.cpp | 0 .../support.types/offsetof.pass.cpp | 0 .../support.types/ptrdiff_t.pass.cpp | 0 .../support.types/size_t.pass.cpp | 0 .../libcudacxx}/std/nothing_to_do.pass.cpp | 0 .../numerics/bit/bit.endian/endian.pass.cpp | 0 .../bit/bit.pow.two/bit_ceil.fail.cpp | 0 .../bit/bit.pow.two/bit_ceil.pass.cpp | 0 .../bit/bit.pow.two/bit_floor.pass.cpp | 0 .../bit/bit.pow.two/bit_width.pass.cpp | 0 .../bit/bit.pow.two/has_single_bit.pass.cpp | 0 .../bit/bitops.count/countl_one.pass.cpp | 0 .../bit/bitops.count/countl_zero.pass.cpp | 0 .../bit/bitops.count/countr_one.pass.cpp | 0 .../bit/bitops.count/countr_zero.pass.cpp | 0 .../bit/bitops.count/popcount.pass.cpp | 0 .../std/numerics/bit/bitops.rot/rotl.pass.cpp | 0 .../std/numerics/bit/bitops.rot/rotr.pass.cpp | 0 .../std/numerics/bit/invocable.pass.cpp | 0 .../std/numerics/bit/nothing_to_do.pass.cpp | 0 .../std/numerics/complex.number/cases.h | 0 .../complex.number/ccmplx/ccomplex.pass.cpp | 0 .../cmplx.over/UDT_is_rejected.fail.cpp | 0 .../complex.number/cmplx.over/arg.pass.cpp | 0 .../complex.number/cmplx.over/conj.pass.cpp | 0 .../complex.number/cmplx.over/imag.pass.cpp | 0 .../complex.number/cmplx.over/norm.pass.cpp | 0 .../complex.number/cmplx.over/pow.pass.cpp | 0 .../complex.number/cmplx.over/proj.pass.cpp | 0 .../complex.number/cmplx.over/real.pass.cpp | 0 .../assignment_complex.pass.cpp | 0 .../assignment_scalar.pass.cpp | 0 .../divide_equal_complex.pass.cpp | 0 .../divide_equal_scalar.pass.cpp | 0 .../minus_equal_complex.pass.cpp | 0 .../minus_equal_scalar.pass.cpp | 0 .../plus_equal_complex.pass.cpp | 0 .../plus_equal_scalar.pass.cpp | 0 .../times_equal_complex.pass.cpp | 0 .../times_equal_scalar.pass.cpp | 0 .../complex.members/construct.pass.cpp | 0 .../complex.members/real_imag.pass.cpp | 0 .../complex_divide_complex.pass.cpp | 0 .../complex_divide_scalar.pass.cpp | 0 .../complex_equals_complex.pass.cpp | 0 .../complex_equals_scalar.pass.cpp | 0 .../complex_minus_complex.pass.cpp | 0 .../complex.ops/complex_minus_scalar.pass.cpp | 0 .../complex_not_equals_complex.pass.cpp | 0 .../complex_not_equals_scalar.pass.cpp | 0 .../complex.ops/complex_plus_complex.pass.cpp | 0 .../complex.ops/complex_plus_scalar.pass.cpp | 0 .../complex_times_complex.pass.cpp | 0 .../complex.ops/complex_times_scalar.pass.cpp | 0 .../scalar_divide_complex.pass.cpp | 0 .../scalar_equals_complex.pass.cpp | 0 .../complex.ops/scalar_minus_complex.pass.cpp | 0 .../scalar_not_equals_complex.pass.cpp | 0 .../complex.ops/scalar_plus_complex.pass.cpp | 0 .../complex.ops/scalar_times_complex.pass.cpp | 0 .../complex.ops/unary_minus.pass.cpp | 0 .../complex.ops/unary_plus.pass.cpp | 0 .../double_float_explicit.pass.cpp | 0 .../double_float_implicit.pass.cpp | 0 .../float_double_explicit.pass.cpp | 0 .../float_double_implicit.compile.fail.cpp | 0 .../complex.synopsis/nothing_to_do.pass.cpp | 0 .../complex.transcendentals/acos.pass.cpp | 0 .../complex.transcendentals/acosh.pass.cpp | 0 .../complex.transcendentals/asin.pass.cpp | 0 .../complex.transcendentals/asinh.pass.cpp | 0 .../complex.transcendentals/atan.pass.cpp | 0 .../complex.transcendentals/atanh.pass.cpp | 0 .../complex.transcendentals/cos.pass.cpp | 0 .../complex.transcendentals/cosh.pass.cpp | 0 .../complex.transcendentals/exp.pass.cpp | 0 .../complex.transcendentals/log.pass.cpp | 0 .../complex.transcendentals/log10.pass.cpp | 0 .../pow_complex_complex.pass.cpp | 0 .../pow_complex_scalar.pass.cpp | 0 .../pow_scalar_complex.pass.cpp | 0 .../complex.transcendentals/sin.pass.cpp | 0 .../complex.transcendentals/sinh.pass.cpp | 0 .../complex.transcendentals/sqrt.pass.cpp | 0 .../complex.transcendentals/tan.pass.cpp | 0 .../complex.transcendentals/tanh.pass.cpp | 0 .../complex.value.ops/abs.pass.cpp | 0 .../complex.value.ops/arg.pass.cpp | 0 .../complex.value.ops/conj.pass.cpp | 0 .../complex.value.ops/imag.pass.cpp | 0 .../complex.value.ops/norm.pass.cpp | 0 .../complex.value.ops/polar.pass.cpp | 0 .../complex.value.ops/proj.pass.cpp | 0 .../complex.value.ops/real.pass.cpp | 0 .../complex/abi_latest.pass.cpp | 0 .../complex.number/complex/abi_v3.pass.cpp | 0 .../complex.number/complex/types.pass.cpp | 0 .../numerics/complex.number/layout.pass.cpp | 0 .../std/thread/thread.barrier/arrive.pass.cpp | 0 .../thread.barrier/arrive_and_drop.pass.cpp | 0 .../thread.barrier/arrive_and_wait.pass.cpp | 0 .../thread/thread.barrier/completion.pass.cpp | 0 .../std/thread/thread.barrier/max.pass.cpp | 0 .../thread.barrier/try_wait_for.pass.cpp | 0 .../try_wait_parity_for.pass.cpp | 0 .../try_wait_parity_until.pass.cpp | 0 .../thread.barrier/try_wait_until.pass.cpp | 0 .../thread/thread.barrier/version.pass.cpp | 0 .../thread.latch/arrive_and_wait.pass.cpp | 0 .../thread/thread.latch/count_down.pass.cpp | 0 .../std/thread/thread.latch/max.pass.cpp | 0 .../std/thread/thread.latch/try_wait.pass.cpp | 0 .../std/thread/thread.latch/version.pass.cpp | 0 .../thread/thread.semaphore/acquire.pass.cpp | 0 .../std/thread/thread.semaphore/max.pass.cpp | 0 .../thread/thread.semaphore/release.pass.cpp | 0 .../thread/thread.semaphore/timed.pass.cpp | 0 .../thread.semaphore/try_acquire.pass.cpp | 0 .../thread/thread.semaphore/version.pass.cpp | 0 .../expected/expected.bad/ctor.error.pass.cpp | 0 .../expected.bad/error.member.pass.cpp | 0 .../what.noexcept.compile.pass.cpp | 0 .../assign/assign.U.pass.cpp | 0 .../assign/assign.copy.pass.cpp | 0 .../assign/assign.move.pass.cpp | 0 .../assign/assign.unexpected.copy.pass.cpp | 0 .../assign/assign.unexpected.move.pass.cpp | 0 .../assign/emplace.intializer_list.pass.cpp | 0 .../expected.expected/assign/emplace.pass.cpp | 0 .../ctor/ctor.convert.copy.pass.cpp | 0 .../ctor/ctor.convert.move.pass.cpp | 0 .../expected.expected/ctor/ctor.copy.pass.cpp | 0 .../ctor/ctor.default.pass.cpp | 0 .../ctor/ctor.inplace.pass.cpp | 0 .../ctor/ctor.inplace_init_list.pass.cpp | 0 .../expected.expected/ctor/ctor.move.pass.cpp | 0 .../expected.expected/ctor/ctor.u.pass.cpp | 0 .../ctor/ctor.unexpect.pass.cpp | 0 .../ctor/ctor.unexpect_init_list.pass.cpp | 0 .../ctor/ctor.unexpected.copy.pass.cpp | 0 .../ctor/ctor.unexpected.move.pass.cpp | 0 .../expected/expected.expected/dtor.pass.cpp | 0 .../equality/equality.T2.pass.cpp | 0 .../equality/equality.other_expected.pass.cpp | 0 .../equality/equality.unexpected.pass.cpp | 0 .../monadic/and_then.pass.cpp | 0 .../monadic/or_else.pass.cpp | 0 .../monadic/transform.pass.cpp | 0 .../monadic/transform_error.pass.cpp | 0 .../observers/arrow.pass.cpp | 0 .../expected.expected/observers/bool.pass.cpp | 0 .../observers/deref.pass.cpp | 0 .../observers/error.pass.cpp | 0 .../observers/has_value.pass.cpp | 0 .../observers/value.pass.cpp | 0 .../observers/value_or.pass.cpp | 0 .../expected.expected/swap/free.swap.pass.cpp | 0 .../swap/member.swap.pass.cpp | 0 .../assign/assign.copy.pass.cpp | 0 .../assign/assign.move.pass.cpp | 0 .../expected.unexpected/ctad.compile.pass.cpp | 0 .../ctor/ctor.copy.pass.cpp | 0 .../ctor/ctor.error.pass.cpp | 0 .../ctor/ctor.inplace.pass.cpp | 0 .../ctor/ctor.inplace_init_list.pass.cpp | 0 .../ctor/ctor.move.pass.cpp | 0 .../expected.unexpected/equality.pass.cpp | 0 .../observer/error.const_ref.pass.cpp | 0 .../observer/error.const_ref_ref.pass.cpp | 0 .../observer/error.ref.pass.cpp | 0 .../observer/error.ref_ref.pass.cpp | 0 .../swap/swap.free.pass.cpp | 0 .../swap/swap.member.pass.cpp | 0 .../expected.void/assign/assign.copy.pass.cpp | 0 .../expected.void/assign/assign.move.pass.cpp | 0 .../assign/assign.unexpected.copy.pass.cpp | 0 .../assign/assign.unexpected.move.pass.cpp | 0 .../expected.void/assign/emplace.pass.cpp | 0 .../ctor/ctor.convert.copy.pass.cpp | 0 .../ctor/ctor.convert.move.pass.cpp | 0 .../expected.void/ctor/ctor.copy.pass.cpp | 0 .../expected.void/ctor/ctor.default.pass.cpp | 0 .../expected.void/ctor/ctor.inplace.pass.cpp | 0 .../expected.void/ctor/ctor.move.pass.cpp | 0 .../expected.void/ctor/ctor.unexpect.pass.cpp | 0 .../ctor/ctor.unexpect_init_list.pass.cpp | 0 .../ctor/ctor.unexpected.copy.pass.cpp | 0 .../ctor/ctor.unexpected.move.pass.cpp | 0 .../expected/expected.void/dtor.pass.cpp | 0 .../equality/equality.other_expected.pass.cpp | 0 .../equality/equality.unexpected.pass.cpp | 0 .../expected.void/monadic/and_then.pass.cpp | 0 .../expected.void/monadic/or_else.pass.cpp | 0 .../expected.void/monadic/transform.pass.cpp | 0 .../monadic/transform_error.pass.cpp | 0 .../expected.void/observers/bool.pass.cpp | 0 .../expected.void/observers/deref.pass.cpp | 0 .../expected.void/observers/error.pass.cpp | 0 .../observers/has_value.pass.cpp | 0 .../expected.void/observers/value.pass.cpp | 0 .../expected.void/swap/free.swap.pass.cpp | 0 .../expected.void/swap/member.swap.pass.cpp | 0 .../std/utilities/expected/types.h | 0 .../arithmetic.operations/divides.pass.cpp | 0 .../arithmetic.operations/minus.pass.cpp | 0 .../arithmetic.operations/modulus.pass.cpp | 0 .../arithmetic.operations/multiplies.pass.cpp | 0 .../arithmetic.operations/negate.pass.cpp | 0 .../arithmetic.operations/plus.pass.cpp | 0 .../transparent.pass.cpp | 0 .../bitwise.operations/bit_and.pass.cpp | 0 .../bitwise.operations/bit_not.pass.cpp | 0 .../bitwise.operations/bit_or.pass.cpp | 0 .../bitwise.operations/bit_xor.pass.cpp | 0 .../bitwise.operations/transparent.pass.cpp | 0 .../comparisons/constexpr_init.pass.cpp | 0 .../comparisons/equal_to.pass.cpp | 0 .../comparisons/greater.pass.cpp | 0 .../comparisons/greater_equal.pass.cpp | 0 .../comparisons/less.pass.cpp | 0 .../comparisons/less_equal.pass.cpp | 0 .../comparisons/not_equal_to.pass.cpp | 0 .../pointer_comparison_test_helper.hpp | 0 .../comparisons/transparent.pass.cpp | 0 .../func.bind_front/bind_front.pass.cpp | 0 .../func.bind_front/bind_front.verify.cpp | 0 .../func.def/nothing_to_do.pass.cpp | 0 .../func.identity/identity.pass.cpp | 0 .../func.invoke/invoke.pass.cpp | 0 .../func.memfn/member_data.fail.cpp | 0 .../func.memfn/member_data.pass.cpp | 0 .../func.memfn/member_function.pass.cpp | 0 .../func.memfn/member_function_const.pass.cpp | 0 .../member_function_const_volatile.pass.cpp | 0 .../member_function_volatile.pass.cpp | 0 .../func.not_fn/not_fn.pass.cpp | 0 .../INVOKE_tested_elsewhere.pass.cpp | 0 .../func.require/binary_function.pass.cpp | 0 .../func.require/unary_function.pass.cpp | 0 .../logical.operations/logical_and.pass.cpp | 0 .../logical.operations/logical_not.pass.cpp | 0 .../logical.operations/logical_or.pass.cpp | 0 .../logical.operations/transparent.pass.cpp | 0 .../binary_negate.depr_in_cxx17.fail.cpp | 0 .../negators/binary_negate.pass.cpp | 0 .../negators/not1.depr_in_cxx17.fail.cpp | 0 .../function.objects/negators/not1.pass.cpp | 0 .../negators/not2.depr_in_cxx17.fail.cpp | 0 .../function.objects/negators/not2.pass.cpp | 0 .../unary_negate.depr_in_cxx17.fail.cpp | 0 .../negators/unary_negate.pass.cpp | 0 .../range.cmp/equal_to.pass.cpp | 0 .../range.cmp/greater.pass.cpp | 0 .../range.cmp/greater_equal.pass.cpp | 0 .../function.objects/range.cmp/less.pass.cpp | 0 .../range.cmp/less_equal.pass.cpp | 0 .../range.cmp/not_equal_to.pass.cpp | 0 .../refwrap/binder_typedefs.compile.pass.cpp | 0 .../refwrap.access/conversion.pass.cpp | 0 .../refwrap.assign/copy_assign.pass.cpp | 0 .../refwrap/refwrap.const/copy_ctor.pass.cpp | 0 .../refwrap.const/ctor.incomplete.pass.cpp | 0 .../refwrap/refwrap.const/deduct.pass.cpp | 0 .../refwrap.const/type_conv_ctor.pass.cpp | 0 .../refwrap.const/type_conv_ctor2.pass.cpp | 0 .../refwrap.const/type_ctor.compile.fail.cpp | 0 .../refwrap/refwrap.const/type_ctor.pass.cpp | 0 .../refwrap.helpers/cref.incomplete.pass.cpp | 0 .../refwrap/refwrap.helpers/cref_1.pass.cpp | 0 .../refwrap/refwrap.helpers/cref_2.pass.cpp | 0 .../refwrap/refwrap.helpers/lwg3146.pass.cpp | 0 .../refwrap.helpers/ref.incomplete.pass.cpp | 0 .../refwrap.helpers/ref_1.compile.fail.cpp | 0 .../refwrap/refwrap.helpers/ref_1.pass.cpp | 0 .../refwrap/refwrap.helpers/ref_2.pass.cpp | 0 .../refwrap.invoke/invoke.compile.fail.cpp | 0 .../invoke.incomplete.compile.fail.cpp | 0 .../refwrap/refwrap.invoke/invoke.pass.cpp | 0 .../refwrap.invoke/invoke_int_0.pass.cpp | 0 .../refwrap.invoke/invoke_void_0.pass.cpp | 0 .../robust_against_adl.pass.cpp | 0 .../function.objects/refwrap/type.pass.cpp | 0 .../refwrap/type_properties.pass.cpp | 0 .../refwrap/unwrap_ref_decay.pass.cpp | 0 .../refwrap/unwrap_reference.pass.cpp | 0 .../refwrap/weak_result.pass.cpp | 0 .../intseq.general/integer_seq.pass.cpp | 0 .../integer_seq.compile.fail.cpp | 0 .../intseq/intseq.intseq/integer_seq.pass.cpp | 0 .../intseq.make/make_integer_seq.fail.cpp | 0 .../intseq.make/make_integer_seq.pass.cpp | 0 ...make_integer_seq_fallback.compile.fail.cpp | 0 .../make_integer_seq_fallback.pass.cpp | 0 .../specialized.addressof/addressof.pass.cpp | 0 .../addressof.temp.compile.fail.cpp | 0 .../constexpr_addressof.pass.cpp | 0 .../construct_at.pass.cpp | 0 .../specialized.destroy/destroy.pass.cpp | 0 .../specialized.destroy/destroy_at.pass.cpp | 0 .../specialized.destroy/destroy_n.pass.cpp | 0 .../is_constant_evaluated.fail.cpp | 0 .../is_constant_evaluated.pass.cpp | 0 .../meta/meta.help/bool_constant.pass.cpp | 0 .../meta/meta.help/integral_constant.pass.cpp | 0 .../meta/meta.logical/conjunction.pass.cpp | 0 .../meta/meta.logical/disjunction.pass.cpp | 0 .../meta/meta.logical/negation.pass.cpp | 0 .../meta/meta.rel/is_base_of.pass.cpp | 0 .../meta/meta.rel/is_base_of_union.pass.cpp | 0 .../meta/meta.rel/is_convertible.pass.cpp | 0 .../meta.rel/is_convertible_fallback.pass.cpp | 0 .../meta/meta.rel/is_invocable.pass.cpp | 0 .../meta.rel/is_nothrow_convertible.pass.cpp | 0 .../meta.rel/is_nothrow_invocable.pass.cpp | 0 .../utilities/meta/meta.rel/is_same.pass.cpp | 0 .../meta/meta.rqmts/nothing_to_do.pass.cpp | 0 .../remove_all_extents.pass.cpp | 0 .../meta.trans.arr/remove_extent.pass.cpp | 0 .../meta.trans.cv/add_const.pass.cpp | 0 .../meta.trans/meta.trans.cv/add_cv.pass.cpp | 0 .../meta.trans.cv/add_volatile.pass.cpp | 0 .../meta.trans.cv/remove_const.pass.cpp | 0 .../meta.trans.cv/remove_cv.pass.cpp | 0 .../meta.trans.cv/remove_volatile.pass.cpp | 0 .../meta.trans.other/aligned_storage.pass.cpp | 0 .../meta.trans.other/aligned_union.fail.cpp | 0 .../meta.trans.other/aligned_union.pass.cpp | 0 .../meta.trans.other/common_type.pass.cpp | 0 .../meta.trans.other/conditional.pass.cpp | 0 .../meta.trans.other/decay.pass.cpp | 0 .../meta.trans.other/enable_if.fail.cpp | 0 .../meta.trans.other/enable_if.pass.cpp | 0 .../meta.trans.other/enable_if2.fail.cpp | 0 .../meta.trans.other/remove_cvref.pass.cpp | 0 .../meta.trans.other/result_of.fail.cpp | 0 .../meta.trans.other/result_of.pass.cpp | 0 .../meta.trans.other/result_of11.pass.cpp | 0 .../meta.trans.other/type_identity.pass.cpp | 0 .../meta.trans.other/underlying_type.fail.cpp | 0 .../meta.trans.other/underlying_type.pass.cpp | 0 .../meta.trans.ptr/add_pointer.pass.cpp | 0 .../meta.trans.ptr/remove_pointer.pass.cpp | 0 .../meta.trans.ref/add_lvalue_ref.pass.cpp | 0 .../meta.trans.ref/add_rvalue_ref.pass.cpp | 0 .../meta.trans.ref/remove_ref.pass.cpp | 0 .../meta.trans.sign/make_signed.pass.cpp | 0 .../meta.trans.sign/make_unsigned.pass.cpp | 0 .../meta/meta.trans/nothing_to_do.pass.cpp | 0 .../meta.type.synop/nothing_to_do.pass.cpp | 0 .../alignment_of.pass.cpp | 0 .../meta.unary.prop.query/extent.pass.cpp | 0 .../meta/meta.unary.prop.query/rank.pass.cpp | 0 .../meta.unary.prop.query/void_t.pass.cpp | 0 .../meta.unary/meta.unary.cat/array.pass.cpp | 0 .../meta.unary/meta.unary.cat/class.pass.cpp | 0 .../meta.unary/meta.unary.cat/enum.pass.cpp | 0 .../meta.unary.cat/floating_point.pass.cpp | 0 .../meta.unary.cat/function.pass.cpp | 0 .../meta.unary.cat/integral.pass.cpp | 0 .../meta.unary.cat/is_array.pass.cpp | 0 .../meta.unary.cat/is_class.pass.cpp | 0 .../meta.unary.cat/is_enum.pass.cpp | 0 .../meta.unary.cat/is_floating_point.pass.cpp | 0 .../meta.unary.cat/is_function.pass.cpp | 0 .../meta.unary.cat/is_integral.pass.cpp | 0 .../is_lvalue_reference.pass.cpp | 0 .../is_member_object_pointer.pass.cpp | 0 .../meta.unary.cat/is_member_pointer.pass.cpp | 0 .../meta.unary.cat/is_null_pointer.pass.cpp | 0 .../meta.unary.cat/is_pointer.pass.cpp | 0 .../is_rvalue_reference.pass.cpp | 0 .../meta.unary.cat/is_union.pass.cpp | 0 .../meta.unary.cat/is_void.pass.cpp | 0 .../meta.unary.cat/lvalue_ref.pass.cpp | 0 .../member_function_pointer.pass.cpp | 0 ...ber_function_pointer_no_variadics.pass.cpp | 0 .../member_object_pointer.pass.cpp | 0 .../meta.unary.cat/nullptr.pass.cpp | 0 .../meta.unary.cat/pointer.pass.cpp | 0 .../meta.unary.cat/rvalue_ref.pass.cpp | 0 .../meta.unary/meta.unary.cat/union.pass.cpp | 0 .../meta.unary/meta.unary.cat/void.pass.cpp | 0 .../meta.unary/meta.unary.comp/array.pass.cpp | 0 .../meta.unary/meta.unary.comp/class.pass.cpp | 0 .../meta.unary/meta.unary.comp/enum.pass.cpp | 0 .../meta.unary.comp/floating_point.pass.cpp | 0 .../meta.unary.comp/function.pass.cpp | 0 .../meta.unary.comp/integral.pass.cpp | 0 .../meta.unary.comp/is_arithmetic.pass.cpp | 0 .../meta.unary.comp/is_bounded_array.pass.cpp | 0 .../meta.unary.comp/is_compound.pass.cpp | 0 .../meta.unary.comp/is_fundamental.pass.cpp | 0 .../is_member_pointer.pass.cpp | 0 .../meta.unary.comp/is_object.pass.cpp | 0 .../meta.unary.comp/is_reference.pass.cpp | 0 .../meta.unary.comp/is_scalar.pass.cpp | 0 .../is_unbounded_array.pass.cpp | 0 .../meta.unary.comp/lvalue_ref.pass.cpp | 0 .../member_function_pointer.pass.cpp | 0 .../member_object_pointer.pass.cpp | 0 .../meta.unary.comp/pointer.pass.cpp | 0 .../meta.unary.comp/rvalue_ref.pass.cpp | 0 .../meta.unary/meta.unary.comp/union.pass.cpp | 0 .../meta.unary/meta.unary.comp/void.pass.cpp | 0 ...has_unique_object_representations.pass.cpp | 0 .../has_virtual_destructor.pass.cpp | 0 .../meta.unary.prop/is_abstract.pass.cpp | 0 .../meta.unary.prop/is_aggregate.pass.cpp | 0 .../meta.unary.prop/is_assignable.pass.cpp | 0 .../meta.unary.prop/is_const.pass.cpp | 0 .../meta.unary.prop/is_constructible.pass.cpp | 0 .../is_copy_assignable.pass.cpp | 0 .../is_copy_constructible.pass.cpp | 0 .../is_default_constructible.pass.cpp | 0 .../meta.unary.prop/is_destructible.pass.cpp | 0 .../meta.unary.prop/is_empty.pass.cpp | 0 .../meta.unary.prop/is_final.pass.cpp | 0 .../meta.unary.prop/is_literal_type.pass.cpp | 0 .../is_move_assignable.pass.cpp | 0 .../is_move_constructible.pass.cpp | 0 .../is_nothrow_assignable.pass.cpp | 0 .../is_nothrow_constructible.pass.cpp | 0 .../is_nothrow_copy_assignable.pass.cpp | 0 .../is_nothrow_copy_constructible.pass.cpp | 0 .../is_nothrow_default_constructible.pass.cpp | 0 .../is_nothrow_destructible.pass.cpp | 0 .../is_nothrow_move_assignable.pass.cpp | 0 .../is_nothrow_move_constructible.pass.cpp | 0 .../is_nothrow_swappable.pass.cpp | 0 .../is_nothrow_swappable_with.pass.cpp | 0 .../meta.unary.prop/is_pod.pass.cpp | 0 .../meta.unary.prop/is_polymorphic.pass.cpp | 0 .../meta.unary.prop/is_signed.pass.cpp | 0 .../is_standard_layout.pass.cpp | 0 .../meta.unary.prop/is_swappable.pass.cpp | 0 .../is_swappable_include_order.pass.cpp | 0 .../is_swappable_with.pass.cpp | 0 .../meta.unary.prop/is_trivial.pass.cpp | 0 .../is_trivially_assignable.pass.cpp | 0 .../is_trivially_constructible.pass.cpp | 0 .../is_trivially_copy_assignable.pass.cpp | 0 .../is_trivially_copy_constructible.pass.cpp | 0 .../is_trivially_copyable.pass.cpp | 0 .../is_trivially_copyable_volatile.pass.cpp | 0 ...s_trivially_default_constructible.pass.cpp | 0 .../is_trivially_destructible.pass.cpp | 0 .../is_trivially_move_assignable.pass.cpp | 0 .../is_trivially_move_constructible.pass.cpp | 0 .../meta.unary.prop/is_unsigned.pass.cpp | 0 .../meta.unary.prop/is_volatile.pass.cpp | 0 .../meta/meta.unary/nothing_to_do.pass.cpp | 0 .../std/utilities/nothing_to_do.pass.cpp | 0 ...rator_concept_conformance.compile.pass.cpp | 0 .../optional.comp_with_t/equal.pass.cpp | 0 .../optional.comp_with_t/greater.pass.cpp | 0 .../greater_equal.pass.cpp | 0 .../optional.comp_with_t/less_equal.pass.cpp | 0 .../optional.comp_with_t/less_than.pass.cpp | 0 .../optional.comp_with_t/not_equal.pass.cpp | 0 .../optional.monadic/and_then.pass.cpp | 0 .../optional.monadic/or_else.pass.cpp | 0 .../optional.monadic/transform.pass.cpp | 0 .../optional/optional.nullops/equal.pass.cpp | 0 .../optional.nullops/greater.pass.cpp | 0 .../optional.nullops/greater_equal.pass.cpp | 0 .../optional.nullops/less_equal.pass.cpp | 0 .../optional.nullops/less_than.pass.cpp | 0 .../optional.nullops/not_equal.pass.cpp | 0 .../nullopt_t.compile.fail.cpp | 0 .../optional.nullopt/nullopt_t.pass.cpp | 0 .../assign_value.pass.cpp | 0 .../const_optional_U.pass.cpp | 0 .../optional.object.assign/copy.pass.cpp | 0 .../optional.object.assign/emplace.pass.cpp | 0 .../emplace_initializer_list.pass.cpp | 0 .../optional.object.assign/move.pass.cpp | 0 .../optional.object.assign/nullopt_t.pass.cpp | 0 .../optional_U.pass.cpp | 0 .../optional.object.ctor/U.pass.cpp | 0 .../optional.object.ctor/const_T.pass.cpp | 0 .../const_optional_U.pass.cpp | 0 .../optional.object.ctor/copy.pass.cpp | 0 .../optional.object.ctor/ctor.fail.cpp | 0 .../optional.object.ctor/deduct.fail.cpp | 0 .../optional.object.ctor/deduct.pass.cpp | 0 .../optional.object.ctor/default.pass.cpp | 0 ...empty_in_place_t_does_not_clobber.pass.cpp | 0 .../explicit_const_optional_U.pass.cpp | 0 .../explicit_optional_U.pass.cpp | 0 .../optional.object.ctor/in_place_t.pass.cpp | 0 .../initializer_list.pass.cpp | 0 .../optional.object.ctor/move.pass.cpp | 0 .../optional.object.ctor/nullopt_t.pass.cpp | 0 .../optional.object.ctor/optional_U.pass.cpp | 0 .../optional.object.ctor/rvalue_T.pass.cpp | 0 .../optional.object.dtor/dtor.pass.cpp | 0 .../optional.object.mod/reset.pass.cpp | 0 .../optional.object.observe/bool.pass.cpp | 0 .../dereference.pass.cpp | 0 .../dereference_const.pass.cpp | 0 .../dereference_const_rvalue.pass.cpp | 0 .../dereference_rvalue.pass.cpp | 0 .../has_value.pass.cpp | 0 .../optional.object.observe/op_arrow.pass.cpp | 0 .../op_arrow_const.pass.cpp | 0 .../optional.object.observe/value.pass.cpp | 0 .../value_const.compile.fail.cpp | 0 .../value_const.pass.cpp | 0 .../value_const_rvalue.pass.cpp | 0 .../optional.object.observe/value_or.pass.cpp | 0 .../value_or_const.pass.cpp | 0 .../value_rvalue.pass.cpp | 0 .../optional.object.swap/swap.pass.cpp | 0 ...onal_requires_destructible_object.fail.cpp | 0 .../optional.object/special_members.pass.cpp | 0 .../optional.object/triviality.pass.cpp | 0 .../optional/optional.object/types.pass.cpp | 0 .../optional/optional.relops/equal.pass.cpp | 0 .../optional.relops/greater_equal.pass.cpp | 0 .../optional.relops/greater_than.pass.cpp | 0 .../optional.relops/less_equal.pass.cpp | 0 .../optional.relops/less_than.pass.cpp | 0 .../optional.relops/not_equal.pass.cpp | 0 .../optional.specalg/make_optional.pass.cpp | 0 .../make_optional_explicit.pass.cpp | 0 ...ptional_explicit_initializer_list.pass.cpp | 0 .../optional/optional.specalg/swap.pass.cpp | 0 .../optional.syn/optional_in_place_t.fail.cpp | 0 ...ptional_includes_initializer_list.pass.cpp | 0 .../optional.syn/optional_nullopt_t.fail.cpp | 0 .../ratio/ratio.arithmetic/ratio_add.fail.cpp | 0 .../ratio/ratio.arithmetic/ratio_add.pass.cpp | 0 .../ratio.arithmetic/ratio_divide.fail.cpp | 0 .../ratio.arithmetic/ratio_divide.pass.cpp | 0 .../ratio.arithmetic/ratio_multiply.fail.cpp | 0 .../ratio.arithmetic/ratio_multiply.pass.cpp | 0 .../ratio.arithmetic/ratio_subtract.fail.cpp | 0 .../ratio.arithmetic/ratio_subtract.pass.cpp | 0 .../ratio.comparison/ratio_equal.pass.cpp | 0 .../ratio.comparison/ratio_greater.pass.cpp | 0 .../ratio_greater_equal.pass.cpp | 0 .../ratio.comparison/ratio_less.pass.cpp | 0 .../ratio_less_equal.pass.cpp | 0 .../ratio.comparison/ratio_not_equal.pass.cpp | 0 .../ratio/ratio.ratio/ratio.pass.cpp | 0 .../ratio/ratio.ratio/ratio1.fail.cpp | 0 .../ratio/ratio.ratio/ratio2.fail.cpp | 0 .../ratio/ratio.ratio/ratio3.fail.cpp | 0 .../ratio/ratio.si/nothing_to_do.pass.cpp | 0 .../std/utilities/ratio/typedefs.pass.cpp | 0 .../libcudacxx}/std/utilities/time/clock.h | 0 .../utilities/time/date.time/ctime.pass.cpp | 0 .../std/utilities/time/days.pass.cpp | 0 .../std/utilities/time/hours.pass.cpp | 0 .../std/utilities/time/microseconds.pass.cpp | 0 .../std/utilities/time/milliseconds.pass.cpp | 0 .../std/utilities/time/minutes.pass.cpp | 0 .../std/utilities/time/months.pass.cpp | 0 .../std/utilities/time/nanoseconds.pass.cpp | 0 .../libcudacxx}/std/utilities/time/rep.h | 0 .../std/utilities/time/seconds.pass.cpp | 0 .../std/utilities/time/time.cal/euclidian.h | 0 .../time/time.cal/nothing_to_do.pass.cpp | 0 .../time.cal.day.members/ctor.pass.cpp | 0 .../time.cal.day.members/decrement.pass.cpp | 0 .../time.cal.day.members/increment.pass.cpp | 0 .../time.cal.day.members/ok.pass.cpp | 0 .../plus_minus_equal.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../time.cal.day.nonmembers/literals.fail.cpp | 0 .../time.cal.day.nonmembers/literals.pass.cpp | 0 .../time.cal.day.nonmembers/minus.pass.cpp | 0 .../time.cal.day.nonmembers/plus.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time/time.cal/time.cal.day/types.pass.cpp | 0 .../time.cal/time.cal.last/types.pass.cpp | 0 .../time.cal.md.members/ctor.pass.cpp | 0 .../time.cal.md.members/day.pass.cpp | 0 .../time.cal.md.members/month.pass.cpp | 0 .../time.cal.md.members/ok.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../time.cal.md.nonmembers/streaming.pass.cpp | 0 .../time/time.cal/time.cal.md/types.pass.cpp | 0 .../time.cal.mdlast/comparisons.pass.cpp | 0 .../time.cal/time.cal.mdlast/ctor.pass.cpp | 0 .../time.cal/time.cal.mdlast/month.pass.cpp | 0 .../time/time.cal/time.cal.mdlast/ok.pass.cpp | 0 .../time.cal.mdlast/streaming.pass.cpp | 0 .../time.cal/time.cal.mdlast/types.pass.cpp | 0 .../time.cal.month.members/ctor.pass.cpp | 0 .../time.cal.month.members/decrement.pass.cpp | 0 .../time.cal.month.members/increment.pass.cpp | 0 .../time.cal.month.members/ok.pass.cpp | 0 .../plus_minus_equal.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../literals.pass.cpp | 0 .../time.cal.month.nonmembers/minus.pass.cpp | 0 .../time.cal.month.nonmembers/plus.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time.cal/time.cal.month/types.pass.cpp | 0 .../time.cal.mwd.members/ctor.pass.cpp | 0 .../time.cal.mwd.members/month.pass.cpp | 0 .../time.cal.mwd.members/ok.pass.cpp | 0 .../weekday_indexed.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time/time.cal/time.cal.mwd/types.pass.cpp | 0 .../time.cal.mwdlast.members/ctor.pass.cpp | 0 .../time.cal.mwdlast.members/month.pass.cpp | 0 .../time.cal.mwdlast.members/ok.pass.cpp | 0 .../weekday_last.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time.cal/time.cal.mwdlast/types.pass.cpp | 0 .../time.cal.operators/month_day.pass.cpp | 0 .../month_day_last.pass.cpp | 0 .../time.cal.operators/month_weekday.pass.cpp | 0 .../month_weekday_last.pass.cpp | 0 .../time.cal.operators/year_month.pass.cpp | 0 .../year_month_day.pass.cpp | 0 .../year_month_day_last.pass.cpp | 0 .../year_month_weekday.pass.cpp | 0 .../year_month_weekday_last.pass.cpp | 0 .../time.cal.wdidx.members/ctor.pass.cpp | 0 .../time.cal.wdidx.members/index.pass.cpp | 0 .../time.cal.wdidx.members/ok.pass.cpp | 0 .../time.cal.wdidx.members/weekday.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time.cal/time.cal.wdidx/types.pass.cpp | 0 .../time.cal.wdlast.members/ctor.pass.cpp | 0 .../time.cal.wdlast.members/ok.pass.cpp | 0 .../time.cal.wdlast.members/weekday.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time.cal/time.cal.wdlast/types.pass.cpp | 0 .../c_encoding.pass.cpp | 0 .../ctor.local_days.pass.cpp | 0 .../time.cal.weekday.members/ctor.pass.cpp | 0 .../ctor.sys_days.pass.cpp | 0 .../decrement.pass.cpp | 0 .../increment.pass.cpp | 0 .../iso_encoding.pass.cpp | 0 .../time.cal.weekday.members/ok.pass.cpp | 0 .../operator_index.pass.cpp | 0 .../plus_minus_equal.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../literals.pass.cpp | 0 .../minus.pass.cpp | 0 .../time.cal.weekday.nonmembers/plus.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time.cal/time.cal.weekday/types.pass.cpp | 0 .../time.cal.year.members/ctor.pass.cpp | 0 .../time.cal.year.members/decrement.pass.cpp | 0 .../time.cal.year.members/increment.pass.cpp | 0 .../time.cal.year.members/is_leap.pass.cpp | 0 .../time.cal.year.members/ok.pass.cpp | 0 .../time.cal.year.members/plus_minus.pass.cpp | 0 .../plus_minus_equal.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../literals.fail.cpp | 0 .../literals.pass.cpp | 0 .../time.cal.year.nonmembers/minus.pass.cpp | 0 .../time.cal.year.nonmembers/plus.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time.cal/time.cal.year/types.pass.cpp | 0 .../time.cal.ym.members/ctor.pass.cpp | 0 .../time.cal.ym.members/month.pass.cpp | 0 .../time.cal.ym.members/ok.pass.cpp | 0 .../plus_minus_equal_month.pass.cpp | 0 .../plus_minus_equal_year.pass.cpp | 0 .../time.cal.ym.members/year.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../time.cal.ym.nonmembers/minus.pass.cpp | 0 .../time.cal.ym.nonmembers/plus.pass.cpp | 0 .../time.cal.ym.nonmembers/streaming.pass.cpp | 0 .../time/time.cal/time.cal.ym/types.pass.cpp | 0 .../ctor.local_days.pass.cpp | 0 .../time.cal.ymd.members/ctor.pass.cpp | 0 .../ctor.sys_days.pass.cpp | 0 .../ctor.year_month_day_last.pass.cpp | 0 .../time.cal.ymd.members/day.pass.cpp | 0 .../time.cal.ymd.members/month.pass.cpp | 0 .../time.cal.ymd.members/ok.pass.cpp | 0 .../op.local_days.pass.cpp | 0 .../time.cal.ymd.members/op.sys_days.pass.cpp | 0 .../plus_minus_equal_month.pass.cpp | 0 .../plus_minus_equal_year.pass.cpp | 0 .../time.cal.ymd.members/year.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../time.cal.ymd.nonmembers/minus.pass.cpp | 0 .../time.cal.ymd.nonmembers/plus.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time/time.cal/time.cal.ymd/types.pass.cpp | 0 .../time.cal.ymdlast.members/ctor.pass.cpp | 0 .../time.cal.ymdlast.members/day.pass.cpp | 0 .../time.cal.ymdlast.members/month.pass.cpp | 0 .../month_day_last.pass.cpp | 0 .../time.cal.ymdlast.members/ok.pass.cpp | 0 .../op_local_days.pass.cpp | 0 .../op_sys_days.pass.cpp | 0 .../plus_minus_equal_month.pass.cpp | 0 .../plus_minus_equal_year.pass.cpp | 0 .../time.cal.ymdlast.members/year.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../minus.pass.cpp | 0 .../time.cal.ymdlast.nonmembers/plus.pass.cpp | 0 .../streaming.pass.cpp | 0 .../ctor.local_days.pass.cpp | 0 .../time.cal.ymwd.members/ctor.pass.cpp | 0 .../ctor.sys_days.pass.cpp | 0 .../time.cal.ymwd.members/index.pass.cpp | 0 .../time.cal.ymwd.members/month.pass.cpp | 0 .../time.cal.ymwd.members/ok.pass.cpp | 0 .../op.local_days.pass.cpp | 0 .../op.sys_days.pass.cpp | 0 .../plus_minus_equal_month.pass.cpp | 0 .../plus_minus_equal_year.pass.cpp | 0 .../time.cal.ymwd.members/weekday.pass.cpp | 0 .../weekday_indexed.pass.cpp | 0 .../time.cal.ymwd.members/year.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../time.cal.ymwd.nonmembers/minus.pass.cpp | 0 .../time.cal.ymwd.nonmembers/plus.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time.cal/time.cal.ymwd/types.pass.cpp | 0 .../time.cal.ymwdlast.members/ctor.pass.cpp | 0 .../time.cal.ymwdlast.members/month.pass.cpp | 0 .../time.cal.ymwdlast.members/ok.pass.cpp | 0 .../op_local_days.pass.cpp | 0 .../op_sys_days.pass.cpp | 0 .../plus_minus_equal_month.pass.cpp | 0 .../plus_minus_equal_year.pass.cpp | 0 .../weekday.pass.cpp | 0 .../time.cal.ymwdlast.members/year.pass.cpp | 0 .../comparisons.pass.cpp | 0 .../minus.pass.cpp | 0 .../plus.pass.cpp | 0 .../streaming.pass.cpp | 0 .../time.cal/time.cal.ymwdlast/types.pass.cpp | 0 .../time.clock.req/nothing_to_do.pass.cpp | 0 .../time/time.clock/nothing_to_do.pass.cpp | 0 .../time.clock.file/consistency.pass.cpp | 0 .../time.clock.file/file_time.pass.cpp | 0 .../time.clock/time.clock.file/now.pass.cpp | 0 .../time.clock.file/rep_signed.pass.cpp | 0 .../time.clock.hires/consistency.pass.cpp | 0 .../time.clock/time.clock.hires/now.pass.cpp | 0 .../time.clock.system/consistency.pass.cpp | 0 .../time.clock.system/from_time_t.pass.cpp | 0 .../local_time.types.pass.cpp | 0 .../time.clock/time.clock.system/now.pass.cpp | 0 .../time.clock.system/rep_signed.pass.cpp | 0 .../time.clock.system/sys.time.types.pass.cpp | 0 .../time.clock.system/to_time_t.pass.cpp | 0 .../time/time.duration/default_ratio.pass.cpp | 0 .../time/time.duration/duration.fail.cpp | 0 .../time/time.duration/positive_num.fail.cpp | 0 .../time/time.duration/ratio.fail.cpp | 0 .../time.duration.alg/abs.fail.cpp | 0 .../time.duration.alg/abs.pass.cpp | 0 .../time.duration.arithmetic/op_++.pass.cpp | 0 .../op_++int.pass.cpp | 0 .../time.duration.arithmetic/op_+.pass.cpp | 0 .../time.duration.arithmetic/op_+_eq.pass.cpp | 0 .../time.duration.arithmetic/op_--.pass.cpp | 0 .../op_--int.pass.cpp | 0 .../time.duration.arithmetic/op_-.pass.cpp | 0 .../time.duration.arithmetic/op_-_eq.pass.cpp | 0 .../op_divide_eq.pass.cpp | 0 .../op_mod_eq_duration.pass.cpp | 0 .../op_mod_eq_rep.pass.cpp | 0 .../op_times_eq.pass.cpp | 0 .../time.duration.cast/ceil.fail.cpp | 0 .../time.duration.cast/ceil.pass.cpp | 0 .../time.duration.cast/duration_cast.pass.cpp | 0 .../time.duration.cast/floor.fail.cpp | 0 .../time.duration.cast/floor.pass.cpp | 0 .../time.duration.cast/round.fail.cpp | 0 .../time.duration.cast/round.pass.cpp | 0 .../time.duration.cast/toduration.fail.cpp | 0 .../op_equal.pass.cpp | 0 .../op_less.pass.cpp | 0 .../time.duration.cons/convert_exact.pass.cpp | 0 .../convert_float_to_int.fail.cpp | 0 .../convert_inexact.fail.cpp | 0 .../convert_inexact.pass.cpp | 0 .../convert_int_to_float.pass.cpp | 0 .../convert_overflow.pass.cpp | 0 .../time.duration.cons/default.pass.cpp | 0 .../time.duration.cons/rep.pass.cpp | 0 .../time.duration.cons/rep01.fail.cpp | 0 .../time.duration.cons/rep02.fail.cpp | 0 .../time.duration.cons/rep02.pass.cpp | 0 .../time.duration.cons/rep03.fail.cpp | 0 .../literals.abiv3.pass.cpp | 0 .../time.duration.literals/literals.pass.cpp | 0 .../time.duration.literals/literals1.fail.cpp | 0 .../time.duration.literals/literals1.pass.cpp | 0 .../time.duration.literals/literals2.fail.cpp | 0 .../time.duration.literals/literals2.pass.cpp | 0 .../time.duration.nonmember/op_+.pass.cpp | 0 .../time.duration.nonmember/op_-.pass.cpp | 0 .../op_divide_duration.pass.cpp | 0 .../op_divide_rep.fail.cpp | 0 .../op_divide_rep.pass.cpp | 0 .../op_mod_duration.pass.cpp | 0 .../op_mod_rep.fail.cpp | 0 .../op_mod_rep.pass.cpp | 0 .../op_times_rep.pass.cpp | 0 .../op_times_rep1.fail.cpp | 0 .../op_times_rep2.fail.cpp | 0 .../tested_elsewhere.pass.cpp | 0 .../time.duration.special/max.pass.cpp | 0 .../time.duration.special/min.pass.cpp | 0 .../time.duration.special/zero.pass.cpp | 0 .../time/time.duration/types.pass.cpp | 0 .../utilities/time/time.hms/hhmmss.fail.cpp | 0 .../time/time.hms/time.12/is_am.pass.cpp | 0 .../time/time.hms/time.12/is_pm.pass.cpp | 0 .../time/time.hms/time.12/make12.pass.cpp | 0 .../time/time.hms/time.12/make24.pass.cpp | 0 .../time.hms/time.hms.members/hours.pass.cpp | 0 .../time.hms.members/is_negative.pass.cpp | 0 .../time.hms.members/minutes.pass.cpp | 0 .../time.hms.members/precision.pass.cpp | 0 .../time.hms.members/precision_type.pass.cpp | 0 .../time.hms.members/seconds.pass.cpp | 0 .../time.hms.members/subseconds.pass.cpp | 0 .../time.hms.members/to_duration.pass.cpp | 0 .../time.hms/time.hms.members/width.pass.cpp | 0 .../nothing.to.do.pass.cpp | 0 .../time/time.point/default_duration.pass.cpp | 0 .../time/time.point/duration.fail.cpp | 0 .../op_minus_eq.pass.cpp | 0 .../time.point.arithmetic/op_plus_eq.pass.cpp | 0 .../time.point/time.point.cast/ceil.fail.cpp | 0 .../time.point/time.point.cast/ceil.pass.cpp | 0 .../time.point/time.point.cast/floor.fail.cpp | 0 .../time.point/time.point.cast/floor.pass.cpp | 0 .../time.point/time.point.cast/round.fail.cpp | 0 .../time.point/time.point.cast/round.pass.cpp | 0 .../time.point.cast/time_point_cast.pass.cpp | 0 .../time.point.cast/toduration.fail.cpp | 0 .../time.point.comparisons/op_equal.fail.cpp | 0 .../time.point.comparisons/op_equal.pass.cpp | 0 .../time.point.comparisons/op_less.fail.cpp | 0 .../time.point.comparisons/op_less.pass.cpp | 0 .../time.point.cons/convert.fail.cpp | 0 .../time.point.cons/convert.pass.cpp | 0 .../time.point.cons/default.pass.cpp | 0 .../time.point.cons/duration.fail.cpp | 0 .../time.point.cons/duration.pass.cpp | 0 .../time.point.nonmember/op_+.pass.cpp | 0 .../op_-duration.pass.cpp | 0 .../op_-time_point.pass.cpp | 0 .../tested_elsewhere.pass.cpp | 0 .../time.point.special/max.pass.cpp | 0 .../time.point.special/min.pass.cpp | 0 .../time/time.traits/nothing_to_do.pass.cpp | 0 .../time.traits.duration_values/max.pass.cpp | 0 .../time.traits.duration_values/min.pass.cpp | 0 .../time.traits.duration_values/zero.pass.cpp | 0 .../treat_as_floating_point.pass.cpp | 0 .../duration.pass.cpp | 0 .../time_point.pass.cpp | 0 .../std/utilities/time/weeks.pass.cpp | 0 .../std/utilities/time/years.pass.cpp | 0 .../tuple/tuple.general/ignore.pass.cpp | 0 .../tuple.general/tuple.smartptr.pass.cpp | 0 .../tuple/tuple.tuple/TupleFunction.pass.cpp | 0 .../utilities/tuple/tuple.tuple/alloc_first.h | 0 .../utilities/tuple/tuple.tuple/alloc_last.h | 0 .../tuple.tuple/tuple.apply/apply.pass.cpp | 0 .../tuple.apply/apply_extended_types.pass.cpp | 0 .../tuple.apply/apply_large_arity.pass.cpp | 0 .../tuple.apply/make_from_tuple.pass.cpp | 0 .../tuple.assign/const_pair.pass.cpp | 0 .../tuple.assign/convert_copy.pass.cpp | 0 .../tuple.assign/convert_move.pass.cpp | 0 .../tuple.tuple/tuple.assign/copy.fail.cpp | 0 .../tuple.tuple/tuple.assign/copy.pass.cpp | 0 .../tuple.tuple/tuple.assign/move.pass.cpp | 0 .../tuple.assign/move_pair.pass.cpp | 0 ...855_tuple_ref_binding_diagnostics.pass.cpp | 0 ...PR22806_constrain_tuple_like_ctor.pass.cpp | 0 .../PR23256_constrain_UTypes_ctor.pass.cpp | 0 ...4_contains_ref_to_incomplete_type.pass.cpp | 0 .../tuple.tuple/tuple.cnstr/PR31384.pass.cpp | 0 .../tuple.tuple/tuple.cnstr/UTypes.fail.cpp | 0 .../tuple.tuple/tuple.cnstr/UTypes.pass.cpp | 0 .../tuple.tuple/tuple.cnstr/alloc.fail.cpp | 0 .../tuple.tuple/tuple.cnstr/alloc.pass.cpp | 0 .../tuple.cnstr/alloc_UTypes.pass.cpp | 0 .../tuple.cnstr/alloc_const_Types.fail.cpp | 0 .../tuple.cnstr/alloc_const_Types.pass.cpp | 0 .../tuple.cnstr/alloc_const_pair.pass.cpp | 0 .../tuple.cnstr/alloc_convert_copy.fail.cpp | 0 .../tuple.cnstr/alloc_convert_copy.pass.cpp | 0 .../tuple.cnstr/alloc_convert_move.fail.cpp | 0 .../tuple.cnstr/alloc_convert_move.pass.cpp | 0 .../tuple.cnstr/alloc_copy.pass.cpp | 0 .../tuple.cnstr/alloc_move.pass.cpp | 0 .../tuple.cnstr/alloc_move_pair.pass.cpp | 0 .../tuple.cnstr/const_Types.fail.cpp | 0 .../tuple.cnstr/const_Types.pass.cpp | 0 .../tuple.cnstr/const_Types2.fail.cpp | 0 .../tuple.cnstr/const_pair.pass.cpp | 0 .../tuple.cnstr/convert_copy.pass.cpp | 0 .../tuple.cnstr/convert_move.pass.cpp | 0 .../tuple.tuple/tuple.cnstr/copy.fail.cpp | 0 .../tuple.tuple/tuple.cnstr/copy.pass.cpp | 0 .../tuple.tuple/tuple.cnstr/deduct.pass.cpp | 0 .../tuple.tuple/tuple.cnstr/default.fail.cpp | 0 .../tuple.tuple/tuple.cnstr/default.pass.cpp | 0 .../tuple.tuple/tuple.cnstr/dtor.pass.cpp | 0 .../tuple.tuple/tuple.cnstr/move.pass.cpp | 0 .../tuple.cnstr/move_pair.pass.cpp | 0 .../tuple.cnstr/nothrow_cnstr.pass.cpp | 0 .../tuple.cnstr/test_lazy_sfinae.pass.cpp | 0 .../tuple_array_template_depth.pass.cpp | 0 .../tuple.creation/forward_as_tuple.pass.cpp | 0 .../tuple.creation/make_tuple.pass.cpp | 0 .../tuple.tuple/tuple.creation/tie.pass.cpp | 0 .../tuple.creation/tuple_cat.pass.cpp | 0 .../tuple.tuple/tuple.elem/get_const.fail.cpp | 0 .../tuple.tuple/tuple.elem/get_const.pass.cpp | 0 .../tuple.elem/get_const_rv.fail.cpp | 0 .../tuple.elem/get_const_rv.pass.cpp | 0 .../tuple.elem/get_non_const.pass.cpp | 0 .../tuple.tuple/tuple.elem/get_rv.pass.cpp | 0 .../tuple.elem/tuple.by.type.fail.cpp | 0 .../tuple.elem/tuple.by.type.pass.cpp | 0 .../tuple.helper/tuple.include.array.pass.cpp | 0 .../tuple.include.utility.pass.cpp | 0 .../tuple.helper/tuple_element.fail.cpp | 0 .../tuple.helper/tuple_element.pass.cpp | 0 .../tuple.helper/tuple_size.fail.cpp | 0 .../tuple.helper/tuple_size.pass.cpp | 0 .../tuple_size_incomplete.fail.cpp | 0 .../tuple_size_incomplete.pass.cpp | 0 .../tuple_size_structured_bindings.pass.cpp | 0 .../tuple.helper/tuple_size_v.fail.cpp | 0 .../tuple.helper/tuple_size_v.pass.cpp | 0 .../tuple_size_value_sfinae.pass.cpp | 0 .../tuple/tuple.tuple/tuple.rel/eq.pass.cpp | 0 .../tuple/tuple.tuple/tuple.rel/lt.pass.cpp | 0 .../tuple.special/non_member_swap.pass.cpp | 0 .../tuple.swap/member_swap.pass.cpp | 0 .../tuple.traits/uses_allocator.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../hash.requirements/nothing_to_do.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../nothing_to_do.pass.cpp | 0 .../as_const/as_const.compile.fail.cpp | 0 .../utility/as_const/as_const.pass.cpp | 0 .../utility/declval/declval.pass.cpp | 0 .../utility/exchange/exchange.pass.cpp | 0 .../utility/forward/forward.fail.cpp | 0 .../utility/forward/forward.pass.cpp | 0 .../utility/forward/forward_like.pass.cpp | 0 .../utilities/utility/forward/move.fail.cpp | 0 .../utilities/utility/forward/move.pass.cpp | 0 .../utility/forward/move_if_noexcept.pass.cpp | 0 .../utility/operators/rel_ops.pass.cpp | 0 .../utility/pairs/nothing_to_do.pass.cpp | 0 .../pairs/pair.astuple/get_const.fail.cpp | 0 .../pairs/pair.astuple/get_const.pass.cpp | 0 .../pairs/pair.astuple/get_const_rv.pass.cpp | 0 .../pairs/pair.astuple/get_non_const.pass.cpp | 0 .../pairs/pair.astuple/get_rv.pass.cpp | 0 .../pairs/pair.astuple/pairs.by.type.pass.cpp | 0 .../pair.astuple/pairs.by.type1.fail.cpp | 0 .../pair.astuple/pairs.by.type2.fail.cpp | 0 .../pair.astuple/pairs.by.type3.fail.cpp | 0 .../pairs/pair.astuple/tuple_element.fail.cpp | 0 .../pairs/pair.astuple/tuple_element.pass.cpp | 0 .../pairs/pair.astuple/tuple_size.pass.cpp | 0 .../piecewise_construct.pass.cpp | 0 .../piecewise_construct_t.fail.cpp | 0 .../piecewise_construct_t.pass.cpp | 0 .../pairs.general/nothing_to_do.pass.cpp | 0 .../utility/pairs/pairs.pair/U_V.pass.cpp | 0 .../pairs.pair/assign_const_pair_U_V.pass.cpp | 0 .../pairs/pairs.pair/assign_pair.pass.cpp | 0 .../pairs.pair/assign_pair_cxx03.pass.cpp | 0 .../pairs/pairs.pair/assign_rv_pair.pass.cpp | 0 .../pairs.pair/assign_rv_pair_U_V.pass.cpp | 0 .../const_first_const_second.pass.cpp | 0 .../const_first_const_second_cxx03.pass.cpp | 0 .../pairs/pairs.pair/const_pair_U_V.pass.cpp | 0 .../pairs.pair/const_pair_U_V_cxx03.pass.cpp | 0 .../pairs/pairs.pair/copy_ctor.pass.cpp | 0 .../pairs/pairs.pair/default-sfinae.pass.cpp | 0 .../pairs.pair/default.explicit.fail.cpp | 0 .../utility/pairs/pairs.pair/default.pass.cpp | 0 .../utility/pairs/pairs.pair/dtor.pass.cpp | 0 .../implicit_deduction_guides.pass.cpp | 0 .../pairs/pairs.pair/move_ctor.pass.cpp | 0 .../pairs.pair/not_constexpr_cxx11.fail.cpp | 0 .../pairs/pairs.pair/piecewise.pass.cpp | 0 .../pairs/pairs.pair/rv_pair_U_V.pass.cpp | 0 .../special_member_generation_test.pass.cpp | 0 .../utility/pairs/pairs.pair/swap.pass.cpp | 0 .../pairs.pair/trivial_copy_move.pass.cpp | 0 .../utility/pairs/pairs.pair/types.pass.cpp | 0 .../pairs/pairs.spec/comparison.pass.cpp | 0 .../pairs/pairs.spec/make_pair.pass.cpp | 0 .../pairs/pairs.spec/non_member_swap.pass.cpp | 0 .../utility/utility.inplace/inplace.pass.cpp | 0 .../intcmp.cmp_equal/cmp_equal.pass.cpp | 0 .../intcmp.cmp_greater/cmp_greater.pass.cpp | 0 .../cmp_greater_equal.pass.cpp | 0 .../intcmp.cmp_less/cmp_less.pass.cpp | 0 .../cmp_less_equal.pass.cpp | 0 .../cmp_not_equal.pass.cpp | 0 .../utility/utility.intcmp/intcmp.fail.cpp | 0 .../intcmp.in_range/in_range.pass.cpp | 0 .../utility.underlying/to_underlying.pass.cpp | 0 .../to_underlying.verify.cpp | 0 .../unreachable.compile.pass.cpp | 0 .../unreachable.verify.cpp | 0 .../views/views.span/span.cons/array.fail.cpp | 0 .../views/views.span/span.cons/array.pass.cpp | 0 .../views.span/span.cons/assign.pass.cpp | 0 .../views/views.span/span.cons/copy.pass.cpp | 0 .../views.span/span.cons/deduct.pass.cpp | 0 .../views.span/span.cons/default.fail.cpp | 0 .../views.span/span.cons/default.pass.cpp | 0 .../span.cons/initializer_list.pass.cpp | 0 .../span.cons/iterator_len.pass.cpp | 0 .../span.cons/iterator_len.verify.cpp | 0 .../span.cons/iterator_sentinel.pass.cpp | 0 .../span.cons/iterator_sentinel.verify.cpp | 0 .../views/views.span/span.cons/range.pass.cpp | 0 .../views.span/span.cons/range.verify.cpp | 0 .../span.cons/span.dtor.compile.pass.cpp | 0 .../views/views.span/span.cons/span.fail.cpp | 0 .../views/views.span/span.cons/span.pass.cpp | 0 .../views.span/span.cons/stdarray.pass.cpp | 0 .../views/views.span/span.elem/back.pass.cpp | 0 .../views/views.span/span.elem/data.pass.cpp | 0 .../views/views.span/span.elem/front.pass.cpp | 0 .../views.span/span.elem/op_idx.pass.cpp | 0 .../views.span/span.iterators/begin.pass.cpp | 0 .../views.span/span.iterators/end.pass.cpp | 0 .../views.span/span.iterators/rbegin.pass.cpp | 0 .../views.span/span.iterators/rend.pass.cpp | 0 .../span.objectrep/as_bytes.pass.cpp | 0 .../span.objectrep/as_writable_bytes.pass.cpp | 0 .../as_writable_bytes.verify.cpp | 0 .../span.obs/empty.nodiscard.verify.cpp | 0 .../views/views.span/span.obs/empty.pass.cpp | 0 .../views/views.span/span.obs/size.pass.cpp | 0 .../views.span/span.obs/size_bytes.pass.cpp | 0 .../views/views.span/span.sub/first.pass.cpp | 0 .../views.span/span.sub/first.verify.cpp | 0 .../views/views.span/span.sub/last.pass.cpp | 0 .../views/views.span/span.sub/last.verify.cpp | 0 .../views.span/span.sub/subspan.pass.cpp | 0 .../views.span/span.sub/subspan.verify.cpp | 0 .../trivially_copyable.compile.pass.cpp | 0 .../std/views/views.span/types.pass.cpp | 0 .../maintenance/all-internal-headers | 0 .../maintenance/cuda-to-std | 0 .../maintenance/std-to-cuda | 0 .../maintenance/stdlib-headers | 0 .../host_only => test/smoke}/CMakeLists.txt | 7 +- .../smoke}/detect_dialect.cpp | 0 .../smoke}/header_test.cpp.in | 4 + .../test/support/Counter.h | 0 .../test/support/DefaultOnly.h | 0 .../test/support/MoveOnly.h | 0 .../test/support/allocators.h | 0 .../test/support/any_helpers.h | 0 .../test/support/archetypes.h | 0 .../test/support/archetypes.ipp | 0 .../test/support/asan_testing.h | 0 .../test/support/assert_checkpoint.h | 0 .../test/support/callable_types.h | 0 .../test/support/charconv_test_helpers.h | 0 .../test/support/check_assertion.h | 0 .../test/support/cmpxchg_loop.h | 0 .../test/support/compare_types.h | 0 .../test/support/concurrent_agents.h | 0 .../test/support/constexpr_char_traits.h | 0 .../test/support/container_debug_tests.h | 0 .../test/support/container_test_types.h | 0 .../test/support/controlled_allocators.h | 0 .../test/support/coroutine_types.h | 0 .../test/support/count_new.h | 0 .../test/support/counting_predicates.h | 0 .../test/support/cuda_space_selector.h | 0 .../test/support/deleter_types.h | 0 .../test/support/demangle.h | 0 .../support/disable_missing_braces_warning.h | 0 .../test/support/emplace_constructible.h | 0 .../test/support/experimental_any_helpers.h | 0 .../support/filesystem_dynamic_test_helper.py | 0 .../test/support/filesystem_include.h | 0 .../test/support/filesystem_test_helper.h | 0 .../test/support/format_string.h | 0 .../test/support/fp_compare.h | 0 .../test/support/hexfloat.h | 0 .../test/support/indirectly_readable.h | 0 .../test/support/is_transparent.h | 0 .../support/iterator_traits_cpp17_iterators.h | 0 .../test/support/min_allocator.h | 0 .../test/support/msvc_stdlib_force_include.h | 0 .../test/support/nasty_containers.h | 0 .../test/support/nasty_macros.h | 0 .../test/support/nothing_to_do.pass.cpp | 0 .../test/support/nvrtc_limit_macros.h | 0 .../test/support/placement_new.h | 0 .../test/support/platform_support.h | 0 .../support/pointer_comparison_test_helper.h | 0 .../test/support/poisoned_hash_helper.h | 0 .../test/support/private_constructor.h | 0 .../test/support/propagate_const_helpers.h | 0 .../test/support/rapid-cxx-test.h | 0 .../test/support/read_write.h | 0 .../support/set_windows_crt_report_mode.h | 0 .../test/support/template_cost_testing.h | 0 .../c1xx_broken_za_ctor_check.pass.cpp | 0 .../test/support/test_allocator.h | 0 .../test/support/test_comparisons.h | 0 .../test/support/test_convertible.h | 0 .../test/support/test_iterators.h | 0 .../test/support/test_macros.h | 0 .../test/support/test_memory_resource.h | 0 .../test/support/test_workarounds.h | 0 .../test/support/tracked_value.h | 0 .../test/support/truncate_fp.h | 0 .../support/type_classification/copyable.h | 0 .../support/type_classification/movable.h | 0 .../type_classification/moveconstructible.h | 0 .../support/type_classification/semiregular.h | 0 .../support/type_classification/swappable.h | 0 .../test/support/type_id.h | 0 .../test/support/unique_ptr_test_helper.h | 0 .../test/support/user_defined_integral.h | 0 .../test/support/uses_alloc_types.h | 0 .../test/support/variant_test_helpers.h | 0 .../test/support/verbose_assert.h | 0 .../utils/libcudacxx/__init__.py | 0 .../utils/libcudacxx/compiler.py | 0 .../utils/libcudacxx/dumpversion.cpp | 0 .../utils/libcudacxx/empty.cpp | 0 .../utils/libcudacxx/sym_check/__init__.py | 0 .../utils/libcudacxx/sym_check/diff.py | 0 .../utils/libcudacxx/sym_check/extract.py | 0 .../utils/libcudacxx/sym_check/match.py | 0 .../utils/libcudacxx/sym_check/util.py | 0 .../utils/libcudacxx/test/__init__.py | 0 .../utils/libcudacxx/test/config.py | 6 +- .../utils/libcudacxx/test/executor.py | 0 .../utils/libcudacxx/test/format.py | 0 .../utils/libcudacxx/test/googlebenchmark.py | 0 .../utils/libcudacxx/test/target_info.py | 0 .../utils/libcudacxx/test/tracing.py | 0 .../utils/libcudacxx/util.py | 0 .../utils/nvidia/getsm/.gitignore | 0 .../utils/nvidia/getsm/CMakeLists.txt | 0 .../utils/nvidia/getsm/main.cu | 0 .../utils/nvidia/nvrtc/CMakeLists.txt | 0 .../utils/nvidia/nvrtc/README.md | 0 .../utils/nvidia/nvrtc/nvrtcc.cpp | 0 .../utils/nvidia/nvrtc/nvrtcc_build.h | 0 .../utils/nvidia/nvrtc/nvrtcc_common.h | 0 .../utils/nvidia/nvrtc/nvrtcc_run.h | 0 .../utils/nvidia/nvrtc/utils/platform.h | 0 .../utils/nvidia/nvrtc/utils/platform.linux.h | 0 .../utils/nvidia/nvrtc/utils/platform.win.h | 0 libcudacxx/utils | 1 - 2075 files changed, 29 insertions(+), 21824 deletions(-) delete mode 100644 libcudacxx/.upstream-tests/cmake/caches/Apple.cmake delete mode 100644 libcudacxx/.upstream-tests/docs/DesignDocs/ExperimentalFeatures.rst delete mode 100644 libcudacxx/.upstream-tests/docs/DesignDocs/ExtendedCXX03Support.rst delete mode 100644 libcudacxx/.upstream-tests/test/pretty_printers/gdb_pretty_printer_test.py delete mode 100644 libcudacxx/.upstream-tests/test/pretty_printers/gdb_pretty_printer_test.sh.cpp delete mode 100755 libcudacxx/.upstream-tests/utils/cat_files.py delete mode 100755 libcudacxx/.upstream-tests/utils/ci/macos-backdeployment.sh delete mode 100755 libcudacxx/.upstream-tests/utils/ci/macos-trunk.sh delete mode 100644 libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.base delete mode 100644 libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.buildbot delete mode 100644 libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.clang delete mode 100644 libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.compiler_zoo delete mode 100644 libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.gcc delete mode 100644 libcudacxx/.upstream-tests/utils/docker/docker-compose.yml delete mode 100755 libcudacxx/.upstream-tests/utils/docker/scripts/build_gcc_version.sh delete mode 100755 libcudacxx/.upstream-tests/utils/docker/scripts/build_llvm_version.sh delete mode 100755 libcudacxx/.upstream-tests/utils/docker/scripts/docker_start_buildbots.sh delete mode 100755 libcudacxx/.upstream-tests/utils/docker/scripts/docker_update_bot.sh delete mode 100755 libcudacxx/.upstream-tests/utils/docker/scripts/install_clang_packages.sh delete mode 100755 libcudacxx/.upstream-tests/utils/docker/scripts/run_buildbot.sh delete mode 100644 libcudacxx/.upstream-tests/utils/gdb/libcxx/printers.py delete mode 100755 libcudacxx/.upstream-tests/utils/gen_link_script.py delete mode 100755 libcudacxx/.upstream-tests/utils/generate_feature_test_macro_components.py delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/.clang-format delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/.gitignore delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/.travis-libcxx-setup.sh delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/.travis.yml delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/.ycm_extra_conf.py delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/AUTHORS delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/CMakeLists.txt delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/CONTRIBUTING.md delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/CONTRIBUTORS delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/LICENSE delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/README.LLVM delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/README.md delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/WORKSPACE delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/appveyor.yml delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/AddCXXCompilerFlag.cmake delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/CXXFeatureCheck.cmake delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/Config.cmake.in delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/GetGitVersion.cmake delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/HandleGTest.cmake delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/benchmark.pc.in delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/gnu_posix_regex.cpp delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/llvm-toolchain.cmake delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/posix_regex.cpp delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/split_list.cmake delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/std_regex.cpp delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/steady_clock.cpp delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/cmake/thread_safety_attributes.cpp delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/docs/AssemblyTests.md delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/docs/tools.md delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/include/benchmark/benchmark.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/mingw.py delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/releasing.md delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/CMakeLists.txt delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/arraysize.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_api_internal.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_api_internal.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_main.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_register.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_register.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_runner.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_runner.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/check.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/colorprint.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/colorprint.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/commandlineflags.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/commandlineflags.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/complexity.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/complexity.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/console_reporter.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/counter.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/counter.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/csv_reporter.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/cycleclock.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/internal_macros.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/json_reporter.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/log.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/mutex.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/re.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/reporter.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/sleep.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/sleep.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/statistics.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/statistics.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/string_util.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/string_util.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/sysinfo.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/thread_manager.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/thread_timer.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/timers.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/src/timers.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/AssemblyTests.cmake delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/CMakeLists.txt delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/basic_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/benchmark_gtest.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/benchmark_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/clobber_memory_assembly_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/complexity_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/cxx03_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/diagnostics_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/display_aggregates_only_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/donotoptimize_assembly_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/donotoptimize_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/filter_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/fixture_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/link_main_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/map_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/memory_manager_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/multiple_ranges_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/options_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/output_test.h delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/output_test_helper.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/register_benchmark_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/report_aggregates_only_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/reporter_output_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/skip_with_error_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/state_assembly_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/statistics_gtest.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/string_util_gtest.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/templated_fixture_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_tabular_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_test.cc delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_thousands_test.cc delete mode 100755 libcudacxx/.upstream-tests/utils/google-benchmark/tools/compare.py delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test1_run1.json delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test1_run2.json delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test2_run.json delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test3_run0.json delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test3_run1.json delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/__init__.py delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/report.py delete mode 100644 libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/util.py delete mode 100755 libcudacxx/.upstream-tests/utils/google-benchmark/tools/strip_asm.py delete mode 100755 libcudacxx/.upstream-tests/utils/merge_archives.py delete mode 100644 libcudacxx/.upstream-tests/utils/not.py delete mode 100755 libcudacxx/.upstream-tests/utils/nvidia/linux/docker/attach_cuda_driver_to_docker_image.bash delete mode 100755 libcudacxx/.upstream-tests/utils/nvidia/linux/docker/build_and_run_docker_image.bash delete mode 100755 libcudacxx/.upstream-tests/utils/nvidia/linux/docker/build_base_docker_image.bash delete mode 100755 libcudacxx/.upstream-tests/utils/nvidia/linux/docker/clear_docker_containers_and_images.bash delete mode 100644 libcudacxx/.upstream-tests/utils/nvidia/linux/docker/configuration.bash delete mode 100755 libcudacxx/.upstream-tests/utils/nvidia/linux/docker/export_base_docker_image.bash delete mode 100755 libcudacxx/.upstream-tests/utils/nvidia/linux/docker/import_base_docker_image_and_attach_cuda_driver.bash delete mode 100755 libcudacxx/.upstream-tests/utils/nvidia/linux/docker/import_base_docker_image_and_attach_cuda_driver_and_run_docker_image.bash delete mode 100755 libcudacxx/.upstream-tests/utils/nvidia/linux/docker/run_docker_image.bash delete mode 100755 libcudacxx/.upstream-tests/utils/nvidia/linux/perform_tests.bash delete mode 100755 libcudacxx/.upstream-tests/utils/sym_diff.py delete mode 100755 libcudacxx/.upstream-tests/utils/sym_extract.py delete mode 100755 libcudacxx/.upstream-tests/utils/sym_match.py delete mode 100644 libcudacxx/.upstream-tests/utils/symcheck-blacklists/linux_blacklist.txt delete mode 100644 libcudacxx/.upstream-tests/utils/symcheck-blacklists/osx_blacklist.txt delete mode 120000 libcudacxx/test rename libcudacxx/{.upstream-tests => test}/.clang-format (100%) rename libcudacxx/{.upstream-tests => test}/.gitignore (100%) create mode 100644 libcudacxx/test/CMakeLists.txt rename libcudacxx/{.upstream-tests => test}/CREDITS.TXT (100%) rename libcudacxx/{.upstream-tests => test}/LICENSE.TXT (100%) rename libcudacxx/{.upstream-tests => test}/NOTES.TXT (100%) rename libcudacxx/{.upstream-tests => test}/TODO.TXT (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/CMakeLists.txt (90%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/access_property.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/access_property_explicit.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/annotated_ptr.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/annotated_ptr_bench.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/annotated_ptr_constructors.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/annotated_ptr_ctor.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/annotated_ptr_host_constructor.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/annotated_ptr_host_shared.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/annotated_ptr_neg_tests.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/annotated_ptr_shmem.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/apply_access_property.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/associate_access_property.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/discard_memory.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/memcpy_async.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/annotated_ptr/utils.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/atomics/atomic.ext/atomic_fetch.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/atomics/atomic.ext/atomic_fetch_max.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/atomics/atomic.ext/atomic_fetch_min.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/atomics/atomic.ext/atomic_helpers.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/atomics/atomic.ext/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/bad_atomic_alignment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/arrive_tx.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/arrive_tx_cluster.runfail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/arrive_tx_cta.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/arrive_tx_device.runfail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/arrive_tx_feature_test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/arrive_tx_static_asserts_pre_sm90.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/arrive_tx_thread.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/arrive_tx_warp.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk_feature_test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk_ptx_compiles.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk_tensor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk_tensor_1d.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk_tensor_2d.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk_tensor_3d.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk_tensor_4d.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk_tensor_5d.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/cp_async_bulk_tensor_generic.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/expect_tx_cta.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/expect_tx_device.runfail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/expect_tx_thread.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/expect_tx_warp.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/barrier/native_handle.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/chrono/from_time_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/chrono/to_time_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/complex_interop/complex.assign.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/complex_interop/complex.comp.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/complex_interop/complex.cons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/complex_interop/complex.conv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/large_type.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async/group_memcpy_async.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async/group_memcpy_async_16b.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async/group_memcpy_async_32b.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async/group_memcpy_async_64b.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async/memcpy_async_tx.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async_16.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async_32.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async_64.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async_8.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memcpy_async_large.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/get_property/forward_property.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/get_property/get_property.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/get_property/has_property.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.allocate.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.construction.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.conversion.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.inheritance.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.properties.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.concepts/async_resource.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.concepts/async_resource_with.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.concepts/resource.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.concepts/resource_with.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.resource_ref/resource_ref.allocate.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.resource_ref/resource_ref.construction.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.resource_ref/resource_ref.conversion.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.resource_ref/resource_ref.inheritance.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/memory_resource/memory_resource.resource_ref/resource_ref.properties.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pair_interop/pair.assign.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pair_interop/pair.cons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pair_interop/pair.conv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_arrive_on.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_arrive_on_abi_v2.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_divergent_threads.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_group_concept.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_group_concept_thread_scope_block.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_group_concept_thread_scope_device.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_group_concept_thread_scope_system.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_generic.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_thread.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/proclaim_return_type.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/proclaim_return_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/ptx/ptx.mbarrier.arrive.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/ptx/ptx.red.async.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/ptx/ptx.st.async.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/stream_ref/stream_ref.constructor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/stream_ref/stream_ref.equality.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/stream_ref/stream_ref.get.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/stream_ref/stream_ref.ready.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/stream_ref/stream_ref.wait.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/test_platform.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/test_platform_cpp03.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/tuple/forward_as_tuple_interop.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/cuda/version.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/force_include.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/atomic.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/atomic_flag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/atomic_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/barrier.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/barrier_abi_v2.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/barrier_parity.cuda.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/barrier_parity.std.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/cuda_atomic_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/helpers.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/latch.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/latch_abi_v2.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/optional.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/semaphore.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/heterogeneous/tuple.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/atomics/atomics.align/align.pass.sh.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/atomics/atomics.flag/init_bool.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/atomics/atomics.order/memory_order.underlying_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/atomics/diagnose_invalid_memory_order.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/atomics/libcpp-has-no-threads.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/atomics/libcpp-has-no-threads.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/atomics/version.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/iterators/bounded_iter/arithmetic.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/iterators/bounded_iter/comparison.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/iterators/bounded_iter/dereference.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/iterators/bounded_iter/types.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/libcpp_alignof.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/type_traits/is_constant_evaluated.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/type_traits/is_implicitly_default_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/type_traits/is_pointer.arc.pass.mm (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/type_traits/lazy_metafunctions.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/utilities/function.objects/abi_bug_cxx03_cxx11_example.sh.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/utilities/meta/is_referenceable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/utilities/meta/meta_base.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/utilities/meta/stress_tests/stress_test_is_same.sh.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/utilities/meta/stress_tests/stress_test_metafunctions.sh.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/utilities/meta/stress_tests/stress_test_variant_overloads_impl.sh.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/libcxx/utilities/meta/version.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/lit.cfg (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/lit.site.cfg.in (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.fences/atomic_signal_fence.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.fences/atomic_thread_fence.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/atomic_flag_wait.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/clear.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/copy_assign.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/copy_ctor.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/copy_volatile_assign.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.flag/test_and_set.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.general/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.general/replace_failure_order.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.lockfree/lockfree.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.order/kill_dependency.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.order/memory_order.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.order/memory_order_new.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.syn/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/address.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/address_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/address_ref_constness.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/atomic_copyable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/bool.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/enum_class.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/floating_point.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/floating_point_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/floating_point_ref_constness.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/integral.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/integral_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/integral_ref_constness.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/non_arithmetic.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/non_trivial.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/trivially_copyable.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.generic/trivially_copyable_ref.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.arith/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.pointer/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.templ/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_ref_member_wait.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/atomics/atomics.types.operations/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.equiv/equivalence_relation.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.equiv/equivalence_relation.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.predicate/predicate.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.relation/relation.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.relation/relation.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable_with.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.assignable/assignable_from.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.constructible/constructible_from.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.convertible/convertible_to.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.copyconstructible/copy_constructible.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.default.init/default_initializable.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.derived/derived_from.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.destructible/destructible.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.moveconstructible/move_constructible.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.same/same_as.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.swappable/swappable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concept.swappable/swappable_with.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concepts.arithmetic/arithmetic.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.object/copyable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.object/movable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.object/regular.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/concepts/concepts.object/semiregular.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.cons/deduct.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.cons/deduct.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.cons/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.cons/initializer_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.data/data.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.data/data_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.fill/fill.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.fill/fill.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.size/size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.special/swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.swap/swap.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.swap/swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.tuple/get.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.tuple/get.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.tuple/get_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.tuple/get_rv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/at.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/begin.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/compare.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/compare.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/contiguous.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/empty.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/empty.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/front_back.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/indexing.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/iterators.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/max_size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/size_and_alignment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/sequences/array/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/foo_customizations.hpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.accessor.default.members/access.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.accessor.default.members/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.accessor.default.members/offset.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.cmp/compare.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.cons/array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.cons/convertible_to_size_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.cons/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.cons/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.cons/param_pack.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.cons/span.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.obs/extent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.obs/rank.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.obs/static_extent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.overview/extents_element.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.overview/index_type.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.extents.util/extents_util.hpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.cons/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.cons/layout_right_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.cons/layout_stride_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.cons/list_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.obs/compare.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.obs/compare.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.obs/extents.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.obs/is_exhaustive.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.obs/is_strided.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.obs/is_unique.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.obs/paren_op.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.obs/required_span_size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.left.obs/stride.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.cons/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.cons/layout_left_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.cons/layout_stride_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.cons/list_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.obs/compare.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.obs/compare.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.obs/extents.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.obs/is_exhaustive.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.obs/is_strided.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.obs/is_unique.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.obs/paren_op.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.obs/required_span_size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.right.obs/stride.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.cons/list_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/extents.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/is_exhaustive.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/is_strided.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/is_unique.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/paren_op.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/required_span_size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/stride.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.stride.obs/strides.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.layout.util/layout_util.hpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/array_init_extents.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_c_array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_const_c_array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents_pack.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_layouts.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_mapping.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/custom_accessor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/custom_layout.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/data_c_array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/extents.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/extents_pack.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_left.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_right.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_stride.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/mapping.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.cons/span_init_extents.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/accessor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/brackets_op.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/data_handle.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/empty.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/extent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/extents.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/is_exhaustive.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/is_strided.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/is_unique.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/mapping.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/rank.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/stride.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.members/swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.mdspan.util/mdspan_util.hpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.submdspan.submdspan/dim_reduction.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.submdspan.submdspan/pair_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.submdspan.submdspan/return_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/mdspan.submdspan.submdspan/tuple_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/my_accessor.hpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/containers/views/mdspan/my_int.hpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.container/data.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.container/empty.array.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.container/empty.container.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.container/empty.initializer_list.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.container/empty.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.container/size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.container/ssize.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.operations/next.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.traits/iter_reference_t.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.traits/iterator.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_sentinel.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/constraints.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count_sentinel.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_sentinel.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/range.iter.ops/types.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/std.iterator.tags/contiguous_iterator_tag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.range/begin-end.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.range/begin-end.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.permutable/permutable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.permutable/permutable.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.sortable/sortable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/alg.req.sortable/sortable.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/bidirectional.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/forward.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_result_t.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/input.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/incrementable_traits.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/iter_difference_t.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/indirectly_readable_traits.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/incrementable.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/incrementable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.output/output_iterator.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/contiguous_iterator.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/indirectly_readable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/iter_common_reference_t.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.subsumption.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sized_sentinel_for.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.winc/weakly_incrementable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.writable/indirectly_writable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.nodiscard.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_rvalue_reference_t.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.cust/unqualified_lookup_wrapper.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/iterator.requirements.general/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/output.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.requirements/random.access.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterator.synopsis/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterators.general/gcc_workaround.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/iterators.general/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/default.sentinel/default.sentinel.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/lv_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/rv_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/post.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/pre.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/lv_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/rv_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/post.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/pre.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/lv_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/rv_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/post.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/pre.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/insert.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_eq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lt.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_neq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/tested_elsewhere.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/post.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/pre.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/post.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/pre.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.ref/op_arrow.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/op_star.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance_back/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_diff/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_plus/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.ops/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iter.requirements/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.sentinel/assign.converting.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.sentinel/base.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.sentinel/concept_conformance.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.sentinel/constraints.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.converting.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.sentinel.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/move.sentinel/op_eq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/move.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.conv/tested_elsewhere.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance_back/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/post.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/pre.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_eq/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_geq/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_gt/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/post.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/pre.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_leq/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_lt/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_minus/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_ne/test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_plus/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_star/op_star.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/difference_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/predef.iterators/unreachable.sentinel/unreachable_sentinel.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/istream.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/arrow.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/dereference.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/post_increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/pre_increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istream.iterator/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/istream.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/proxy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/streambuf.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/post_increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/pre_increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_eq/equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_increment/dereference.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_ne/not_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_proxy/proxy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/iterator.range/begin_array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/iterator.range/begin_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/iterator.range/begin_non_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/iterator.range/end_array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/iterator.range/end_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/iterator.range/end_non_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream_delim.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/dereference.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ostream.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/streambuf.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/assign_c.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/deref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.general/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/c.limits/climits.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/is_specialized.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/numeric.special/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/limits/round.style/check_values.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.limits/version.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byte.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/and.assign.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/and.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/enum_direct_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/lshift.assign.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/lshift.assign.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/lshift.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/lshift.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/not.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/or.assign.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/or.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/rshift.assign.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/rshift.assign.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/rshift.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/rshift.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/to_integer.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/to_integer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/xor.assign.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/byteops/xor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/max_align_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/null.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/nullptr_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/nullptr_t_integral_cast.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/offsetof.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/ptrdiff_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/language.support/support.types/size_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bit.endian/endian.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bit.pow.two/bit_width.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bitops.count/countl_one.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bitops.count/countl_zero.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bitops.count/countr_one.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bitops.count/countr_zero.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bitops.count/popcount.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bitops.rot/rotl.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/bitops.rot/rotr.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/invocable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/bit/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/cases.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/cmplx.over/UDT_is_rejected.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/cmplx.over/arg.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/cmplx.over/conj.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/cmplx.over/imag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/cmplx.over/norm.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/cmplx.over/pow.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/cmplx.over/proj.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/cmplx.over/real.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/assignment_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/assignment_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/divide_equal_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/minus_equal_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/minus_equal_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/plus_equal_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/plus_equal_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/times_equal_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.member.ops/times_equal_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.members/construct.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.members/real_imag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_divide_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_minus_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_minus_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_plus_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_plus_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_times_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/complex_times_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/scalar_divide_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/scalar_minus_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/scalar_plus_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/scalar_times_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/unary_minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.ops/unary_plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.special/double_float_implicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.special/float_double_implicit.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.synopsis/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/acos.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/acosh.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/asin.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/asinh.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/atan.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/atanh.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/exp.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/log.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/sqrt.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.value.ops/abs.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.value.ops/arg.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.value.ops/conj.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.value.ops/imag.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.value.ops/norm.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.value.ops/polar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.value.ops/proj.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex.value.ops/real.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex/abi_latest.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex/abi_v3.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/complex/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/numerics/complex.number/layout.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/arrive.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/arrive_and_drop.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/arrive_and_wait.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/completion.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/max.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/try_wait_for.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/try_wait_parity_for.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/try_wait_parity_until.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/try_wait_until.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.barrier/version.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.latch/arrive_and_wait.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.latch/count_down.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.latch/max.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.latch/try_wait.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.latch/version.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.semaphore/acquire.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.semaphore/max.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.semaphore/release.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.semaphore/timed.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.semaphore/try_acquire.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/thread/thread.semaphore/version.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.bad/ctor.error.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.bad/error.member.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.bad/what.noexcept.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/assign/assign.U.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/assign/emplace.intializer_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/assign/emplace.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.convert.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.convert.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.inplace.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.u.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.unexpect.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.unexpected.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/ctor/ctor.unexpected.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/dtor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/equality/equality.T2.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/equality/equality.other_expected.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/equality/equality.unexpected.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/monadic/or_else.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/monadic/transform.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/observers/arrow.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/observers/bool.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/observers/deref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/observers/error.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/observers/has_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/observers/value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/observers/value_or.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.expected/swap/member.swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/assign/assign.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/assign/assign.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/ctad.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/ctor/ctor.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/ctor/ctor.error.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/ctor/ctor.inplace.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/ctor/ctor.inplace_init_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/ctor/ctor.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/equality.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/observer/error.const_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/observer/error.const_ref_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/observer/error.ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/observer/error.ref_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/swap/swap.free.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.unexpected/swap/swap.member.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/assign/assign.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/assign/emplace.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.convert.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.convert.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.inplace.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.unexpect.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.unexpected.copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/ctor/ctor.unexpected.move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/dtor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/equality/equality.other_expected.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/equality/equality.unexpected.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/monadic/and_then.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/monadic/or_else.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/monadic/transform.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/observers/bool.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/observers/deref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/observers/error.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/observers/has_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/observers/value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/swap/free.swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/expected.void/swap/member.swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/expected/types.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/arithmetic.operations/transparent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/bitwise.operations/bit_not.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/bitwise.operations/transparent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/comparisons/constexpr_init.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/comparisons/equal_to.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/comparisons/greater.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/comparisons/greater_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/comparisons/less.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/comparisons/less_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/comparisons/not_equal_to.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.hpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/comparisons/transparent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.bind_front/bind_front.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.bind_front/bind_front.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.def/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.identity/identity.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.invoke/invoke.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.memfn/member_data.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.memfn/member_data.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.memfn/member_function.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.memfn/member_function_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.memfn/member_function_const_volatile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.memfn/member_function_volatile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.require/INVOKE_tested_elsewhere.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.require/binary_function.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/func.require/unary_function.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/logical.operations/logical_and.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/logical.operations/logical_not.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/logical.operations/logical_or.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/logical.operations/transparent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/negators/binary_negate.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/negators/not1.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/negators/not2.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/negators/unary_negate.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/range.cmp/equal_to.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/range.cmp/greater.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/range.cmp/greater_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/range.cmp/less.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/range.cmp/less_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/range.cmp/not_equal_to.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/binder_typedefs.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.const/ctor.incomplete.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.const/deduct.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor2.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.helpers/cref.incomplete.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.helpers/lwg3146.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.helpers/ref.incomplete.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.incomplete.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_int_0.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_void_0.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/refwrap.invoke/robust_against_adl.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/type_properties.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/unwrap_ref_decay.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/unwrap_reference.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/function.objects/refwrap/weak_result.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/intseq/intseq.general/integer_seq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/intseq/intseq.intseq/integer_seq.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/intseq/intseq.make/make_integer_seq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/intseq/intseq.make/make_integer_seq_fallback.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/intseq/intseq.make/make_integer_seq_fallback.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.temp.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/memory/specialized.algorithms/specialized.addressof/constexpr_addressof.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_n.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.const.eval/is_constant_evaluated.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.help/bool_constant.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.help/integral_constant.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.logical/conjunction.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.logical/disjunction.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.logical/negation.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.rel/is_base_of.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.rel/is_convertible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.rel/is_convertible_fallback.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.rel/is_invocable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.rel/is_nothrow_convertible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.rel/is_same.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.rqmts/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/aligned_storage.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/enable_if2.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/remove_cvref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/result_of.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.ptr/add_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.ptr/remove_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.ref/add_rvalue_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.ref/remove_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.trans/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.type.synop/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary.prop.query/extent.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary.prop.query/rank.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary.prop.query/void_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/class.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/enum.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/floating_point.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/function.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/integral.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_class.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_enum.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_floating_point.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_lvalue_reference.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_member_object_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_member_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_null_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_rvalue_reference.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_union.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/is_void.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/member_object_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/nullptr.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/rvalue_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/union.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.cat/void.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/class.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/enum.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/floating_point.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/function.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/integral.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/is_bounded_array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/is_compound.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/is_fundamental.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/is_member_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/is_object.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/is_scalar.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/is_unbounded_array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/lvalue_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/member_function_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/member_object_pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/pointer.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/rvalue_ref.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/union.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.comp/void.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/has_virtual_destructor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_assignable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_final.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_move_assignable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_move_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_assignable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_assignable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_default_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable_with.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_pod.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_polymorphic.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_signed.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_standard_layout.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_with.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivial.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_assignable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_assignable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable_volatile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_default_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_assignable.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_constructible.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_unsigned.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/meta.unary.prop/is_volatile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/meta/meta.unary/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.comp_with_t/equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.comp_with_t/greater.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.comp_with_t/greater_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.comp_with_t/less_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.comp_with_t/less_than.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.comp_with_t/not_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.monadic/and_then.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.monadic/or_else.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.monadic/transform.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.nullops/equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.nullops/greater.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.nullops/greater_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.nullops/less_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.nullops/less_than.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.nullops/not_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.nullopt/nullopt_t.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.assign/assign_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.assign/const_optional_U.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.assign/emplace_initializer_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.assign/nullopt_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.assign/optional_U.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/U.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/const_T.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/const_optional_U.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/deduct.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/empty_in_place_t_does_not_clobber.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/explicit_const_optional_U.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/explicit_optional_U.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/in_place_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/initializer_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/nullopt_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/optional_U.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.ctor/rvalue_T.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.dtor/dtor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/bool.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/dereference.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/dereference_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/dereference_const_rvalue.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/dereference_rvalue.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/has_value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/op_arrow.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/op_arrow_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/value.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/value_const.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/value_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/value_const_rvalue.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/value_or.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/value_or_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.observe/value_rvalue.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional.object.swap/swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/optional_requires_destructible_object.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/special_members.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/triviality.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.object/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.relops/equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.relops/greater_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.relops/greater_than.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.relops/less_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.relops/less_than.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.relops/not_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.specalg/make_optional.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.specalg/make_optional_explicit.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.specalg/make_optional_explicit_initializer_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.specalg/swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.syn/optional_in_place_t.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.syn/optional_includes_initializer_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/optional/optional.syn/optional_nullopt_t.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.arithmetic/ratio_add.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.arithmetic/ratio_add.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.arithmetic/ratio_divide.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.arithmetic/ratio_divide.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.arithmetic/ratio_multiply.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.arithmetic/ratio_multiply.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.arithmetic/ratio_subtract.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.arithmetic/ratio_subtract.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.comparison/ratio_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.comparison/ratio_greater.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.comparison/ratio_greater_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.comparison/ratio_less.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.comparison/ratio_less_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.comparison/ratio_not_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.ratio/ratio.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.ratio/ratio1.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.ratio/ratio2.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.ratio/ratio3.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/ratio.si/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/ratio/typedefs.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/clock.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/date.time/ctime.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/hours.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/microseconds.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/milliseconds.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/minutes.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/months.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/nanoseconds.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/rep.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/seconds.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/euclidian.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/decrement.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/plus_minus_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.day/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.last/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/day.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.md/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mdlast/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mdlast/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mdlast/month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mdlast/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mdlast/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mdlast/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/decrement.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/plus_minus_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/literals.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.month/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/weekday_indexed.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwd/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/weekday_last.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.mwdlast/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.operators/month_day.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.operators/month_day_last.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.operators/month_weekday.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.operators/month_weekday_last.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.operators/year_month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.operators/year_month_day.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.operators/year_month_day_last.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.operators/year_month_weekday.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.operators/year_month_weekday_last.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/index.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/weekday.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdidx/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/weekday.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.wdlast/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/c_encoding.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.local_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.sys_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/decrement.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/iso_encoding.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/operator_index.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/plus_minus_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/literals.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.weekday/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/decrement.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/increment.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/is_leap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.year/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ym/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.local_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.sys_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.year_month_day_last.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/day.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.local_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.sys_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymd/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/day.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month_day_last.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_local_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_sys_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.local_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.sys_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/index.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.local_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.sys_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday_indexed.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwd/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ok.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_local_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_sys_days.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_month.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/weekday.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/year.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/comparisons.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/minus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/plus.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/streaming.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.cal/time.cal.ymwdlast/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock.req/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.file/file_time.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.file/now.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.file/rep_signed.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.system/from_time_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.system/local_time.types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.system/now.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.system/sys.time.types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.clock/time.clock.system/to_time_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/default_ratio.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/duration.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/positive_num.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/ratio.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.alg/abs.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.alg/abs.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_++.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_++int.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_+.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_+_eq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_--.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_--int.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_-.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_-_eq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_divide_eq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_duration.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_rep.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.arithmetic/op_times_eq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cast/ceil.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cast/ceil.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cast/duration_cast.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cast/floor.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cast/floor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cast/round.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cast/round.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cast/toduration.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.comparisons/op_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.comparisons/op_less.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/convert_exact.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/convert_float_to_int.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/convert_inexact.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/convert_inexact.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/convert_int_to_float.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/convert_overflow.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/rep.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/rep01.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/rep02.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/rep02.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.cons/rep03.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.literals/literals.abiv3.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.literals/literals.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.literals/literals1.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.literals/literals1.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.literals/literals2.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.literals/literals2.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_+.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_-.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_mod_duration.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep1.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep2.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.observer/tested_elsewhere.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.special/max.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.special/min.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/time.duration.special/zero.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.duration/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/hhmmss.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.12/is_am.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.12/is_pm.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.12/make12.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.12/make24.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.members/hours.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.members/is_negative.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.members/minutes.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.members/precision.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.members/precision_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.members/subseconds.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.members/to_duration.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.members/width.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.hms/time.hms.nonmembers/nothing.to.do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/default_duration.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/duration.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.arithmetic/op_minus_eq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.arithmetic/op_plus_eq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cast/ceil.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cast/ceil.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cast/floor.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cast/floor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cast/round.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cast/round.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cast/toduration.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.comparisons/op_equal.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.comparisons/op_less.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cons/convert.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cons/convert.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cons/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cons/duration.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.cons/duration.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.nonmember/op_+.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.observer/tested_elsewhere.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.special/max.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.point/time.point.special/min.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.traits/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.traits/time.traits.duration_values/max.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.traits/time.traits.duration_values/min.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.traits/time.traits.duration_values/zero.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.traits/time.traits.specializations/duration.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/time.traits/time.traits.specializations/time_point.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/weeks.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/time/years.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.general/ignore.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/TupleFunction.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/alloc_first.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/alloc_last.h (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.apply/apply_extended_types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.apply/apply_large_arity.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.assign/convert_move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.assign/copy.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.assign/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.assign/move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.assign/move_pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR20855_tuple_ref_binding_diagnostics.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR22806_constrain_tuple_like_ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR23256_constrain_UTypes_ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR27684_contains_ref_to_incomplete_type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_UTypes.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move_pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types2.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/move_pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/nothrow_cnstr.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/test_lazy_sfinae.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.cnstr/tuple_array_template_depth.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.elem/get_rv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.utility.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_value_sfinae.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.special/non_member_swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/tuple/tuple.tuple/tuple.traits/uses_allocator.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility.requirements/allocator.requirements/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility.requirements/hash.requirements/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility.requirements/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility.requirements/nullablepointer.requirements/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility.requirements/swappable.requirements/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility.requirements/utility.arg.requirements/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/as_const/as_const.compile.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/as_const/as_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/declval/declval.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/exchange/exchange.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/forward/forward.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/forward/forward.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/forward/forward_like.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/forward/move.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/forward/move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/forward/move_if_noexcept.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/operators/rel_ops.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/get_const.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/get_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/get_const_rv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/get_non_const.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/get_rv.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/pairs.by.type.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/pairs.by.type1.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/pairs.by.type2.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/tuple_element.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.astuple/tuple_size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.piecewise/piecewise_construct.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.general/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/U_V.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/assign_const_pair_U_V.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/assign_pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/assign_pair_cxx03.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/assign_rv_pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/assign_rv_pair_U_V.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/const_first_const_second.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/const_first_const_second_cxx03.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/const_pair_U_V.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/const_pair_U_V_cxx03.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/copy_ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/default-sfinae.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/default.explicit.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/implicit_deduction_guides.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/move_ctor.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/not_constexpr_cxx11.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/piecewise.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/rv_pair_U_V.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/trivial_copy_move.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.pair/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.spec/make_pair.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/pairs/pairs.spec/non_member_swap.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.inplace/inplace.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.intcmp/intcmp.cmp_equal/cmp_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.intcmp/intcmp.cmp_greater/cmp_greater.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.intcmp/intcmp.cmp_greater_equal/cmp_greater_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.intcmp/intcmp.cmp_less/cmp_less.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.intcmp/intcmp.cmp_less_equal/cmp_less_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.intcmp/intcmp.cmp_not_equal/cmp_not_equal.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.intcmp/intcmp.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.intcmp/intcmp.in_range/in_range.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.underlying/to_underlying.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.underlying/to_underlying.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.unreachable/unreachable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/utilities/utility/utility.unreachable/unreachable.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/array.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/array.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/assign.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/copy.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/deduct.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/default.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/default.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/initializer_list.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/iterator_len.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/iterator_len.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/iterator_sentinel.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/iterator_sentinel.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/range.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/range.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/span.dtor.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/span.fail.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/span.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.cons/stdarray.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.elem/back.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.elem/data.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.elem/front.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.elem/op_idx.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.iterators/begin.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.iterators/end.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.iterators/rbegin.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.iterators/rend.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.objectrep/as_bytes.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.objectrep/as_writable_bytes.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.objectrep/as_writable_bytes.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.obs/empty.nodiscard.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.obs/empty.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.obs/size.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.obs/size_bytes.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.sub/first.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.sub/first.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.sub/last.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.sub/last.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.sub/subspan.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/span.sub/subspan.verify.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/trivially_copyable.compile.pass.cpp (100%) rename libcudacxx/{.upstream-tests/test => test/libcudacxx}/std/views/views.span/types.pass.cpp (100%) rename libcudacxx/{.upstream-tests => test}/maintenance/all-internal-headers (100%) mode change 100755 => 100644 rename libcudacxx/{.upstream-tests => test}/maintenance/cuda-to-std (100%) mode change 100755 => 100644 rename libcudacxx/{.upstream-tests => test}/maintenance/std-to-cuda (100%) mode change 100755 => 100644 rename libcudacxx/{.upstream-tests => test}/maintenance/stdlib-headers (100%) rename libcudacxx/{.upstream-tests/test/host_only => test/smoke}/CMakeLists.txt (92%) rename libcudacxx/{.upstream-tests/test/host_only => test/smoke}/detect_dialect.cpp (100%) rename libcudacxx/{.upstream-tests/test/host_only => test/smoke}/header_test.cpp.in (89%) rename libcudacxx/{.upstream-tests => }/test/support/Counter.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/DefaultOnly.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/MoveOnly.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/allocators.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/any_helpers.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/archetypes.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/archetypes.ipp (100%) rename libcudacxx/{.upstream-tests => }/test/support/asan_testing.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/assert_checkpoint.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/callable_types.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/charconv_test_helpers.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/check_assertion.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/cmpxchg_loop.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/compare_types.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/concurrent_agents.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/constexpr_char_traits.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/container_debug_tests.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/container_test_types.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/controlled_allocators.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/coroutine_types.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/count_new.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/counting_predicates.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/cuda_space_selector.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/deleter_types.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/demangle.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/disable_missing_braces_warning.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/emplace_constructible.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/experimental_any_helpers.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/filesystem_dynamic_test_helper.py (100%) rename libcudacxx/{.upstream-tests => }/test/support/filesystem_include.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/filesystem_test_helper.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/format_string.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/fp_compare.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/hexfloat.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/indirectly_readable.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/is_transparent.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/iterator_traits_cpp17_iterators.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/min_allocator.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/msvc_stdlib_force_include.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/nasty_containers.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/nasty_macros.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/nothing_to_do.pass.cpp (100%) rename libcudacxx/{.upstream-tests => }/test/support/nvrtc_limit_macros.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/placement_new.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/platform_support.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/pointer_comparison_test_helper.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/poisoned_hash_helper.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/private_constructor.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/propagate_const_helpers.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/rapid-cxx-test.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/read_write.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/set_windows_crt_report_mode.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/template_cost_testing.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/test.workarounds/c1xx_broken_za_ctor_check.pass.cpp (100%) rename libcudacxx/{.upstream-tests => }/test/support/test_allocator.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/test_comparisons.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/test_convertible.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/test_iterators.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/test_macros.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/test_memory_resource.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/test_workarounds.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/tracked_value.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/truncate_fp.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/type_classification/copyable.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/type_classification/movable.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/type_classification/moveconstructible.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/type_classification/semiregular.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/type_classification/swappable.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/type_id.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/unique_ptr_test_helper.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/user_defined_integral.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/uses_alloc_types.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/variant_test_helpers.h (100%) rename libcudacxx/{.upstream-tests => }/test/support/verbose_assert.h (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/__init__.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/compiler.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/dumpversion.cpp (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/empty.cpp (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/sym_check/__init__.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/sym_check/diff.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/sym_check/extract.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/sym_check/match.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/sym_check/util.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/test/__init__.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/test/config.py (99%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/test/executor.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/test/format.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/test/googlebenchmark.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/test/target_info.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/test/tracing.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/libcudacxx/util.py (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/getsm/.gitignore (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/getsm/CMakeLists.txt (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/getsm/main.cu (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/nvrtc/CMakeLists.txt (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/nvrtc/README.md (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/nvrtc/nvrtcc.cpp (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/nvrtc/nvrtcc_build.h (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/nvrtc/nvrtcc_common.h (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/nvrtc/nvrtcc_run.h (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/nvrtc/utils/platform.h (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/nvrtc/utils/platform.linux.h (100%) rename libcudacxx/{.upstream-tests => test}/utils/nvidia/nvrtc/utils/platform.win.h (100%) delete mode 120000 libcudacxx/utils diff --git a/libcudacxx/.upstream-tests/cmake/caches/Apple.cmake b/libcudacxx/.upstream-tests/cmake/caches/Apple.cmake deleted file mode 100644 index af4ea2c4c0..0000000000 --- a/libcudacxx/.upstream-tests/cmake/caches/Apple.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_BUILD_TYPE MinSizeRel CACHE STRING "") -set(CMAKE_POSITION_INDEPENDENT_CODE OFF CACHE BOOL "") - -set(LIBCXX_USE_COMPILER_RT ON CACHE BOOL "") -set(LIBCXX_ENABLE_ASSERTIONS ON CACHE BOOL "") - -set(LIBCXX_ABI_VERSION "1" CACHE STRING "") - -set(LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY OFF CACHE BOOL "") -set(LIBCXX_ENABLE_STATIC OFF CACHE BOOL "") - -set(LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS OFF CACHE BOOL "") -set(LIBCXXABI_ENABLE_NEW_DELETE_DEFINITIONS ON CACHE BOOL "") - -set(LIBCXX_HIDE_FROM_ABI_PER_TU_BY_DEFAULT ON CACHE BOOL "") diff --git a/libcudacxx/.upstream-tests/docs/DesignDocs/ExperimentalFeatures.rst b/libcudacxx/.upstream-tests/docs/DesignDocs/ExperimentalFeatures.rst deleted file mode 100644 index 259bd27479..0000000000 --- a/libcudacxx/.upstream-tests/docs/DesignDocs/ExperimentalFeatures.rst +++ /dev/null @@ -1,203 +0,0 @@ -===================== -Experimental Features -===================== - -.. contents:: - :local: - -.. _experimental features: - -Overview -======== - -Libc++ implements technical specifications (TSes) and ships them as experimental -features that users are free to try out. The goal is to allow getting feedback -on those experimental features. - -However, libc++ does not provide the same guarantees about those features as -it does for the rest of the library. In particular, no ABI or API stability -is guaranteed, and experimental features are deprecated once the non-experimental -equivalent has shipped in the library. This document outlines the details of -that process. - -Background -========== - -The "end game" of a Technical Specification (TS) is to have the features in -there added to a future version of the C++ Standard. When this happens, the TS -can be retired. Sometimes, only part of at TS is added to the standard, and -the rest of the features may be incorporated into the next version of the TS. - -Adoption leaves library implementors with two implementations of a feature, -one in namespace ``std``, and the other in namespace ``std::experimental``. -The first one will continue to evolve (via issues and papers), while the other -will not. Gradually they will diverge. It's not good for users to have two -(subtly) different implementations of the same functionality in the same library. - -Design -====== - -When a feature is adopted into the main standard, we implement it in namespace -``std``. Once that implementation is complete, we then create a deprecation -warning for the corresponding experimental feature warning users to move off -of it and to the now-standardized feature. - -These deprecation warnings are guarded by a macro of the form -``_LIBCUDACXX_NO_EXPERIMENTAL_DEPRECATION_WARNING_``, which -can be defined by users to disable the deprecation warning. Whenever -possible, deprecation warnings are put on a per-declaration basis -using the ``[[deprecated]]`` attribute, which also allows disabling -the warnings using ``-Wno-deprecated-declarations``. - -After **2 releases** of LLVM, the experimental feature is removed completely -(and the deprecation notice too). Using the experimental feature simply becomes -an error. Furthermore, when an experimental header becomes empty due to the -removal of the corresponding experimental feature, the header is removed. -Keeping the header around creates incorrect assumptions from users and breaks -``__has_include``. - - -Status of TSes -============== - -Library Fundamentals TS `V1 `__ and `V2 `__ ---------------------------------------------------------------------------------------------- - -Most (but not all) of the features of the LFTS were accepted into C++17. - -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| Section | Feature | Shipped in ``std`` | To be removed from ``std::experimental`` | Notes | -+=========+=======================================================+====================+==========================================+=========================+ -| 2.1 | ``uses_allocator construction`` | 5.0 | 7.0 | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.1.2 | ``erased_type`` | | n/a | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.2.1 | ``tuple_size_v`` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.2.2 | ``apply`` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.3.1 | All of the ``_v`` traits in ```` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.3.2 | ``invocation_type`` and ``raw_invocation_type`` | | n/a | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.3.3 | Logical operator traits | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.3.3 | Detection Idiom | 5.0 | | Only partially in C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.4.1 | All of the ``_v`` traits in ```` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.5.1 | All of the ``_v`` traits in ```` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.6.1 | All of the ``_v`` traits in ```` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 3.7 | ``propagate_const`` | | n/a | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 4.2 | Enhancements to ``function`` | Not yet | | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 4.3 | searchers | 7.0 | 9.0 | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 5 | optional | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 6 | ``any`` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 7 | ``string_view`` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.2.1 | ``shared_ptr`` enhancements | Not yet | Never added | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.2.2 | ``weak_ptr`` enhancements | Not yet | Never added | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.5 | ``memory_resource`` | Not yet | | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.6 | ``polymorphic_allocator`` | Not yet | | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.7 | ``resource_adaptor`` | | n/a | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.8 | Access to program-wide ``memory_resource`` objects | Not yet | | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.9 | Pool resource classes | Not yet | | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.10 | ``monotonic_buffer_resource`` | Not yet | | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.11 | Alias templates using polymorphic memory resources | Not yet | | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 8.12 | Non-owning pointers | | n/a | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 11.2 | ``promise`` | | n/a | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 11.3 | ``packaged_task`` | | n/a | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 12.2 | ``search`` | 7.0 | 9.0 | | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 12.3 | ``sample`` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 12.4 | ``shuffle`` | | | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 13.1 | ``gcd`` and ``lcm`` | 5.0 | 7.0 | Removed | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 13.2 | Random number generation | | | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -| 14 | Reflection Library | | | Not part of C++17 | -+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ - - -`FileSystem TS `__ -------------------------------------------- -The FileSystem TS was accepted (in totality) for C++17. -The FileSystem TS implementation was shipped in namespace ``std`` in LLVM 7.0, and will be removed in LLVM 11.0 (due to the lack of deprecation warnings before LLVM 9.0). - -Parallelism TS `V1 `__ and `V2 `__ ------------------------------------------------------------------------------------- -Some (most) of the Parallelism TS was accepted for C++17. -We have not yet shipped an implementation of the Parallelism TS. - -`Coroutines TS `__ -------------------------------------------- -The Coroutines TS is not yet part of a shipping standard. -We are shipping (as of v5.0) an implementation of the Coroutines TS in namespace ``std::experimental``. - -`Networking TS `__ -------------------------------------------- -The Networking TS is not yet part of a shipping standard. -We have not yet shipped an implementation of the Networking TS. - -`Ranges TS `__ ---------------------------------------- -The Ranges TS is not yet part of a shipping standard. -We have not yet shipped an implementation of the Ranges TS. - -`Concepts TS `__ ------------------------------------------ -The Concepts TS is not yet part of a shipping standard, but it has been adopted into the C++20 working draft. -We have not yet shipped an implementation of the Concepts TS. - -`Concurrency TS `__ --------------------------------------------- -The Concurrency TS was adopted in Kona (2015). -None of the Concurrency TS was accepted for C++17. -We have not yet shipped an implementation of the Concurrency TS. - -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | Section | Feature | Shipped in ``std`` | To be removed from ``std::experimental`` | Notes | -.. +=========+=======================================================+====================+==========================================+=========================+ -.. | 2.3 | class template ``future`` | | | | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 2.4 | class template ``shared_future`` | | | | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 2.5 | class template ``promise`` | | | Only using ``future`` | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 2.6 | class template ``packaged_task`` | | | Only using ``future`` | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 2.7 | function template ``when_all`` | | | Not part of C++17 | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 2.8 | class template ``when_any_result`` | | | Not part of C++17 | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 2.9 | function template ``when_any`` | | | Not part of C++17 | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 2.10 | function template ``make_ready_future`` | | | Not part of C++17 | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 2.11 | function template ``make_exeptional_future`` | | | Not part of C++17 | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 3 | ``latches`` and ``barriers`` | | | Not part of C++17 | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ -.. | 4 | Atomic Smart Pointers | | | Adopted for C++20 | -.. +---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+ diff --git a/libcudacxx/.upstream-tests/docs/DesignDocs/ExtendedCXX03Support.rst b/libcudacxx/.upstream-tests/docs/DesignDocs/ExtendedCXX03Support.rst deleted file mode 100644 index e9e3fc4d23..0000000000 --- a/libcudacxx/.upstream-tests/docs/DesignDocs/ExtendedCXX03Support.rst +++ /dev/null @@ -1,118 +0,0 @@ -======================= -Extended C++03 Support -======================= - -.. contents:: - :local: - -Overview -======== - -libc++ is an implementation of the C++ standard library targeting C++11 or later. - -In C++03, the library implements the C++11 standard using C++11 language extensions provided -by Clang. - -This document tracks the C++11 extensions libc++ requires, the C++11 extensions it provides, -and how to write minimal C++11 inside libc++. - -Required C++11 Compiler Extensions -================================== - -Clang provides a large subset of C++11 in C++03 as an extension. The features -libc++ expects Clang to provide are: - -* Variadic templates. -* RValue references and perfect forwarding. -* Alias templates -* defaulted and deleted Functions. -* reference qualified Functions - -There are also features that Clang *does not* provide as an extension in C++03 -mode. These include: - -* ``constexpr`` and ``noexcept`` -* ``auto`` -* Trailing return types. -* ``>>`` without a space. - - -Provided C++11 Library Extensions -================================= - -.. warning:: - The C++11 extensions libc++ provides in C++03 are currently undergoing change. Existing extensions - may be removed in the future. New users are strongly discouraged depending on these extension - in new code. - - This section will be updated once the libc++ developer community has further discussed the - future of C++03 with libc++. - - -Using Minimal C++11 in libc++ -============================= - -This section is for developers submitting patches to libc++. It describes idioms that should be -used in libc++ code, even in C++03, and the reasons behind them. - - -Use Alias Templates over Class Templates ----------------------------------------- - -Alias templates should be used instead of class templates in metaprogramming. Unlike class templates, -Alias templates do not produce a new instantiation every time they are used. This significantly -decreases the amount of memory used by the compiler. - -For example, libc++ should not use ``add_const`` internally. Instead it should use an alias template -like - -.. code-block:: cpp - - template - using _AddConst = const _Tp; - -Use Default Template Parameters for SFINAE ------------------------------------------- - -There are three places in a function declaration that SFINAE may occur: In the template parameter list, -in the function parameter list, and in the return type. For example: - -.. code-block:: cpp - - template - void foo(_Tp); // #1 - - template - void bar(_Tp, enable_if_t* = nullptr); // # 2 - - template - enable_if_t baz(_Tp); // # 3 - -Using default template parameters for SFINAE (#1) should always be prefered. - -Option #2 has two problems. First, users can observe and accidentally pass values to the SFINAE -function argument. Second, the default arguement creates a live variable, which causes debug -information to be emitted containing the text of the SFINAE. - -Option #3 can also cause more debug information to be emitted than is needed, because the function -return type will appear in the debug information. - -Use ``unique_ptr`` when allocating memory ------------------------------------------- - -The standard library often needs to allocate memory and then construct a user type in it. -If the users constructor throws, the library needs to deallocate that memory. The idiomatic way to -achieve this is with ``unique_ptr``. - -``__builtin_new_allocator`` is an example of this idiom. Example usage would look like: - -.. code-block:: cpp - - template - T* __create() { - using _UniquePtr = unique_ptr; - _UniquePtr __p = __default_new_allocator::__allocate_bytes(sizeof(T), alignof(T)); - T* __res = ::new(__p.get()) T(); - (void)__p.release(); - return __res; - } diff --git a/libcudacxx/.upstream-tests/test/pretty_printers/gdb_pretty_printer_test.py b/libcudacxx/.upstream-tests/test/pretty_printers/gdb_pretty_printer_test.py deleted file mode 100644 index b738c72b64..0000000000 --- a/libcudacxx/.upstream-tests/test/pretty_printers/gdb_pretty_printer_test.py +++ /dev/null @@ -1,112 +0,0 @@ -#===----------------------------------------------------------------------===## -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===----------------------------------------------------------------------===## -"""Commands used to automate testing gdb pretty printers. - -This script is part of a larger framework to test gdb pretty printers. It -runs the program, detects test cases, checks them, and prints results. - -See gdb_pretty_printer_test.sh.cpp on how to write a test case. - -""" - -from __future__ import print_function -import re -import gdb - -test_failures = 0 - - -class CheckResult(gdb.Command): - - def __init__(self): - super(CheckResult, self).__init__( - "print_and_compare", gdb.COMMAND_DATA) - - def invoke(self, arg, from_tty): - try: - # Stack frame is: - # 0. StopForDebugger - # 1. ComparePrettyPrintToChars or ComparePrettyPrintToRegex - # 2. TestCase - compare_frame = gdb.newest_frame().older() - testcase_frame = compare_frame.older() - test_loc = testcase_frame.find_sal() - # Use interactive commands in the correct context to get the pretty - # printed version - - value_str = self._get_value_string(compare_frame, testcase_frame) - - # Ignore the convenience variable name and newline - value = value_str[value_str.find("= ") + 2:-1] - gdb.newest_frame().select() - - expectation_val = compare_frame.read_var("expectation") - if "PrettyPrintToRegex" in compare_frame.name(): - check_literal = expectation_val.string() - test_fails = not re.match(check_literal, value) - else: - check_literal_string = expectation_val.string(encoding="utf-8") - check_literal = str(check_literal_string.encode("utf-8")) - test_fails = value != check_literal - - if test_fails: - global test_failures - print("FAIL: " + test_loc.symtab.filename + - ":" + str(test_loc.line)) - print("GDB printed:") - print(" " + value) - print("Value should match:") - print(" " + check_literal) - test_failures += 1 - else: - print("PASS: " + test_loc.symtab.filename + - ":" + str(test_loc.line)) - - except RuntimeError as e: - # At this point, lots of different things could be wrong, so don't try to - # recover or figure it out. Don't exit either, because then it's - # impossible debug the framework itself. - print("FAIL: Something is wrong in the test framework.") - print(str(e)) - test_failures += 1 - - def _get_value_string(self, compare_frame, testcase_frame): - compare_frame.select() - if "ComparePrettyPrint" in compare_frame.name(): - return gdb.execute("p value", to_string=True) - value_str = str(compare_frame.read_var("value")) - clean_expression_str = value_str.strip("'\"") - testcase_frame.select() - return gdb.execute("p " + clean_expression_str, to_string=True) - - -def exit_handler(event=None): - global test_failures - if test_failures: - print("FAILED %d cases" % test_failures) - exit(test_failures) - - -# Start code executed at load time - -# Disable terminal paging -gdb.execute("set height 0") -gdb.execute("set python print-stack full") -test_failures = 0 -CheckResult() -test_bp = gdb.Breakpoint("StopForDebugger") -test_bp.enabled = True -test_bp.silent = True -test_bp.commands = "print_and_compare\ncontinue" -# "run" won't return if the program exits; ensure the script regains control. -gdb.events.exited.connect(exit_handler) -gdb.execute("run") -# If the program didn't exit, something went wrong, but we don't -# know what. Fail on exit. -test_failures += 1 -exit_handler(None) diff --git a/libcudacxx/.upstream-tests/test/pretty_printers/gdb_pretty_printer_test.sh.cpp b/libcudacxx/.upstream-tests/test/pretty_printers/gdb_pretty_printer_test.sh.cpp deleted file mode 100644 index d665152dd7..0000000000 --- a/libcudacxx/.upstream-tests/test/pretty_printers/gdb_pretty_printer_test.sh.cpp +++ /dev/null @@ -1,643 +0,0 @@ -// -*- C++ -*- -//===----------------------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// -// UNSUPPORTED: system-windows -// REQUIRES: libcxx_gdb -// -// RUN: %cxx %flags %s -o %t.exe %compile_flags -g %link_flags -// Ensure locale-independence for unicode tests. -// RUN: %libcxx_gdb -nx -batch -iex "set autoload off" -ex "source %libcxx_src_root/utils/gdb/libcxx/printers.py" -ex "python register_libcxx_printer_loader()" -ex "source %libcxx_src_root/test/pretty_printers/gdb_pretty_printer_test.py" %t.exe - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "test_macros.h" - -// To write a pretty-printer test: -// -// 1. Declare a variable of the type you want to test -// -// 2. Set its value to something which will test the pretty printer in an -// interesting way. -// -// 3. Call ComparePrettyPrintToChars with that variable, and a "const char*" -// value to compare to the printer's output. -// -// Or -// -// Call ComparePrettyPrintToChars with that variable, and a "const char*" -// *python* regular expression to match against the printer's output. -// The set of special characters in a Python regular expression overlaps -// with a lot of things the pretty printers print--brackets, for -// example--so take care to escape appropriately. -// -// Alternatively, construct a string that gdb can parse as an expression, -// so that printing the value of the expression will test the pretty printer -// in an interesting way. Then, call CompareExpressionPrettyPrintToChars or -// CompareExpressionPrettyPrintToRegex to compare the printer's output. - -// Avoids setting a breakpoint in every-single instantiation of -// ComparePrettyPrintTo*. Also, make sure neither it, nor the -// variables we need present in the Compare functions are optimized -// away. -#ifdef TEST_COMPILER_GCC -#define OPT_NONE __attribute__((noinline)) -#else -#define OPT_NONE __attribute__((optnone)) -#endif -void StopForDebugger(void *value, void *check) OPT_NONE; -void StopForDebugger(void *value, void *check) {} - - -// Prevents the compiler optimizing away the parameter in the caller function. -template -void MarkAsLive(Type &&t) OPT_NONE; -template -void MarkAsLive(Type &&t) {} - -// In all of the Compare(Expression)PrettyPrintTo(Regex/Chars) functions below, -// the python script sets a breakpoint just before the call to StopForDebugger, -// compares the result to the expectation. -// -// The expectation is a literal string to be matched exactly in -// *PrettyPrintToChars functions, and is a python regular expression in -// *PrettyPrintToRegex functions. -// -// In ComparePrettyPrint* functions, the value is a variable of any type. In -// CompareExpressionPrettyPrint functions, the value is a string expression that -// gdb will parse and print the result. -// -// The python script will print either "PASS", or a detailed failure explanation -// along with the line that has invoke the function. The testing will continue -// in either case. - -template void ComparePrettyPrintToChars( - TypeToPrint value, - const char *expectation) { - StopForDebugger(&value, &expectation); -} - -template void ComparePrettyPrintToRegex( - TypeToPrint value, - const char *expectation) { - StopForDebugger(&value, &expectation); -} - -void CompareExpressionPrettyPrintToChars( - cuda::std::string value, - const char *expectation) { - StopForDebugger(&value, &expectation); -} - -void CompareExpressionPrettyPrintToRegex( - cuda::std::string value, - const char *expectation) { - StopForDebugger(&value, &expectation); -} - -namespace example { - struct example_struct { - int a = 0; - int arr[1000]; - }; -} - -// If enabled, the self test will "fail"--because we want to be sure it properly -// diagnoses tests that *should* fail. Evaluate the output by hand. -void framework_self_test() { -#ifdef FRAMEWORK_SELF_TEST - // Use the most simple data structure we can. - const char a = 'a'; - - // Tests that should pass - ComparePrettyPrintToChars(a, "97 'a'"); - ComparePrettyPrintToRegex(a, ".*"); - - // Tests that should fail. - ComparePrettyPrintToChars(a, "b"); - ComparePrettyPrintToRegex(a, "b"); -#endif -} - -// A simple pass-through allocator to check that we handle CompressedPair -// correctly. -template class UncompressibleAllocator : public cuda::std::allocator { - public: - char X; -}; - -void string_test() { - cuda::std::string short_string("kdjflskdjf"); - // The display_hint "string" adds quotes the printed result. - ComparePrettyPrintToChars(short_string, "\"kdjflskdjf\""); - - cuda::std::basic_string, UncompressibleAllocator> - long_string("mehmet bizim dostumuz agzi kirik testimiz"); - ComparePrettyPrintToChars(long_string, - "\"mehmet bizim dostumuz agzi kirik testimiz\""); -} - -void u16string_test() { - cuda::std::u16string test0 = u"Hello World"; - ComparePrettyPrintToChars(test0, "u\"Hello World\""); - cuda::std::u16string test1 = u"\U00010196\u20AC\u00A3\u0024"; - ComparePrettyPrintToChars(test1, "u\"\U00010196\u20AC\u00A3\u0024\""); - cuda::std::u16string test2 = u"\u0024\u0025\u0026\u0027"; - ComparePrettyPrintToChars(test2, "u\"\u0024\u0025\u0026\u0027\""); - cuda::std::u16string test3 = u"mehmet bizim dostumuz agzi kirik testimiz"; - ComparePrettyPrintToChars(test3, - ("u\"mehmet bizim dostumuz agzi kirik testimiz\"")); -} - -void u32string_test() { - cuda::std::u32string test0 = U"Hello World"; - ComparePrettyPrintToChars(test0, "U\"Hello World\""); - cuda::std::u32string test1 = - U"\U0001d552\U0001d553\U0001d554\U0001d555\U0001d556\U0001d557"; - ComparePrettyPrintToChars( - test1, - ("U\"\U0001d552\U0001d553\U0001d554\U0001d555\U0001d556\U0001d557\"")); - cuda::std::u32string test2 = U"\U00004f60\U0000597d"; - ComparePrettyPrintToChars(test2, ("U\"\U00004f60\U0000597d\"")); - cuda::std::u32string test3 = U"mehmet bizim dostumuz agzi kirik testimiz"; - ComparePrettyPrintToChars(test3, ("U\"mehmet bizim dostumuz agzi kirik testimiz\"")); -} - -void tuple_test() { - cuda::std::tuple test0(2, 3, 4); - ComparePrettyPrintToChars( - test0, - "cuda::std::tuple containing = {[1] = 2, [2] = 3, [3] = 4}"); - - cuda::std::tuple<> test1; - ComparePrettyPrintToChars( - test1, - "empty cuda::std::tuple"); -} - -void unique_ptr_test() { - cuda::std::unique_ptr matilda(new cuda::std::string("Matilda")); - ComparePrettyPrintToRegex( - cuda::std::move(matilda), - R"(cuda::std::unique_ptr containing = {__ptr_ = 0x[a-f0-9]+})"); - cuda::std::unique_ptr forty_two(new int(42)); - ComparePrettyPrintToRegex(cuda::std::move(forty_two), - R"(cuda::std::unique_ptr containing = {__ptr_ = 0x[a-f0-9]+})"); - - cuda::std::unique_ptr this_is_null; - ComparePrettyPrintToChars(cuda::std::move(this_is_null), - R"(cuda::std::unique_ptr is nullptr)"); -} - -void bitset_test() { - cuda::std::bitset<258> i_am_empty(0); - ComparePrettyPrintToChars(i_am_empty, "cuda::std::bitset<258>"); - - cuda::std::bitset<0> very_empty; - ComparePrettyPrintToChars(very_empty, "cuda::std::bitset<0>"); - - cuda::std::bitset<15> b_000001111111100(1020); - ComparePrettyPrintToChars(b_000001111111100, - "cuda::std::bitset<15> = {[2] = 1, [3] = 1, [4] = 1, [5] = 1, [6] = 1, " - "[7] = 1, [8] = 1, [9] = 1}"); - - cuda::std::bitset<258> b_0_129_132(0); - b_0_129_132[0] = true; - b_0_129_132[129] = true; - b_0_129_132[132] = true; - ComparePrettyPrintToChars(b_0_129_132, - "cuda::std::bitset<258> = {[0] = 1, [129] = 1, [132] = 1}"); -} - -void list_test() { - cuda::std::list i_am_empty{}; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::list is empty"); - - cuda::std::list one_two_three {1, 2, 3}; - ComparePrettyPrintToChars(one_two_three, - "cuda::std::list with 3 elements = {1, 2, 3}"); - - cuda::std::list colors {"red", "blue", "green"}; - ComparePrettyPrintToChars(colors, - R"(cuda::std::list with 3 elements = {"red", "blue", "green"})"); -} - -void deque_test() { - cuda::std::deque i_am_empty{}; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::deque is empty"); - - cuda::std::deque one_two_three {1, 2, 3}; - ComparePrettyPrintToChars(one_two_three, - "cuda::std::deque with 3 elements = {1, 2, 3}"); - - cuda::std::deque bfg; - for (int i = 0; i < 10; ++i) { - example::example_struct current; - current.a = i; - bfg.push_back(current); - } - for (int i = 0; i < 3; ++i) { - bfg.pop_front(); - } - for (int i = 0; i < 3; ++i) { - bfg.pop_back(); - } - ComparePrettyPrintToRegex(bfg, - "cuda::std::deque with 4 elements = {" - "{a = 3, arr = {[^}]+}}, " - "{a = 4, arr = {[^}]+}}, " - "{a = 5, arr = {[^}]+}}, " - "{a = 6, arr = {[^}]+}}}"); -} - -void map_test() { - cuda::std::map i_am_empty{}; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::map is empty"); - - cuda::std::map one_two_three; - one_two_three.insert({1, "one"}); - one_two_three.insert({2, "two"}); - one_two_three.insert({3, "three"}); - ComparePrettyPrintToChars(one_two_three, - "cuda::std::map with 3 elements = " - R"({[1] = "one", [2] = "two", [3] = "three"})"); - - cuda::std::map bfg; - for (int i = 0; i < 4; ++i) { - example::example_struct current; - current.a = 17 * i; - bfg.insert({i, current}); - } - ComparePrettyPrintToRegex(bfg, - R"(cuda::std::map with 4 elements = {)" - R"(\[0\] = {a = 0, arr = {[^}]+}}, )" - R"(\[1\] = {a = 17, arr = {[^}]+}}, )" - R"(\[2\] = {a = 34, arr = {[^}]+}}, )" - R"(\[3\] = {a = 51, arr = {[^}]+}}})"); -} - -void multimap_test() { - cuda::std::multimap i_am_empty{}; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::multimap is empty"); - - cuda::std::multimap one_two_three; - one_two_three.insert({1, "one"}); - one_two_three.insert({3, "three"}); - one_two_three.insert({1, "ein"}); - one_two_three.insert({2, "two"}); - one_two_three.insert({2, "zwei"}); - one_two_three.insert({1, "bir"}); - - ComparePrettyPrintToChars(one_two_three, - "cuda::std::multimap with 6 elements = " - R"({[1] = "one", [1] = "ein", [1] = "bir", )" - R"([2] = "two", [2] = "zwei", [3] = "three"})"); -} - -void queue_test() { - cuda::std::queue i_am_empty; - ComparePrettyPrintToChars(i_am_empty, - "cuda::std::queue wrapping = {cuda::std::deque is empty}"); - - cuda::std::queue one_two_three(cuda::std::deque{1, 2, 3}); - ComparePrettyPrintToChars(one_two_three, - "cuda::std::queue wrapping = {" - "cuda::std::deque with 3 elements = {1, 2, 3}}"); -} - -void priority_queue_test() { - cuda::std::priority_queue i_am_empty; - ComparePrettyPrintToChars(i_am_empty, - "cuda::std::priority_queue wrapping = {cuda::std::vector of length 0, capacity 0}"); - - cuda::std::priority_queue one_two_three; - one_two_three.push(11111); - one_two_three.push(22222); - one_two_three.push(33333); - - ComparePrettyPrintToRegex(one_two_three, - R"(cuda::std::priority_queue wrapping = )" - R"({cuda::std::vector of length 3, capacity 3 = {33333)"); - - ComparePrettyPrintToRegex(one_two_three, ".*11111.*"); - ComparePrettyPrintToRegex(one_two_three, ".*22222.*"); -} - -void set_test() { - cuda::std::set i_am_empty; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::set is empty"); - - cuda::std::set one_two_three {3, 1, 2}; - ComparePrettyPrintToChars(one_two_three, - "cuda::std::set with 3 elements = {1, 2, 3}"); - - cuda::std::set> prime_pairs { - cuda::std::make_pair(3, 5), cuda::std::make_pair(5, 7), cuda::std::make_pair(3, 5)}; - - ComparePrettyPrintToChars(prime_pairs, - "cuda::std::set with 2 elements = {" - "{first = 3, second = 5}, {first = 5, second = 7}}"); -} - -void stack_test() { - cuda::std::stack test0; - ComparePrettyPrintToChars(test0, - "cuda::std::stack wrapping = {cuda::std::deque is empty}"); - test0.push(5); - test0.push(6); - ComparePrettyPrintToChars( - test0, "cuda::std::stack wrapping = {cuda::std::deque with 2 elements = {5, 6}}"); - cuda::std::stack test1; - test1.push(true); - test1.push(false); - ComparePrettyPrintToChars( - test1, - "cuda::std::stack wrapping = {cuda::std::deque with 2 elements = {true, false}}"); - - cuda::std::stack test2; - test2.push("Hello"); - test2.push("World"); - ComparePrettyPrintToChars(test2, - "cuda::std::stack wrapping = {cuda::std::deque with 2 elements " - "= {\"Hello\", \"World\"}}"); -} - -void multiset_test() { - cuda::std::multiset i_am_empty; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::multiset is empty"); - - cuda::std::multiset one_two_three {"1:one", "2:two", "3:three", "1:one"}; - ComparePrettyPrintToChars(one_two_three, - "cuda::std::multiset with 4 elements = {" - R"("1:one", "1:one", "2:two", "3:three"})"); -} - -void vector_test() { - cuda::std::vector test0 = {true, false}; - ComparePrettyPrintToChars(test0, - "cuda::std::vector of " - "length 2, capacity 64 = {1, 0}"); - for (int i = 0; i < 31; ++i) { - test0.push_back(true); - test0.push_back(false); - } - ComparePrettyPrintToRegex( - test0, - "cuda::std::vector of length 64, " - "capacity 64 = {1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, " - "0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, " - "0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}"); - test0.push_back(true); - ComparePrettyPrintToRegex( - test0, - "cuda::std::vector of length 65, " - "capacity 128 = {1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, " - "1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, " - "1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1}"); - - cuda::std::vector test1; - ComparePrettyPrintToChars(test1, "cuda::std::vector of length 0, capacity 0"); - - cuda::std::vector test2 = {5, 6, 7}; - ComparePrettyPrintToChars(test2, - "cuda::std::vector of length " - "3, capacity 3 = {5, 6, 7}"); - - cuda::std::vector> test3({7, 8}); - ComparePrettyPrintToChars(cuda::std::move(test3), - "cuda::std::vector of length " - "2, capacity 2 = {7, 8}"); -} - -void set_iterator_test() { - cuda::std::set one_two_three {1111, 2222, 3333}; - auto it = one_two_three.find(2222); - MarkAsLive(it); - CompareExpressionPrettyPrintToRegex("it", - R"(cuda::std::__tree_const_iterator = {\[0x[a-f0-9]+\] = 2222})"); - - auto not_found = one_two_three.find(1234); - MarkAsLive(not_found); - // Because the end_node is not easily detected, just be sure it doesn't crash. - CompareExpressionPrettyPrintToRegex("not_found", - R"(cuda::std::__tree_const_iterator ( = {\[0x[a-f0-9]+\] = .*}|))"); -} - -void map_iterator_test() { - cuda::std::map one_two_three; - one_two_three.insert({1, "one"}); - one_two_three.insert({2, "two"}); - one_two_three.insert({3, "three"}); - auto it = one_two_three.begin(); - MarkAsLive(it); - CompareExpressionPrettyPrintToRegex("it", - R"(cuda::std::__map_iterator = )" - R"({\[0x[a-f0-9]+\] = {first = 1, second = "one"}})"); - - auto not_found = one_two_three.find(7); - MarkAsLive(not_found); - CompareExpressionPrettyPrintToRegex("not_found", - R"(cuda::std::__map_iterator = {\[0x[a-f0-9]+\] = end\(\)})"); -} - -void unordered_set_test() { - cuda::std::unordered_set i_am_empty; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::unordered_set is empty"); - - cuda::std::unordered_set numbers {12345, 67890, 222333, 12345}; - numbers.erase(numbers.find(222333)); - ComparePrettyPrintToRegex(numbers, "cuda::std::unordered_set with 2 elements = "); - ComparePrettyPrintToRegex(numbers, ".*12345.*"); - ComparePrettyPrintToRegex(numbers, ".*67890.*"); - - cuda::std::unordered_set colors {"red", "blue", "green"}; - ComparePrettyPrintToRegex(colors, "cuda::std::unordered_set with 3 elements = "); - ComparePrettyPrintToRegex(colors, R"(.*"red".*)"); - ComparePrettyPrintToRegex(colors, R"(.*"blue".*)"); - ComparePrettyPrintToRegex(colors, R"(.*"green".*)"); -} - -void unordered_multiset_test() { - cuda::std::unordered_multiset i_am_empty; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::unordered_multiset is empty"); - - cuda::std::unordered_multiset numbers {12345, 67890, 222333, 12345}; - ComparePrettyPrintToRegex(numbers, - "cuda::std::unordered_multiset with 4 elements = "); - ComparePrettyPrintToRegex(numbers, ".*12345.*12345.*"); - ComparePrettyPrintToRegex(numbers, ".*67890.*"); - ComparePrettyPrintToRegex(numbers, ".*222333.*"); - - cuda::std::unordered_multiset colors {"red", "blue", "green", "red"}; - ComparePrettyPrintToRegex(colors, - "cuda::std::unordered_multiset with 4 elements = "); - ComparePrettyPrintToRegex(colors, R"(.*"red".*"red".*)"); - ComparePrettyPrintToRegex(colors, R"(.*"blue".*)"); - ComparePrettyPrintToRegex(colors, R"(.*"green".*)"); -} - -void unordered_map_test() { - cuda::std::unordered_map i_am_empty; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::unordered_map is empty"); - - cuda::std::unordered_map one_two_three; - one_two_three.insert({1, "one"}); - one_two_three.insert({2, "two"}); - one_two_three.insert({3, "three"}); - ComparePrettyPrintToRegex(one_two_three, - "cuda::std::unordered_map with 3 elements = "); - ComparePrettyPrintToRegex(one_two_three, R"(.*\[1\] = "one".*)"); - ComparePrettyPrintToRegex(one_two_three, R"(.*\[2\] = "two".*)"); - ComparePrettyPrintToRegex(one_two_three, R"(.*\[3\] = "three".*)"); -} - -void unordered_multimap_test() { - cuda::std::unordered_multimap i_am_empty; - ComparePrettyPrintToChars(i_am_empty, "cuda::std::unordered_multimap is empty"); - - cuda::std::unordered_multimap one_two_three; - one_two_three.insert({1, "one"}); - one_two_three.insert({2, "two"}); - one_two_three.insert({3, "three"}); - one_two_three.insert({2, "two"}); - ComparePrettyPrintToRegex(one_two_three, - "cuda::std::unordered_multimap with 4 elements = "); - ComparePrettyPrintToRegex(one_two_three, R"(.*\[1\] = "one".*)"); - ComparePrettyPrintToRegex(one_two_three, R"(.*\[2\] = "two".*\[2\] = "two")"); - ComparePrettyPrintToRegex(one_two_three, R"(.*\[3\] = "three".*)"); -} - -void unordered_map_iterator_test() { - cuda::std::unordered_map ones_to_eights; - ones_to_eights.insert({1, 8}); - ones_to_eights.insert({11, 88}); - ones_to_eights.insert({111, 888}); - - auto ones_to_eights_begin = ones_to_eights.begin(); - MarkAsLive(ones_to_eights_begin); - CompareExpressionPrettyPrintToRegex("ones_to_eights_begin", - R"(cuda::std::__hash_map_iterator = {\[1+\] = 8+})"); - - auto not_found = ones_to_eights.find(5); - MarkAsLive(not_found); - CompareExpressionPrettyPrintToRegex("not_found", - R"(cuda::std::__hash_map_iterator = end\(\))"); -} - -void unordered_set_iterator_test() { - cuda::std::unordered_set ones; - ones.insert(111); - ones.insert(1111); - ones.insert(11111); - - auto ones_begin = ones.begin(); - MarkAsLive(ones_begin); - CompareExpressionPrettyPrintToRegex("ones_begin", - R"(cuda::std::__hash_const_iterator = {1+})"); - - auto not_found = ones.find(5); - MarkAsLive(not_found); - CompareExpressionPrettyPrintToRegex("not_found", - R"(cuda::std::__hash_const_iterator = end\(\))"); -} - -// Check that libc++ pretty printers do not handle pointers. -void pointer_negative_test() { - int abc = 123; - int *int_ptr = &abc; - // Check that the result is equivalent to "p/r int_ptr" command. - ComparePrettyPrintToRegex(int_ptr, R"(\(int \*\) 0x[a-f0-9]+)"); -} - -void shared_ptr_test() { - // Shared ptr tests while using test framework call another function - // due to which there is one more count for the pointer. Hence, all the - // following tests are testing with expected count plus 1. - cuda::std::shared_ptr test0 = cuda::std::make_shared(5); - ComparePrettyPrintToRegex( - test0, - R"(cuda::std::shared_ptr count 2, weak 0 containing = {__ptr_ = 0x[a-f0-9]+})"); - - cuda::std::shared_ptr test1(test0); - ComparePrettyPrintToRegex( - test1, - R"(cuda::std::shared_ptr count 3, weak 0 containing = {__ptr_ = 0x[a-f0-9]+})"); - - { - cuda::std::weak_ptr test2 = test1; - ComparePrettyPrintToRegex( - test0, - R"(cuda::std::shared_ptr count 3, weak 1 containing = {__ptr_ = 0x[a-f0-9]+})"); - } - - ComparePrettyPrintToRegex( - test0, - R"(cuda::std::shared_ptr count 3, weak 0 containing = {__ptr_ = 0x[a-f0-9]+})"); - - cuda::std::shared_ptr test3; - ComparePrettyPrintToChars(test3, "cuda::std::shared_ptr is nullptr"); -} - -void streampos_test() { - cuda::std::streampos test0 = 67; - ComparePrettyPrintToChars( - test0, "cuda::std::fpos with stream offset:67 with state: {count:0 value:0}"); - cuda::std::istringstream input("testing the input stream here"); - cuda::std::streampos test1 = input.tellg(); - ComparePrettyPrintToChars( - test1, "cuda::std::fpos with stream offset:0 with state: {count:0 value:0}"); - cuda::std::unique_ptr buffer(new char[5]); - input.read(buffer.get(), 5); - test1 = input.tellg(); - ComparePrettyPrintToChars( - test1, "cuda::std::fpos with stream offset:5 with state: {count:0 value:0}"); -} - -int main(int argc, char* argv[]) { - framework_self_test(); - - string_test(); - - u32string_test(); - tuple_test(); - unique_ptr_test(); - shared_ptr_test(); - bitset_test(); - list_test(); - deque_test(); - map_test(); - multimap_test(); - queue_test(); - priority_queue_test(); - stack_test(); - set_test(); - multiset_test(); - vector_test(); - set_iterator_test(); - map_iterator_test(); - unordered_set_test(); - unordered_multiset_test(); - unordered_map_test(); - unordered_multimap_test(); - unordered_map_iterator_test(); - unordered_set_iterator_test(); - pointer_negative_test(); - streampos_test(); - return 0; -} diff --git a/libcudacxx/.upstream-tests/utils/cat_files.py b/libcudacxx/.upstream-tests/utils/cat_files.py deleted file mode 100755 index ac4f386966..0000000000 --- a/libcudacxx/.upstream-tests/utils/cat_files.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python -#===----------------------------------------------------------------------===## -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===----------------------------------------------------------------------===## - -from argparse import ArgumentParser -import sys - -def print_and_exit(msg): - sys.stderr.write(msg + '\n') - sys.exit(1) - -def main(): - parser = ArgumentParser( - description="Concatenate two files into a single file") - parser.add_argument( - '-o', '--output', dest='output', required=True, - help='The output file. stdout is used if not given', - type=str, action='store') - parser.add_argument( - 'files', metavar='files', nargs='+', - help='The files to concatenate') - - args = parser.parse_args() - - if len(args.files) < 2: - print_and_exit('fewer than 2 inputs provided') - data = '' - for filename in args.files: - with open(filename, 'r') as f: - data += f.read() - if len(data) != 0 and data[-1] != '\n': - data += '\n' - assert len(data) > 0 and "cannot cat empty files" - with open(args.output, 'w') as f: - f.write(data) - - -if __name__ == '__main__': - main() - sys.exit(0) diff --git a/libcudacxx/.upstream-tests/utils/ci/macos-backdeployment.sh b/libcudacxx/.upstream-tests/utils/ci/macos-backdeployment.sh deleted file mode 100755 index 6996af9343..0000000000 --- a/libcudacxx/.upstream-tests/utils/ci/macos-backdeployment.sh +++ /dev/null @@ -1,145 +0,0 @@ -#!/usr/bin/env bash - -set -ue - -function usage() { - cat < --std --arch --deployment-target --sdk-version [--lit-args ] - -This script is used to continually test the back-deployment use case of libc++ and libc++abi on MacOS. - - --monorepo-root Full path to the root of the LLVM monorepo. Both libc++ and libc++abi headers from the monorepo are used. - --std Version of the C++ Standard to run the tests under (c++03, c++11, etc..). - --arch Architecture to build the tests for (32, 64). - --deployment-target The deployment target to run the tests for. This should be a version number of MacOS (e.g. 10.12). All MacOS versions until and including 10.9 are supported. - --sdk-version The version of the SDK to test with. This should be a version number of MacOS (e.g. 10.12). We'll link against the libc++ dylib in that SDK, but we'll run against the one on the given deployment target. - [--lit-args] Additional arguments to pass to lit (optional). If there are multiple arguments, quote them to pass them as a single argument to this script. - [--no-cleanup] Do not cleanup the temporary directory that was used for testing at the end. This can be useful to debug failures. Make sure to clean up manually after. - [-h, --help] Print this help. -EOM -} - -while [[ $# -gt 0 ]]; do - case "$1" in - --monorepo-root) - MONOREPO_ROOT="${2}" - if [[ ! -d "${MONOREPO_ROOT}" ]]; then - echo "--monorepo-root '${MONOREPO_ROOT}' is not a valid directory" - usage - exit 1 - fi - shift; shift - ;; - --std) - STD="${2}" - shift; shift - ;; - --arch) - ARCH="${2}" - shift; shift - ;; - --deployment-target) - DEPLOYMENT_TARGET="${2}" - shift; shift - ;; - --sdk-version) - MACOS_SDK_VERSION="${2}" - shift; shift - ;; - --lit-args) - ADDITIONAL_LIT_ARGS="${2}" - shift; shift - ;; - --no-cleanup) - NO_CLEANUP="" - shift - ;; - -h|--help) - usage - exit 0 - ;; - *) - echo "${1} is not a supported argument" - usage - exit 1 - ;; - esac -done - -if [[ -z ${MONOREPO_ROOT+x} ]]; then echo "--monorepo-root is a required parameter"; usage; exit 1; fi -if [[ -z ${STD+x} ]]; then echo "--std is a required parameter"; usage; exit 1; fi -if [[ -z ${ARCH+x} ]]; then echo "--arch is a required parameter"; usage; exit 1; fi -if [[ -z ${DEPLOYMENT_TARGET+x} ]]; then echo "--deployment-target is a required parameter"; usage; exit 1; fi -if [[ -z ${MACOS_SDK_VERSION+x} ]]; then echo "--sdk-version is a required parameter"; usage; exit 1; fi -if [[ -z ${ADDITIONAL_LIT_ARGS+x} ]]; then ADDITIONAL_LIT_ARGS=""; fi - - -TEMP_DIR="$(mktemp -d)" -echo "Created temporary directory ${TEMP_DIR}" -function cleanup { - if [[ -z ${NO_CLEANUP+x} ]]; then - echo "Removing temporary directory ${TEMP_DIR}" - rm -rf "${TEMP_DIR}" - else - echo "Temporary directory is at '${TEMP_DIR}', make sure to clean it up yourself" - fi -} -trap cleanup EXIT - - -LLVM_BUILD_DIR="${TEMP_DIR}/llvm-build" -LLVM_INSTALL_DIR="${TEMP_DIR}/llvm-install" - -PREVIOUS_DYLIBS_URL="http://lab.llvm.org:8080/roots/libcxx-roots.tar.gz" -LLVM_TARBALL_URL="https://github.com/llvm-mirror/llvm/archive/master.tar.gz" - - -echo "@@@ Configuring architecture-related stuff @@@" -if [[ "${ARCH}" == "64" ]]; then CMAKE_ARCH_STRING="x86_64"; else CMAKE_ARCH_STRING="i386"; fi -if [[ "${ARCH}" == "64" ]]; then LIT_ARCH_STRING=""; else LIT_ARCH_STRING="--param=enable_32bit=true"; fi -echo "@@@@@@" - - -echo "@@@ Configuring CMake @@@" -mkdir -p "${LLVM_BUILD_DIR}" -(cd "${LLVM_BUILD_DIR}" && - xcrun cmake \ - -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Apple.cmake" \ - -GNinja \ - -DCMAKE_INSTALL_PREFIX="${LLVM_INSTALL_DIR}" \ - -DLLVM_ENABLE_PROJECTS="libcxx;libcxxabi" \ - -DCMAKE_OSX_ARCHITECTURES="${CMAKE_ARCH_STRING}" \ - "${MONOREPO_ROOT}/llvm" -) -echo "@@@@@@" - - -echo "@@@ Installing the latest libc++ headers @@@" -ninja -C "${LLVM_BUILD_DIR}" install-cxx-headers -echo "@@@@@@" - - -echo "@@@ Downloading dylibs for older deployment targets @@@" -# TODO: We should also link against the libc++abi.dylib that was shipped in the SDK -PREVIOUS_DYLIBS_DIR="${TEMP_DIR}/libcxx-dylibs" -mkdir "${PREVIOUS_DYLIBS_DIR}" -curl "${PREVIOUS_DYLIBS_URL}" | tar -xz --strip-components=1 -C "${PREVIOUS_DYLIBS_DIR}" -LIBCXX_ON_DEPLOYMENT_TARGET="${PREVIOUS_DYLIBS_DIR}/macOS/${DEPLOYMENT_TARGET}/libc++.dylib" -LIBCXXABI_ON_DEPLOYMENT_TARGET="${PREVIOUS_DYLIBS_DIR}/macOS/${DEPLOYMENT_TARGET}/libc++abi.dylib" -LIBCXX_IN_SDK="${PREVIOUS_DYLIBS_DIR}/macOS/${MACOS_SDK_VERSION}/libc++.dylib" -echo "@@@@@@" - - -# TODO: We need to also run the tests for libc++abi. -echo "@@@ Running tests for libc++ @@@" -"${LLVM_BUILD_DIR}/bin/llvm-lit" -sv "${MONOREPO_ROOT}/libcxx/test" \ - --param=enable_experimental=false \ - ${LIT_ARCH_STRING} \ - --param=cxx_headers="${LLVM_INSTALL_DIR}/include/c++/v1" \ - --param=std="${STD}" \ - --param=platform="macosx${DEPLOYMENT_TARGET}" \ - --param=cxx_runtime_root="$(dirname "${LIBCXX_ON_DEPLOYMENT_TARGET}")" \ - --param=abi_library_path="$(dirname "${LIBCXXABI_ON_DEPLOYMENT_TARGET}")" \ - --param=use_system_cxx_lib="$(dirname "${LIBCXX_IN_SDK}")" \ - ${ADDITIONAL_LIT_ARGS} -echo "@@@@@@" diff --git a/libcudacxx/.upstream-tests/utils/ci/macos-trunk.sh b/libcudacxx/.upstream-tests/utils/ci/macos-trunk.sh deleted file mode 100755 index 7a5ee75e2b..0000000000 --- a/libcudacxx/.upstream-tests/utils/ci/macos-trunk.sh +++ /dev/null @@ -1,132 +0,0 @@ -#!/usr/bin/env bash - -set -ue - -function usage() { - cat < --std --arch [--lit-args ] - -This script is used to continually test libc++ and libc++abi trunk on MacOS. - - --monorepo-root Full path to the root of the LLVM monorepo. Both libc++ and libc++abi from the monorepo are used. - --std Version of the C++ Standard to run the tests under (c++03, c++11, etc..). - --arch Architecture to build the tests for (32, 64). - --libcxx-exceptions Whether to enable exceptions when building libc++ and running the libc++ tests. libc++abi is always built with support for exceptions because other libraries in the runtime depend on it (like libobjc). This must be ON or OFF. - [--cmake-args] Additional arguments to pass to CMake (both the libc++ and the libc++abi configuration). If there are multiple arguments, quote them to paass them as a single argument to this script. - [--lit-args] Additional arguments to pass to lit. If there are multiple arguments, quote them to pass them as a single argument to this script. - [--no-cleanup] Do not cleanup the temporary directory that was used for testing at the end. This can be useful to debug failures. Make sure to clean up manually after. - [-h, --help] Print this help. -EOM -} - -while [[ $# -gt 0 ]]; do - case "$1" in - --monorepo-root) - MONOREPO_ROOT="${2}" - if [[ ! -e "${MONOREPO_ROOT}" ]]; then - echo "--monorepo-root '${MONOREPO_ROOT}' is not a valid directory" - usage - exit 1 - fi - shift; shift - ;; - --std) - STD="${2}" - shift; shift - ;; - --arch) - ARCH="${2}" - shift; shift - ;; - --libcxx-exceptions) - LIBCXX_EXCEPTIONS="${2}" - shift; shift - ;; - --cmake-args) - ADDITIONAL_CMAKE_ARGS="${2}" - shift; shift - ;; - --lit-args) - ADDITIONAL_LIT_ARGS="${2}" - shift; shift - ;; - --no-cleanup) - NO_CLEANUP="" - shift - ;; - -h|--help) - usage - exit 0 - ;; - *) - echo "${1} is not a supported argument" - usage - exit 1 - ;; - esac -done - -if [[ -z ${MONOREPO_ROOT+x} ]]; then echo "--monorepo-root is a required parameter"; usage; exit 1; fi -if [[ -z ${STD+x} ]]; then echo "--std is a required parameter"; usage; exit 1; fi -if [[ -z ${ARCH+x} ]]; then echo "--arch is a required parameter"; usage; exit 1; fi -if [[ "${LIBCXX_EXCEPTIONS}" != "ON" && "${LIBCXX_EXCEPTIONS}" != "OFF" ]]; then echo "--libcxx-exceptions is a required parameter and must be either ON or OFF"; usage; exit 1; fi -if [[ -z ${ADDITIONAL_CMAKE_ARGS+x} ]]; then ADDITIONAL_CMAKE_ARGS=""; fi -if [[ -z ${ADDITIONAL_LIT_ARGS+x} ]]; then ADDITIONAL_LIT_ARGS=""; fi - - -TEMP_DIR="$(mktemp -d)" -echo "Created temporary directory ${TEMP_DIR}" -function cleanup { - if [[ -z ${NO_CLEANUP+x} ]]; then - echo "Removing temporary directory ${TEMP_DIR}" - rm -rf "${TEMP_DIR}" - else - echo "Temporary directory is at '${TEMP_DIR}', make sure to clean it up yourself" - fi -} -trap cleanup EXIT - - -LLVM_BUILD_DIR="${TEMP_DIR}/llvm-build" -LLVM_INSTALL_DIR="${TEMP_DIR}/llvm-install" - -echo "@@@ Setting up LIT flags @@@" -LIT_FLAGS="-sv --param=std=${STD} ${ADDITIONAL_LIT_ARGS}" -if [[ "${ARCH}" == "32" ]]; then - LIT_FLAGS+=" --param=enable_32bit=true" -fi -echo "@@@@@@" - - -echo "@@@ Configuring CMake @@@" -mkdir -p "${LLVM_BUILD_DIR}" -(cd "${LLVM_BUILD_DIR}" && - xcrun cmake \ - -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Apple.cmake" \ - -GNinja \ - -DCMAKE_INSTALL_PREFIX="${LLVM_INSTALL_DIR}" \ - -DLIBCXX_ENABLE_EXCEPTIONS="${LIBCXX_EXCEPTIONS}" \ - -DLIBCXXABI_ENABLE_EXCEPTIONS=ON \ - ${ADDITIONAL_CMAKE_ARGS} \ - -DLLVM_LIT_ARGS="${LIT_FLAGS}" \ - -DLLVM_ENABLE_PROJECTS="libcxx;libcxxabi" \ - -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \ - "${MONOREPO_ROOT}/llvm" -) -echo "@@@@@@" - - -echo "@@@ Building libc++.dylib and libc++abi.dylib from sources (just to make sure it works) @@@" -ninja -C "${LLVM_BUILD_DIR}" install-cxx install-cxxabi -v -echo "@@@@@@" - - -echo "@@@ Running tests for libc++ @@@" -# TODO: We should run check-cxx-abilist too -ninja -C "${LLVM_BUILD_DIR}" check-cxx -echo "@@@@@@" - - -echo "@@@ Running tests for libc++abi @@@" -ninja -C "${LLVM_BUILD_DIR}" check-cxxabi -echo "@@@@@@" diff --git a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.base b/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.base deleted file mode 100644 index 56c93f963d..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.base +++ /dev/null @@ -1,46 +0,0 @@ -#===- libcxx/utils/docker/debian9/Dockerfile --------------------------------------------------===// -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===-------------------------------------------------------------------------------------------===// - -# Setup the base builder image with the packages we'll need to build GCC and Clang from source. -FROM launcher.gcr.io/google/debian9:latest AS builder-base -LABEL maintainer "libc++ Developers" - -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - ca-certificates \ - gnupg \ - build-essential \ - wget \ - subversion \ - unzip \ - automake \ - python \ - cmake \ - ninja-build \ - curl \ - git \ - gcc-multilib \ - g++-multilib \ - libc6-dev \ - bison \ - flex \ - libtool \ - autoconf \ - binutils-dev \ - binutils-gold \ - software-properties-common \ - gnupg \ - apt-transport-https \ - sudo \ - systemd \ - sysvinit-utils \ - systemd-sysv && \ - update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20 && \ - update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10 && \ - rm -rf /var/lib/apt/lists/* - diff --git a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.buildbot b/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.buildbot deleted file mode 100644 index c48f59a0b2..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.buildbot +++ /dev/null @@ -1,26 +0,0 @@ - -#===-------------------------------------------------------------------------------------------===// -# buildslave -#===-------------------------------------------------------------------------------------------===// -FROM ericwf/builder-base:latest AS buildbot - -# Copy over the GCC and Clang installations -COPY --from=ericwf/gcc-5:latest /opt/gcc-5 /opt/gcc-5 -COPY --from=ericwf/gcc-tot:latest /opt/gcc-tot /opt/gcc-tot -COPY --from=ericwf/llvm-4:latest /opt/llvm-4.0 /opt/llvm-4.0 - -RUN ln -s /opt/gcc-5/bin/gcc /usr/local/bin/gcc-4.9 && \ - ln -s /opt/gcc-5/bin/g++ /usr/local/bin/g++-4.9 - -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - bash-completion \ - vim \ - sudo \ - buildbot-slave \ - && rm -rf /var/lib/apt/lists/* - -ADD scripts/install_clang_packages.sh /tmp/install_clang_packages.sh -RUN /tmp/install_clang_packages.sh && rm /tmp/install_clang_packages.sh - -RUN git clone https://git.llvm.org/git/libcxx.git /libcxx diff --git a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.clang b/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.clang deleted file mode 100644 index 68e39bcd28..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.clang +++ /dev/null @@ -1,19 +0,0 @@ -#===- libcxx/utils/docker/debian9/Dockerfile --------------------------------------------------===// -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===-------------------------------------------------------------------------------------------===// - -# Build GCC versions -FROM ericwf/builder-base:latest -LABEL maintainer "libc++ Developers" - -ARG install_prefix -ARG branch - -# Build additional LLVM versions - -ADD scripts/build_llvm_version.sh /tmp/build_llvm_version.sh -RUN /tmp/build_llvm_version.sh --install "$install_prefix" --branch "$branch" diff --git a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.compiler_zoo b/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.compiler_zoo deleted file mode 100644 index b357221190..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.compiler_zoo +++ /dev/null @@ -1,35 +0,0 @@ -#===- libcxx/utils/docker/debian9/Dockerfile --------------------------------------------------===// -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===-------------------------------------------------------------------------------------------===// - -#===-------------------------------------------------------------------------------------------===// -# compiler-zoo -#===-------------------------------------------------------------------------------------------===// -FROM ericwf/libcxx-buildbot-base:latest AS compiler-zoo -LABEL maintainer "libc++ Developers" - -# Copy over the GCC and Clang installations -COPY --from=ericwf/compilers:latest /opt/gcc-4.8.5 /opt/gcc-4.8.5 -COPY --from=ericwf/compilers:latest /opt/gcc-4.9.4 /opt/gcc-4.9.4 -COPY --from=ericwf/compilers:latest /opt/gcc-5 /opt/gcc-5 -COPY --from=ericwf/compilers:latest /opt/gcc-6 /opt/gcc-6 -COPY --from=ericwf/compilers:latest /opt/gcc-7 /opt/gcc-7 -COPY --from=ericwf/compilers:latest /opt/gcc-8 /opt/gcc-8 -COPY --from=ericwf/compilers_tot:latest /opt/gcc-tot /opt/gcc-tot - -COPY --from=ericwf/compilers:latest /opt/llvm-3.6 /opt/llvm-3.6 -COPY --from=ericwf/compilers:latest /opt/llvm-3.7 /opt/llvm-3.7 -COPY --from=ericwf/compilers:latest /opt/llvm-3.8 /opt/llvm-3.8 -COPY --from=ericwf/compilers:latest /opt/llvm-3.9 /opt/llvm-3.9 -COPY --from=ericwf/compilers:latest /opt/llvm-4.0 /opt/llvm-4.0 -COPY --from=ericwf/compilers:latest /opt/llvm-5.0 /opt/llvm-5.0 -COPY --from=ericwf/compilers:latest /opt/llvm-6.0 /opt/llvm-6.0 -COPY --from=ericwf/compilers:latest /opt/llvm-7.0 /opt/llvm-7.0 -COPY --from=ericwf/compilers:latest /opt/llvm-8.0 /opt/llvm-8.0 -COPY --from=ericwf/compilers_tot:latest /opt/llvm-tot /opt/llvm-tot - - diff --git a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.gcc b/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.gcc deleted file mode 100644 index 5a12074d0d..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/debian9/Dockerfile.gcc +++ /dev/null @@ -1,18 +0,0 @@ -#===- libcxx/utils/docker/debian9/Dockerfile --------------------------------------------------===// -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===-------------------------------------------------------------------------------------------===// - -# Build GCC versions -FROM ericwf/builder-base:latest -LABEL maintainer "libc++ Developers" - -ARG install_prefix -ARG branch -ARG cherry_pick="" - -ADD scripts/build_gcc_version.sh /tmp/build_gcc_version.sh -RUN /tmp/build_gcc_version.sh --install "$install_prefix" --branch "$branch" --cherry-pick "$cherry_pick" diff --git a/libcudacxx/.upstream-tests/utils/docker/docker-compose.yml b/libcudacxx/.upstream-tests/utils/docker/docker-compose.yml deleted file mode 100644 index 1202a827b2..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/docker-compose.yml +++ /dev/null @@ -1,46 +0,0 @@ -version: '3.4' -services: - builder-base: - build: - context: . - dockerfile: debian9/Dockerfile.base - target: builder-base - image: ericwf/builder-base:latest - gcc-tot: - build: - context: . - dockerfile: debian9/Dockerfile.gcc - args: - install_prefix: /opt/gcc-tot - branch: master - image: ericwf/gcc-tot:latest - gcc-5: - build: - context: . - dockerfile: debian9/Dockerfile.gcc - args: - install_prefix: /opt/gcc-5 - branch: gcc-5_5_0-release - image: ericwf/gcc-5:latest - llvm-4: - build: - context: . - dockerfile: debian9/Dockerfile.clang - args: - install_prefix: /opt/llvm-4.0 - branch: release/4.x - image: ericwf/llvm-4:latest - llvm-tot: - build: - context: . - dockerfile: debian9/Dockerfile.clang - args: - install_prefix: /opt/llvm-tot - branch: master - image: ericwf/llvm-tot:latest - buildbot: - build: - context: . - dockerfile: debian9/Dockerfile.buildbot - target: buildbot - image: ericwf/libcxx-buildbot-base:latest diff --git a/libcudacxx/.upstream-tests/utils/docker/scripts/build_gcc_version.sh b/libcudacxx/.upstream-tests/utils/docker/scripts/build_gcc_version.sh deleted file mode 100755 index 68aa4c67e3..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/scripts/build_gcc_version.sh +++ /dev/null @@ -1,108 +0,0 @@ -#!/usr/bin/env bash -#===- libcxx/utils/docker/scripts/build-gcc.sh ----------------------------===// -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===-----------------------------------------------------------------------===// - -set -e - -function show_usage() { - cat << EOF -Usage: build_gcc_version.sh [options] - -Run autoconf with the specified arguments. Used inside docker container. - -Available options: - -h|--help show this help message - --branch the branch of gcc you want to build. - --cherry-pick a commit hash to apply to the GCC sources. - --install destination directory where to install the targets. -Required options: --install and --branch - -All options after '--' are passed to CMake invocation. -EOF -} - -GCC_INSTALL_DIR="" -GCC_BRANCH="" -CHERRY_PICK="" - -while [[ $# -gt 0 ]]; do - case "$1" in - --install) - shift - GCC_INSTALL_DIR="$1" - shift - ;; - --branch) - shift - GCC_BRANCH="$1" - shift - ;; - --cherry-pick) - shift - CHERRY_PICK="$1" - shift - ;; - -h|--help) - show_usage - exit 0 - ;; - *) - echo "Unknown option: $1" - exit 1 - esac -done - -if [ "$GCC_INSTALL_DIR" == "" ]; then - echo "No install directory. Please specify the --install argument." - exit 1 -fi - -if [ "$GCC_BRANCH" == "" ]; then - echo "No branch specified. Please specify the --branch argument." - exit 1 -fi - -set -x - -NPROC=`nproc` -TMP_ROOT="$(mktemp -d -p /tmp)" -GCC_SOURCE_DIR="$TMP_ROOT/gcc" -GCC_BUILD_DIR="$TMP_ROOT/build" - -echo "Cloning source directory for branch $GCC_BRANCH" -git clone --branch "$GCC_BRANCH" --single-branch --depth=1 git://gcc.gnu.org/git/gcc.git $GCC_SOURCE_DIR - -pushd "$GCC_SOURCE_DIR" -if [ "$CHERRY_PICK" != "" ]; then - git fetch origin trunk --unshallow # Urg, we have to get the entire history. This will take a while. - git cherry-pick --no-commit -X theirs "$CHERRY_PICK" -fi -./contrib/download_prerequisites -popd - - -mkdir "$GCC_BUILD_DIR" -pushd "$GCC_BUILD_DIR" - -# Run the build as specified in the build arguments. -echo "Running configuration" -$GCC_SOURCE_DIR/configure --prefix=$GCC_INSTALL_DIR \ - --disable-bootstrap --disable-libgomp --disable-libitm \ - --disable-libvtv --disable-libcilkrts --disable-libmpx \ - --disable-liboffloadmic --disable-libcc1 --enable-languages=c,c++ - -echo "Running build with $NPROC threads" -make -j$NPROC -echo "Installing to $GCC_INSTALL_DIR" -make install -j$NPROC -popd - -# Cleanup. -rm -rf "$TMP_ROOT" - -echo "Done" \ No newline at end of file diff --git a/libcudacxx/.upstream-tests/utils/docker/scripts/build_llvm_version.sh b/libcudacxx/.upstream-tests/utils/docker/scripts/build_llvm_version.sh deleted file mode 100755 index 613a7babd3..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/scripts/build_llvm_version.sh +++ /dev/null @@ -1,106 +0,0 @@ -#!/usr/bin/env bash -#===- libcxx/utils/docker/scripts/build_install_llvm_version_default.sh -----------------------===// -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===-------------------------------------------------------------------------------------------===// - -set -e - -function show_usage() { - cat << EOF -Usage: build_install_llvm.sh [options] -- [cmake-args] - -Run cmake with the specified arguments. Used inside docker container. -Passes additional -DCMAKE_INSTALL_PREFIX and puts the build results into -the directory specified by --to option. - -Available options: - -h|--help show this help message - --install destination directory where to install the targets. - --branch the branch or tag of LLVM to build -Required options: --install, and --version. - -All options after '--' are passed to CMake invocation. -EOF -} - -LLVM_BRANCH="" -CMAKE_ARGS="" -LLVM_INSTALL_DIR="" - -while [[ $# -gt 0 ]]; do - case "$1" in - --install) - shift - LLVM_INSTALL_DIR="$1" - shift - ;; - --branch) - shift - LLVM_BRANCH="$1" - shift - ;; - --) - shift - CMAKE_ARGS="$*" - shift $# - ;; - -h|--help) - show_usage - exit 0 - ;; - *) - echo "Unknown option: $1" - exit 1 - esac -done - - -if [ "$LLVM_INSTALL_DIR" == "" ]; then - echo "No install directory. Please specify the --install argument." - exit 1 -fi - -if [ "$LLVM_BRANCH" == "" ]; then - echo "No install directory. Please specify the --branch argument." - exit 1 -fi - -if [ "$CMAKE_ARGS" == "" ]; then - CMAKE_ARGS="-DCMAKE_BUILD_TYPE=RELEASE '-DCMAKE_C_FLAGS=-gline-tables-only' '-DCMAKE_CXX_FLAGS=-gline-tables-only' -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON" -fi - -set -x - -TMP_ROOT="$(mktemp -d -p /tmp)" -LLVM_SOURCE_DIR="$TMP_ROOT/llvm-project" -LLVM_BUILD_DIR="$TMP_ROOT/build" -LLVM="$LLVM_SOURCE_DIR/llvm" - -git clone --branch $LLVM_BRANCH --single-branch --depth=1 https://github.com/llvm/llvm-project.git $LLVM_SOURCE_DIR - -pushd "$LLVM_SOURCE_DIR" - -# Setup the source-tree using the old style layout -ln -s $LLVM_SOURCE_DIR/libcxx $LLVM/projects/libcxx -ln -s $LLVM_SOURCE_DIR/libcxxabi $LLVM/projects/libcxxabi -ln -s $LLVM_SOURCE_DIR/compiler-rt $LLVM/projects/compiler-rt -ln -s $LLVM_SOURCE_DIR/clang $LLVM/tools/clang -ln -s $LLVM_SOURCE_DIR/clang-tools-extra $LLVM/tools/clang/tools/extra - -popd - -# Configure and build -mkdir "$LLVM_BUILD_DIR" -pushd "$LLVM_BUILD_DIR" -cmake -GNinja "-DCMAKE_INSTALL_PREFIX=$LLVM_INSTALL_DIR" $CMAKE_ARGS $LLVM -ninja install -popd - -# Cleanup -rm -rf "$TMP_ROOT/" - -echo "Done" diff --git a/libcudacxx/.upstream-tests/utils/docker/scripts/docker_start_buildbots.sh b/libcudacxx/.upstream-tests/utils/docker/scripts/docker_start_buildbots.sh deleted file mode 100755 index f47ddcd248..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/scripts/docker_start_buildbots.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash -set -x - -# Update the libc++ sources in the image in order to use the most recent version of -# run_buildbots.sh -cd /libcxx -git pull -/libcxx/utils/docker/scripts/run_buildbot.sh "$@" diff --git a/libcudacxx/.upstream-tests/utils/docker/scripts/docker_update_bot.sh b/libcudacxx/.upstream-tests/utils/docker/scripts/docker_update_bot.sh deleted file mode 100755 index 5c027a860f..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/scripts/docker_update_bot.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -set -x - -cd /libcxx -git pull - - -#pushd /tmp -#curl -sSO https://dl.google.com/cloudagents/install-monitoring-agent.sh -#bash install-monitoring-agent.sh -#curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh -#bash install-logging-agent.sh --structured -#popd - - -apt-get update -y -apt-get upgrade -y - -apt-get install sudo -y - -# FIXME(EricWF): Remove this hack. It's only in place to temporarily fix linking libclang_rt from the -# debian packages. -# WARNING: If you're not a buildbot, DO NOT RUN! -apt-get install lld-9 -rm /usr/bin/ld -ln -s /usr/bin/lld-9 /usr/bin/ld - -systemctl set-property buildslave.service TasksMax=100000 - -systemctl daemon-reload -service buildslave restart diff --git a/libcudacxx/.upstream-tests/utils/docker/scripts/install_clang_packages.sh b/libcudacxx/.upstream-tests/utils/docker/scripts/install_clang_packages.sh deleted file mode 100755 index 94c98d6ad7..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/scripts/install_clang_packages.sh +++ /dev/null @@ -1,81 +0,0 @@ -#!/usr/bin/env bash -#===- libcxx/utils/docker/scripts/install_clang_package.sh -----------------===// -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===-----------------------------------------------------------------------===// - -set -e - -function show_usage() { - cat << EOF -Usage: install_clang_package.sh [options] - -Install -Available options: - -h|--help show this help message - --version the numeric version of the package to use. -EOF -} - -VERSION="9" - -while [[ $# -gt 0 ]]; do - case "$1" in - --version) - shift - VERSION="$1" - shift - ;; - -h|--help) - show_usage - exit 0 - ;; - *) - echo "Unknown option: $1" - exit 1 - esac -done - -set -x - -curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - -add-apt-repository -s "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs) main" -apt-get update -apt-get upgrade -y -apt-get install -y --no-install-recommends "clang-$VERSION" - -# FIXME(EricWF): Remove this once the clang packages are no longer broken. -if [ -f "/usr/local/bin/clang" ]; then - echo "clang already exists" - exit 1 -else - CC_BINARY="$(which clang-$VERSION)" - ln -s "$CC_BINARY" "/usr/local/bin/clang" -fi -if [ -f "/usr/local/bin/clang++" ]; then - echo "clang++ already exists" - exit 1 -else - CXX_BINARY="$(which clang++-$VERSION)" - ln -s "$CXX_BINARY" "/usr/local/bin/clang++" -fi - -echo "Testing clang version..." -clang --version - -echo "Testing clang++ version..." -clang++ --version - -# Figure out the libc++ and libc++abi package versions that we want. -if [ "$VERSION" == "" ]; then - VERSION="$(apt-cache search 'libc\+\+-[0-9]-dev' | awk '{print $1}' | awk -F- '{print $2}')" - echo "Installing version '$VERSION'" -fi - -apt-get purge -y "libc++-$VERSION-dev" "libc++abi-$VERSION-dev" -apt-get install -y --no-install-recommends "libc++-$VERSION-dev" "libc++abi-$VERSION-dev" - -echo "Done" diff --git a/libcudacxx/.upstream-tests/utils/docker/scripts/run_buildbot.sh b/libcudacxx/.upstream-tests/utils/docker/scripts/run_buildbot.sh deleted file mode 100755 index b458e0eb38..0000000000 --- a/libcudacxx/.upstream-tests/utils/docker/scripts/run_buildbot.sh +++ /dev/null @@ -1,110 +0,0 @@ -#!/usr/bin/env bash -set -x - -readonly BOT_ROOT=/b -readonly BOT_ROOT_NAME=$1 -readonly BOT_PASS=$2 - -#pushd /tmp -#curl -sSO https://dl.google.com/cloudagents/install-monitoring-agent.sh -#bash install-monitoring-agent.sh -#curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh -#bash install-logging-agent.sh --structured -#popd - -apt-get update -y -apt-get upgrade -y - -apt-get install sudo -y - -# FIXME(EricWF): Remove this hack. It's only in place to temporarily fix linking libclang_rt from the -# debian packages. -# WARNING: If you're not a buildbot, DO NOT RUN! -apt-get install lld-10 -y -rm /usr/bin/ld -ln -s /usr/bin/lld-10 /usr/bin/ld - -systemctl set-property buildslave.service TasksMax=100000 - -function setup_numbered_bot() { - local BOT_NAME=$1 - local BOT_DIR=$2 - mkdir -p $BOT_DIR - - buildslave stop $BOT_DIR - chown buildbot:buildbot $BOT_DIR - rm -rf $BOT_DIR/* - - buildslave create-slave --allow-shutdown=signal "$BOT_DIR" "lab.llvm.org:9990" "$BOT_NAME" "$BOT_PASS" - - echo "Eric Fiselier " > $BOT_DIR/info/admin - - echo "Connecting as $1" - { - uname -a | head -n1 - cmake --version | head -n1 - g++ --version | head -n1 - ld --version | head -n1 - date - lscpu - } > $BOT_DIR/info/host - - -#echo "SLAVE_RUNNER=/usr/bin/buildslave -#SLAVE_ENABLED[1]=\"1\" -#SLAVE_NAME[1]=\"$BOT_NAME\" -#SLAVE_USER[1]=\"buildbot\" -#SLAVE_BASEDIR[1]=\"$BOT_DIR\" -#SLAVE_OPTIONS[1]=\"\" -#SLAVE_PREFIXCMD[1]=\"\"" > $BOT_DIR/buildslave.cfg - - ls $BOT_DIR/ - cat $BOT_DIR/buildbot.tac -} - -function try_start_builder { - local N=$1 - local BOT_DIR="$BOT_ROOT/b$N" - local BOT_NAME="$BOT_ROOT_NAME$N" - - systemctl daemon-reload - service buildslave restart - setup_numbered_bot "$BOT_NAME" "$BOT_DIR" - - systemctl daemon-reload - service buildslave restart - - chown -R buildbot:buildbot $BOT_DIR/ - sudo -u buildbot /usr/bin/buildslave start $BOT_DIR/ - - sleep 30 - cat $BOT_DIR/twistd.log - if grep --quiet "slave is ready" $BOT_DIR/twistd.log; then - return 0 - fi - if grep --quiet "configuration update complete" $BOT_DIR/twistd.log; then - return 0 - fi - if grep "rejecting duplicate slave" $BOT_DIR/twistd.log; then - return 1 - fi - echo "Unknown error" - cat $BOT_DIR/twistd.log - exit 1 -} - -for N in `shuf -i 1-5` -do - if try_start_builder $N; then - break - fi - echo "failed to start any buildbot" - shutdown now -done - -# GCE can restart instance after 24h in the middle of the build. -# Gracefully restart before that happen. -sleep 72000 -while pkill -SIGHUP buildslave; do sleep 5; done; -shutdown now - diff --git a/libcudacxx/.upstream-tests/utils/gdb/libcxx/printers.py b/libcudacxx/.upstream-tests/utils/gdb/libcxx/printers.py deleted file mode 100644 index 6978852be9..0000000000 --- a/libcudacxx/.upstream-tests/utils/gdb/libcxx/printers.py +++ /dev/null @@ -1,996 +0,0 @@ -#===----------------------------------------------------------------------===## -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===----------------------------------------------------------------------===## -"""GDB pretty-printers for libc++. - -These should work for objects compiled when _LIBCUDACXX_ABI_UNSTABLE is defined -and when it is undefined. -""" - -from __future__ import print_function - -import re -import gdb - -# One under-documented feature of the gdb pretty-printer API -# is that clients can call any other member of the API -# before they call to_string. -# Therefore all self.FIELDs must be set in the pretty-printer's -# __init__ function. - -_void_pointer_type = gdb.lookup_type("void").pointer() - - -_long_int_type = gdb.lookup_type("unsigned long long") - -_libcpp_big_endian = False - -def addr_as_long(addr): - return int(addr.cast(_long_int_type)) - - -# The size of a pointer in bytes. -_pointer_size = _void_pointer_type.sizeof - - -def _remove_cxx_namespace(typename): - """Removed libc++ specific namespace from the type. - - Arguments: - typename(string): A type, such as std::__u::something. - - Returns: - A string without the libc++ specific part, such as std::something. - """ - - return re.sub("std::__.*?::", "std::", typename) - - -def _remove_generics(typename): - """Remove generics part of the type. Assumes typename is not empty. - - Arguments: - typename(string): A type such as std::my_collection. - - Returns: - The prefix up to the generic part, such as std::my_collection. - """ - - match = re.match("^([^<]+)", typename) - return match.group(1) - - -# Some common substitutions on the types to reduce visual clutter (A user who -# wants to see the actual details can always use print/r). -_common_substitutions = [ - ("std::basic_string, std::allocator >", - "std::string"), -] - - -def _prettify_typename(gdb_type): - """Returns a pretty name for the type, or None if no name can be found. - - Arguments: - gdb_type(gdb.Type): A type object. - - Returns: - A string, without type_defs, libc++ namespaces, and common substitutions - applied. - """ - - type_without_typedefs = gdb_type.strip_typedefs() - typename = type_without_typedefs.name or type_without_typedefs.tag or \ - str(type_without_typedefs) - result = _remove_cxx_namespace(typename) - for find_str, subst_str in _common_substitutions: - result = re.sub(find_str, subst_str, result) - return result - - -def _typename_for_nth_generic_argument(gdb_type, n): - """Returns a pretty string for the nth argument of the given type. - - Arguments: - gdb_type(gdb.Type): A type object, such as the one for std::map - n: The (zero indexed) index of the argument to return. - - Returns: - A string for the nth argument, such a "std::string" - """ - element_type = gdb_type.template_argument(n) - return _prettify_typename(element_type) - - -def _typename_with_n_generic_arguments(gdb_type, n): - """Return a string for the type with the first n (1, ...) generic args.""" - - base_type = _remove_generics(_prettify_typename(gdb_type)) - arg_list = [base_type] - template = "%s<" - for i in range(n): - arg_list.append(_typename_for_nth_generic_argument(gdb_type, i)) - template += "%s, " - result = (template[:-2] + ">") % tuple(arg_list) - return result - - -def _typename_with_first_generic_argument(gdb_type): - return _typename_with_n_generic_arguments(gdb_type, 1) - - -class StdTuplePrinter(object): - """Print a std::tuple.""" - - class _Children(object): - """Class to iterate over the tuple's children.""" - - def __init__(self, val): - self.val = val - self.child_iter = iter(self.val["__base_"].type.fields()) - self.count = 0 - - def __iter__(self): - return self - - def next(self): - # child_iter raises StopIteration when appropriate. - field_name = self.child_iter.next() - child = self.val["__base_"][field_name]["__value_"] - self.count += 1 - return ("[%d]" % self.count, child) - - def __init__(self, val): - self.val = val - - def to_string(self): - typename = _remove_generics(_prettify_typename(self.val.type)) - if not self.val.type.fields(): - return "empty %s" % typename - return "%s containing" % typename - - def children(self): - if not self.val.type.fields(): - return iter(()) - return self._Children(self.val) - - -def _get_base_subobject(child_class_value, index=0): - """Returns the object's value in the form of the parent class at index. - - This function effectively casts the child_class_value to the base_class's - type, but the type-to-cast to is stored in the field at index, and once - we know the field, we can just return the data. - - Args: - child_class_value: the value to cast - index: the parent class index - - Raises: - Exception: field at index was not a base-class field. - """ - - field = child_class_value.type.fields()[index] - if not field.is_base_class: - raise Exception("Not a base-class field.") - return child_class_value[field] - - -def _value_of_pair_first(value): - """Convenience for _get_base_subobject, for the common case.""" - return _get_base_subobject(value, 0)["__value_"] - - -class StdStringPrinter(object): - """Print a std::string.""" - - def _get_short_size(self, short_field, short_size): - """Short size depends on both endianness and a compile-time define.""" - - # If the padding field is present after all this indirection, then string - # was compiled with _LIBCUDACXX_ABI_ALTERNATE_STRING_LAYOUT defined. - field = short_field.type.fields()[1].type.fields()[0] - libcpp_abi_alternate_string_layout = field.name and "__padding" in field.name - - # This logical structure closely follows the original code (which is clearer - # in C++). Keep them parallel to make them easier to compare. - if libcpp_abi_alternate_string_layout: - if _libcpp_big_endian: - return short_size >> 1 - else: - return short_size - elif _libcpp_big_endian: - return short_size - else: - return short_size >> 1 - - def __init__(self, val): - self.val = val - - def to_string(self): - """Build a python string from the data whether stored inline or separately.""" - - value_field = _value_of_pair_first(self.val["__r_"]) - short_field = value_field["__s"] - short_size = short_field["__size_"] - if short_size == 0: - return "" - short_mask = self.val["__short_mask"] - # Counter intuitive to compare the size and short_mask to see if the string - # is long, but that's the way the implementation does it. Note that - # __is_long() doesn't use get_short_size in C++. - is_long = short_size & short_mask - if is_long: - long_field = value_field["__l"] - data = long_field["__data_"] - size = long_field["__size_"] - else: - data = short_field["__data_"] - size = self._get_short_size(short_field, short_size) - if hasattr(data, "lazy_string"): - return data.lazy_string(length=size) - return data.string(length=size) - - def display_hint(self): - return "string" - - -class StdUniquePtrPrinter(object): - """Print a std::unique_ptr.""" - - def __init__(self, val): - self.val = val - self.addr = _value_of_pair_first(self.val["__ptr_"]) - self.pointee_type = self.val.type.template_argument(0) - - def to_string(self): - typename = _remove_generics(_prettify_typename(self.val.type)) - if not self.addr: - return "%s is nullptr" % typename - return ("%s<%s> containing" % - (typename, - _remove_generics(_prettify_typename(self.pointee_type)))) - - def __iter__(self): - if self.addr: - yield "__ptr_", self.addr.cast(self.pointee_type.pointer()) - - def children(self): - return self - - -class StdSharedPointerPrinter(object): - """Print a std::shared_ptr.""" - - def __init__(self, val): - self.val = val - self.addr = self.val["__ptr_"] - - def to_string(self): - """Returns self as a string.""" - typename = _remove_generics(_prettify_typename(self.val.type)) - pointee_type = _remove_generics( - _prettify_typename(self.val.type.template_argument(0))) - if not self.addr: - return "%s is nullptr" % typename - refcount = self.val["__cntrl_"] - if refcount != 0: - usecount = refcount["__shared_owners_"] + 1 - weakcount = refcount["__shared_weak_owners_"] - if usecount == 0: - state = "expired, weak %d" % weakcount - else: - state = "count %d, weak %d" % (usecount, weakcount) - return "%s<%s> %s containing" % (typename, pointee_type, state) - - def __iter__(self): - if self.addr: - yield "__ptr_", self.addr - - def children(self): - return self - - -class StdVectorPrinter(object): - """Print a std::vector.""" - - class _VectorBoolIterator(object): - """Class to iterate over the bool vector's children.""" - - def __init__(self, begin, size, bits_per_word): - self.item = begin - self.size = size - self.bits_per_word = bits_per_word - self.count = 0 - self.offset = 0 - - def __iter__(self): - return self - - def next(self): - """Retrieve the next element.""" - - self.count += 1 - if self.count > self.size: - raise StopIteration - entry = self.item.dereference() - if entry & (1 << self.offset): - outbit = 1 - else: - outbit = 0 - self.offset += 1 - if self.offset >= self.bits_per_word: - self.item += 1 - self.offset = 0 - return ("[%d]" % self.count, outbit) - - class _VectorIterator(object): - """Class to iterate over the non-bool vector's children.""" - - def __init__(self, begin, end): - self.item = begin - self.end = end - self.count = 0 - - def __iter__(self): - return self - - def next(self): - self.count += 1 - if self.item == self.end: - raise StopIteration - entry = self.item.dereference() - self.item += 1 - return ("[%d]" % self.count, entry) - - def __init__(self, val): - """Set val, length, capacity, and iterator for bool and normal vectors.""" - self.val = val - self.typename = _remove_generics(_prettify_typename(val.type)) - begin = self.val["__begin_"] - if self.val.type.template_argument(0).code == gdb.TYPE_CODE_BOOL: - self.typename += "" - self.length = self.val["__size_"] - bits_per_word = self.val["__bits_per_word"] - self.capacity = _value_of_pair_first( - self.val["__cap_alloc_"]) * bits_per_word - self.iterator = self._VectorBoolIterator( - begin, self.length, bits_per_word) - else: - end = self.val["__end_"] - self.length = end - begin - self.capacity = _get_base_subobject( - self.val["__end_cap_"])["__value_"] - begin - self.iterator = self._VectorIterator(begin, end) - - def to_string(self): - return ("%s of length %d, capacity %d" % - (self.typename, self.length, self.capacity)) - - def children(self): - return self.iterator - - def display_hint(self): - return "array" - - -class StdBitsetPrinter(object): - """Print a std::bitset.""" - - def __init__(self, val): - self.val = val - self.n_words = int(self.val["__n_words"]) - self.bits_per_word = int(self.val["__bits_per_word"]) - if self.n_words == 1: - self.values = [int(self.val["__first_"])] - else: - self.values = [int(self.val["__first_"][index]) - for index in range(self.n_words)] - - def to_string(self): - typename = _prettify_typename(self.val.type) - return "%s" % typename - - def _byte_it(self, value): - index = -1 - while value: - index += 1 - will_yield = value % 2 - value /= 2 - if will_yield: - yield index - - def _list_it(self): - for word_index in range(self.n_words): - current = self.values[word_index] - if current: - for n in self._byte_it(current): - yield ("[%d]" % (word_index * self.bits_per_word + n), 1) - - def __iter__(self): - return self._list_it() - - def children(self): - return self - - -class StdDequePrinter(object): - """Print a std::deque.""" - - def __init__(self, val): - self.val = val - self.size = int(_value_of_pair_first(val["__size_"])) - self.start_ptr = self.val["__map_"]["__begin_"] - self.first_block_start_index = int(self.val["__start_"]) - self.node_type = self.start_ptr.type - self.block_size = self._calculate_block_size( - val.type.template_argument(0)) - - def _calculate_block_size(self, element_type): - """Calculates the number of elements in a full block.""" - size = element_type.sizeof - # Copied from struct __deque_block_size implementation of libcxx. - return 4096 / size if size < 256 else 16 - - def _bucket_it(self, start_addr, start_index, end_index): - for i in range(start_index, end_index): - yield i, (start_addr.dereference() + i).dereference() - - def _list_it(self): - """Primary iteration worker.""" - num_emitted = 0 - current_addr = self.start_ptr - start_index = self.first_block_start_index - while num_emitted < self.size: - end_index = min(start_index + self.size - - num_emitted, self.block_size) - for _, elem in self._bucket_it(current_addr, start_index, end_index): - yield "", elem - num_emitted += end_index - start_index - current_addr = gdb.Value(addr_as_long(current_addr) + _pointer_size) \ - .cast(self.node_type) - start_index = 0 - - def to_string(self): - typename = _remove_generics(_prettify_typename(self.val.type)) - if self.size: - return "%s with %d elements" % (typename, self.size) - return "%s is empty" % typename - - def __iter__(self): - return self._list_it() - - def children(self): - return self - - def display_hint(self): - return "array" - - -class StdListPrinter(object): - """Print a std::list.""" - - def __init__(self, val): - self.val = val - size_alloc_field = self.val["__size_alloc_"] - self.size = int(_value_of_pair_first(size_alloc_field)) - dummy_node = self.val["__end_"] - self.nodetype = gdb.lookup_type( - re.sub("__list_node_base", "__list_node", - str(dummy_node.type.strip_typedefs()))).pointer() - self.first_node = dummy_node["__next_"] - - def to_string(self): - typename = _remove_generics(_prettify_typename(self.val.type)) - if self.size: - return "%s with %d elements" % (typename, self.size) - return "%s is empty" % typename - - def _list_iter(self): - current_node = self.first_node - for _ in range(self.size): - yield "", current_node.cast(self.nodetype).dereference()["__value_"] - current_node = current_node.dereference()["__next_"] - - def __iter__(self): - return self._list_iter() - - def children(self): - return self if self.nodetype else iter(()) - - def display_hint(self): - return "array" - - -class StdQueueOrStackPrinter(object): - """Print a std::queue or std::stack.""" - - def __init__(self, val): - self.val = val - self.underlying = val["c"] - - def to_string(self): - typename = _remove_generics(_prettify_typename(self.val.type)) - return "%s wrapping" % typename - - def children(self): - return iter([("", self.underlying)]) - - def display_hint(self): - return "array" - - -class StdPriorityQueuePrinter(object): - """Print a std::priority_queue.""" - - def __init__(self, val): - self.val = val - self.underlying = val["c"] - - def to_string(self): - # TODO(tamur): It would be nice to print the top element. The technical - # difficulty is that, the implementation refers to the underlying - # container, which is a generic class. libstdcxx pretty printers do not - # print the top element. - typename = _remove_generics(_prettify_typename(self.val.type)) - return "%s wrapping" % typename - - def children(self): - return iter([("", self.underlying)]) - - def display_hint(self): - return "array" - - -class RBTreeUtils(object): - """Utility class for std::(multi)map, and std::(multi)set and iterators.""" - - def __init__(self, cast_type, root): - self.cast_type = cast_type - self.root = root - - def left_child(self, node): - result = node.cast(self.cast_type).dereference()["__left_"] - return result - - def right_child(self, node): - result = node.cast(self.cast_type).dereference()["__right_"] - return result - - def parent(self, node): - """Return the parent of node, if it exists.""" - # If this is the root, then from the algorithm's point of view, it has no - # parent. - if node == self.root: - return None - - # We don't have enough information to tell if this is the end_node (which - # doesn't have a __parent_ field), or the root (which doesn't have a parent - # from the algorithm's point of view), so cast_type may not be correct for - # this particular node. Use heuristics. - - # The end_node's left child is the root. Note that when printing interators - # in isolation, the root is unknown. - if self.left_child(node) == self.root: - return None - - parent = node.cast(self.cast_type).dereference()["__parent_"] - # If the value at the offset of __parent_ doesn't look like a valid pointer, - # then assume that node is the end_node (and therefore has no parent). - # End_node type has a pointer embedded, so should have pointer alignment. - if addr_as_long(parent) % _void_pointer_type.alignof: - return None - # This is ugly, but the only other option is to dereference an invalid - # pointer. 0x8000 is fairly arbitrary, but has had good results in - # practice. If there was a way to tell if a pointer is invalid without - # actually dereferencing it and spewing error messages, that would be ideal. - if parent < 0x8000: - return None - return parent - - def is_left_child(self, node): - parent = self.parent(node) - return parent is not None and self.left_child(parent) == node - - def is_right_child(self, node): - parent = self.parent(node) - return parent is not None and self.right_child(parent) == node - - -class AbstractRBTreePrinter(object): - """Abstract super class for std::(multi)map, and std::(multi)set.""" - - def __init__(self, val): - self.val = val - tree = self.val["__tree_"] - self.size = int(_value_of_pair_first(tree["__pair3_"])) - dummy_root = tree["__pair1_"] - root = _value_of_pair_first(dummy_root)["__left_"] - cast_type = self._init_cast_type(val.type) - self.util = RBTreeUtils(cast_type, root) - - def _get_key_value(self, node): - """Subclasses should override to return a list of values to yield.""" - raise NotImplementedError - - def _traverse(self): - """Traverses the binary search tree in order.""" - current = self.util.root - skip_left_child = False - while True: - if not skip_left_child and self.util.left_child(current): - current = self.util.left_child(current) - continue - skip_left_child = False - for key_value in self._get_key_value(current): - yield "", key_value - right_child = self.util.right_child(current) - if right_child: - current = right_child - continue - while self.util.is_right_child(current): - current = self.util.parent(current) - if self.util.is_left_child(current): - current = self.util.parent(current) - skip_left_child = True - continue - break - - def __iter__(self): - return self._traverse() - - def children(self): - return self if self.util.cast_type and self.size > 0 else iter(()) - - def to_string(self): - typename = _remove_generics(_prettify_typename(self.val.type)) - if self.size: - return "%s with %d elements" % (typename, self.size) - return "%s is empty" % typename - - -class StdMapPrinter(AbstractRBTreePrinter): - """Print a std::map or std::multimap.""" - - def _init_cast_type(self, val_type): - map_it_type = gdb.lookup_type( - str(val_type) + "::iterator").strip_typedefs() - tree_it_type = map_it_type.template_argument(0) - node_ptr_type = tree_it_type.template_argument(1) - return node_ptr_type - - def display_hint(self): - return "map" - - def _get_key_value(self, node): - key_value = node.cast(self.util.cast_type).dereference()[ - "__value_"]["__cc"] - return [key_value["first"], key_value["second"]] - - -class StdSetPrinter(AbstractRBTreePrinter): - """Print a std::set.""" - - def _init_cast_type(self, val_type): - set_it_type = gdb.lookup_type( - str(val_type) + "::iterator").strip_typedefs() - node_ptr_type = set_it_type.template_argument(1) - return node_ptr_type - - def display_hint(self): - return "array" - - def _get_key_value(self, node): - key_value = node.cast(self.util.cast_type).dereference()["__value_"] - return [key_value] - - -class AbstractRBTreeIteratorPrinter(object): - """Abstract super class for std::(multi)map, and std::(multi)set iterator.""" - - def _initialize(self, val, typename): - self.typename = typename - self.val = val - self.addr = self.val["__ptr_"] - cast_type = self.val.type.template_argument(1) - self.util = RBTreeUtils(cast_type, None) - if self.addr: - self.node = self.addr.cast(cast_type).dereference() - - def _is_valid_node(self): - if not self.util.parent(self.addr): - return False - return self.util.is_left_child(self.addr) or \ - self.util.is_right_child(self.addr) - - def to_string(self): - if not self.addr: - return "%s is nullptr" % self.typename - return "%s " % self.typename - - def _get_node_value(self, node): - raise NotImplementedError - - def __iter__(self): - addr_str = "[%s]" % str(self.addr) - if not self._is_valid_node(): - yield addr_str, " end()" - else: - yield addr_str, self._get_node_value(self.node) - - def children(self): - return self if self.addr else iter(()) - - -class MapIteratorPrinter(AbstractRBTreeIteratorPrinter): - """Print a std::(multi)map iterator.""" - - def __init__(self, val): - self._initialize(val["__i_"], - _remove_generics(_prettify_typename(val.type))) - - def _get_node_value(self, node): - return node["__value_"]["__cc"] - - -class SetIteratorPrinter(AbstractRBTreeIteratorPrinter): - """Print a std::(multi)set iterator.""" - - def __init__(self, val): - self._initialize(val, _remove_generics(_prettify_typename(val.type))) - - def _get_node_value(self, node): - return node["__value_"] - - -class StdFposPrinter(object): - """Print a std::fpos or std::streampos.""" - - def __init__(self, val): - self.val = val - - def to_string(self): - typename = _remove_generics(_prettify_typename(self.val.type)) - offset = self.val["__off_"] - state = self.val["__st_"] - count = state["__count"] - value = state["__value"]["__wch"] - return "%s with stream offset:%s with state: {count:%s value:%s}" % ( - typename, offset, count, value) - - -class AbstractUnorderedCollectionPrinter(object): - """Abstract super class for std::unordered_(multi)[set|map].""" - - def __init__(self, val): - self.val = val - self.table = val["__table_"] - self.sentinel = self.table["__p1_"] - self.size = int(_value_of_pair_first(self.table["__p2_"])) - node_base_type = self.sentinel.type.template_argument(0) - self.cast_type = node_base_type.template_argument(0) - - def _list_it(self, sentinel_ptr): - next_ptr = _value_of_pair_first(sentinel_ptr)["__next_"] - while str(next_ptr.cast(_void_pointer_type)) != "0x0": - next_val = next_ptr.cast(self.cast_type).dereference() - for key_value in self._get_key_value(next_val): - yield "", key_value - next_ptr = next_val["__next_"] - - def to_string(self): - typename = _remove_generics(_prettify_typename(self.val.type)) - if self.size: - return "%s with %d elements" % (typename, self.size) - return "%s is empty" % typename - - def _get_key_value(self, node): - """Subclasses should override to return a list of values to yield.""" - raise NotImplementedError - - def children(self): - return self if self.cast_type and self.size > 0 else iter(()) - - def __iter__(self): - return self._list_it(self.sentinel) - - -class StdUnorderedSetPrinter(AbstractUnorderedCollectionPrinter): - """Print a std::unordered_(multi)set.""" - - def _get_key_value(self, node): - return [node["__value_"]] - - def display_hint(self): - return "array" - - -class StdUnorderedMapPrinter(AbstractUnorderedCollectionPrinter): - """Print a std::unordered_(multi)map.""" - - def _get_key_value(self, node): - key_value = node["__value_"]["__cc"] - return [key_value["first"], key_value["second"]] - - def display_hint(self): - return "map" - - -class AbstractHashMapIteratorPrinter(object): - """Abstract class for unordered collection iterators.""" - - def _initialize(self, val, addr): - self.val = val - self.typename = _remove_generics(_prettify_typename(self.val.type)) - self.addr = addr - if self.addr: - self.node = self.addr.cast(self.cast_type).dereference() - - def _get_key_value(self): - """Subclasses should override to return a list of values to yield.""" - raise NotImplementedError - - def to_string(self): - if not self.addr: - return "%s = end()" % self.typename - return "%s " % self.typename - - def children(self): - return self if self.addr else iter(()) - - def __iter__(self): - for key_value in self._get_key_value(): - yield "", key_value - - -class StdUnorderedSetIteratorPrinter(AbstractHashMapIteratorPrinter): - """Print a std::(multi)set iterator.""" - - def __init__(self, val): - self.cast_type = val.type.template_argument(0) - self._initialize(val, val["__node_"]) - - def _get_key_value(self): - return [self.node["__value_"]] - - def display_hint(self): - return "array" - - -class StdUnorderedMapIteratorPrinter(AbstractHashMapIteratorPrinter): - """Print a std::(multi)map iterator.""" - - def __init__(self, val): - self.cast_type = val.type.template_argument(0).template_argument(0) - self._initialize(val, val["__i_"]["__node_"]) - - def _get_key_value(self): - key_value = self.node["__value_"]["__cc"] - return [key_value["first"], key_value["second"]] - - def display_hint(self): - return "map" - - -def _remove_std_prefix(typename): - match = re.match("^std::(.+)", typename) - return match.group(1) if match is not None else "" - - -class LibcxxPrettyPrinter(object): - """PrettyPrinter object so gdb-commands like 'info pretty-printers' work.""" - - def __init__(self, name): - super(LibcxxPrettyPrinter, self).__init__() - self.name = name - self.enabled = True - - self.lookup = { - "basic_string": StdStringPrinter, - "string": StdStringPrinter, - "tuple": StdTuplePrinter, - "unique_ptr": StdUniquePtrPrinter, - "shared_ptr": StdSharedPointerPrinter, - "weak_ptr": StdSharedPointerPrinter, - "bitset": StdBitsetPrinter, - "deque": StdDequePrinter, - "list": StdListPrinter, - "queue": StdQueueOrStackPrinter, - "stack": StdQueueOrStackPrinter, - "priority_queue": StdPriorityQueuePrinter, - "map": StdMapPrinter, - "multimap": StdMapPrinter, - "set": StdSetPrinter, - "multiset": StdSetPrinter, - "vector": StdVectorPrinter, - "__map_iterator": MapIteratorPrinter, - "__map_const_iterator": MapIteratorPrinter, - "__tree_iterator": SetIteratorPrinter, - "__tree_const_iterator": SetIteratorPrinter, - "fpos": StdFposPrinter, - "unordered_set": StdUnorderedSetPrinter, - "unordered_multiset": StdUnorderedSetPrinter, - "unordered_map": StdUnorderedMapPrinter, - "unordered_multimap": StdUnorderedMapPrinter, - "__hash_map_iterator": StdUnorderedMapIteratorPrinter, - "__hash_map_const_iterator": StdUnorderedMapIteratorPrinter, - "__hash_iterator": StdUnorderedSetIteratorPrinter, - "__hash_const_iterator": StdUnorderedSetIteratorPrinter, - } - - self.subprinters = [] - for name, subprinter in self.lookup.items(): - # Subprinters and names are used only for the rarely used command "info - # pretty" (and related), so the name of the first data structure it prints - # is a reasonable choice. - if subprinter not in self.subprinters: - subprinter.name = name - self.subprinters.append(subprinter) - - def __call__(self, val): - """Return the pretty printer for a val, if the type is supported.""" - - # Do not handle any type that is not a struct/class. - if val.type.strip_typedefs().code != gdb.TYPE_CODE_STRUCT: - return None - - # Don't attempt types known to be inside libstdcxx. - typename = val.type.name or val.type.tag or str(val.type) - match = re.match("^std::(__.*?)::", typename) - if match is None or match.group(1) in ["__cxx1998", - "__debug", - "__7", - "__g"]: - return None - - # Handle any using declarations or other typedefs. - typename = _prettify_typename(val.type) - if not typename: - return None - without_generics = _remove_generics(typename) - lookup_name = _remove_std_prefix(without_generics) - if lookup_name in self.lookup: - return self.lookup[lookup_name](val) - return None - - -_libcxx_printer_name = "libcxx_pretty_printer" - - -# These are called for every binary object file, which could be thousands in -# certain pathological cases. Limit our pretty printers to the progspace. -def _register_libcxx_printers(event): - progspace = event.new_objfile.progspace - # It would be ideal to get the endianness at print time, but - # gdb.execute clears gdb's internal wrap buffer, removing any values - # already generated as part of a larger data structure, and there is - # no python api to get the endianness. Mixed-endianness debugging - # rare enough that this workaround should be adequate. - _libcpp_big_endian = "big endian" in gdb.execute("show endian", - to_string=True) - - if not getattr(progspace, _libcxx_printer_name, False): - print("Loading libc++ pretty-printers.") - gdb.printing.register_pretty_printer( - progspace, LibcxxPrettyPrinter(_libcxx_printer_name)) - setattr(progspace, _libcxx_printer_name, True) - - -def _unregister_libcxx_printers(event): - progspace = event.progspace - if getattr(progspace, _libcxx_printer_name, False): - for printer in progspace.pretty_printers: - if getattr(printer, "name", "none") == _libcxx_printer_name: - progspace.pretty_printers.remove(printer) - setattr(progspace, _libcxx_printer_name, False) - break - - -def register_libcxx_printer_loader(): - """Register event handlers to load libc++ pretty-printers.""" - gdb.events.new_objfile.connect(_register_libcxx_printers) - gdb.events.clear_objfiles.connect(_unregister_libcxx_printers) diff --git a/libcudacxx/.upstream-tests/utils/gen_link_script.py b/libcudacxx/.upstream-tests/utils/gen_link_script.py deleted file mode 100755 index eaa752d5ae..0000000000 --- a/libcudacxx/.upstream-tests/utils/gen_link_script.py +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env python -#===----------------------------------------------------------------------===## -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===----------------------------------------------------------------------===## - -""" -Generate a linker script that links libc++ to the proper ABI library. -An example script for c++abi would look like "INPUT(libc++.so.1 -lc++abi)". -""" - -import argparse -import os -import sys - - -def main(): - parser = argparse.ArgumentParser(description=__doc__) - parser.add_argument("--dryrun", help="Don't write any output", - action="store_true", default=False) - parser.add_argument("--rename", action="store_true", default=False, - help="Rename the output as input so we can replace it") - parser.add_argument("--input", help="Path to libc++ library", required=True) - parser.add_argument("--output", help="Path to libc++ linker script", - required=True) - parser.add_argument("libraries", nargs="+", - help="List of libraries libc++ depends on") - args = parser.parse_args() - - # Use the relative path for the libc++ library. - libcxx = os.path.relpath(args.input, os.path.dirname(args.output)) - - # Prepare the list of public libraries to link. - public_libs = ['-l%s' % l for l in args.libraries] - - # Generate the linker script contents. - contents = "INPUT(%s)" % ' '.join([libcxx] + public_libs) - - if args.dryrun: - print("GENERATING SCRIPT: '%s' as file %s" % (contents, args.output)) - return 0 - - # Remove the existing libc++ symlink if it exists. - if os.path.islink(args.output): - os.unlink(args.output) - - # Replace it with the linker script. - with open(args.output, 'w') as f: - f.write(contents + "\n") - - return 0 - - -if __name__ == '__main__': - sys.exit(main()) diff --git a/libcudacxx/.upstream-tests/utils/generate_feature_test_macro_components.py b/libcudacxx/.upstream-tests/utils/generate_feature_test_macro_components.py deleted file mode 100755 index c9cf2f46d8..0000000000 --- a/libcudacxx/.upstream-tests/utils/generate_feature_test_macro_components.py +++ /dev/null @@ -1,998 +0,0 @@ -#!/usr/bin/env python - -import os -import tempfile - -def get_libcxx_paths(): - utils_path = os.path.dirname(os.path.abspath(__file__)) - script_name = os.path.basename(__file__) - assert os.path.exists(utils_path) - src_root = os.path.dirname(utils_path) - include_path = os.path.join(src_root, 'include') - assert os.path.exists(include_path) - docs_path = os.path.join(src_root, 'docs') - assert os.path.exists(docs_path) - macro_test_path = os.path.join(src_root, 'test', 'std', 'language.support', - 'support.limits', 'support.limits.general') - assert os.path.exists(macro_test_path) - assert os.path.exists(os.path.join(macro_test_path, 'version.version.pass.cpp')) - return script_name, src_root, include_path, docs_path, macro_test_path - - -script_name, source_root, include_path, docs_path, macro_test_path = get_libcxx_paths() - -def has_header(h): - h_path = os.path.join(include_path, h) - return os.path.exists(h_path) - -def add_version_header(tc): - tc["headers"].append("version") - return tc - -feature_test_macros = sorted([ add_version_header(x) for x in [ - # C++14 macros - {"name": "__cccl_lib_integer_sequence", - "values": { - "c++14": 201304L - }, - "headers": ["utility"], - }, - {"name": "__cccl_lib_exchange_function", - "values": { - "c++14": 201304L - }, - "headers": ["utility"], - }, - {"name": "__cccl_lib_tuples_by_type", - "values": { - "c++14": 201304L - }, - "headers": ["utility", "tuple"], - }, - {"name": "__cccl_lib_tuple_element_t", - "values": { - "c++14": 201402L - }, - "headers": ["tuple"], - }, - {"name": "__cccl_lib_make_unique", - "values": { - "c++14": 201304L - }, - "headers": ["memory"], - }, - {"name": "__cccl_lib_transparent_operators", - "values": { - "c++14": 201210L, - "c++17": 201510L, - }, - "headers": ["functional"], - }, - {"name": "__cccl_lib_integral_constant_callable", - "values": { - "c++14": 201304L - }, - "headers": ["type_traits"], - }, - {"name": "__cccl_lib_transformation_trait_aliases", - "values": { - "c++14": 201304L, - }, - "headers": ["type_traits"] - }, - {"name": "__cccl_lib_result_of_sfinae", - "values": { - "c++14": 201210L, - }, - "headers": ["functional", "type_traits"] - }, - {"name": "__cccl_lib_is_final", - "values": { - "c++14": 201402L, - }, - "headers": ["type_traits"] - }, - {"name": "__cccl_lib_is_null_pointer", - "values": { - "c++14": 201309L, - }, - "headers": ["type_traits"] - }, - {"name": "__cccl_lib_chrono_udls", - "values": { - "c++14": 201304L, - }, - "headers": ["chrono"] - }, - {"name": "__cccl_lib_string_udls", - "values": { - "c++14": 201304L, - }, - "headers": ["string"] - }, - {"name": "__cccl_lib_generic_associative_lookup", - "values": { - "c++14": 201304L, - }, - "headers": ["map", "set"] - }, - {"name": "__cccl_lib_null_iterators", - "values": { - "c++14": 201304L, - }, - "headers": ["iterator"] - }, - {"name": "__cccl_lib_make_reverse_iterator", - "values": { - "c++14": 201402L, - }, - "headers": ["iterator"] - }, - {"name": "__cccl_lib_robust_nonmodifying_seq_ops", - "values": { - "c++14": 201304L, - }, - "headers": ["algorithm"] - }, - {"name": "__cccl_lib_complex_udls", - "values": { - "c++14": 201309L, - }, - "headers": ["complex"] - }, - {"name": "__cccl_lib_constexpr_complex", - "values": { - "c++14": 201711L - }, - "headers": ["complex"], - }, - {"name": "__cccl_lib_quoted_string_io", - "values": { - "c++14": 201304L, - }, - "headers": ["iomanip"] - }, - {"name": "__cccl_lib_shared_timed_mutex", - "values": { - "c++14": 201402L, - }, - "headers": ["shared_mutex"], - "depends": "!defined(_LIBCUDACXX_HAS_NO_THREADS)", - "internal_depends": "!defined(_LIBCUDACXX_HAS_NO_THREADS)", - }, - # C++17 macros - {"name": "__cccl_lib_atomic_is_always_lock_free", - "values": { - "c++17": 201603L, - }, - "headers": ["atomic"], - "depends": "!defined(_LIBCUDACXX_HAS_NO_THREADS)", - "internal_depends": "!defined(_LIBCUDACXX_HAS_NO_THREADS)", - }, - {"name": "__cccl_lib_filesystem", - "values": { - "c++17": 201703L, - }, - "headers": ["filesystem"] - }, - {"name": "__cccl_lib_invoke", - "values": { - "c++17": 201411L, - }, - "headers": ["functional"] - }, - {"name": "__cccl_lib_void_t", - "values": { - "c++17": 201411L, - }, - "headers": ["type_traits"] - }, - {"name": "__cccl_lib_node_extract", - "values": { - "c++17": 201606L, - }, - "headers": ["map", "set", "unordered_map", "unordered_set"] - }, - {"name": "__cccl_lib_byte", - "values": { - "c++17": 201603L, - }, - "headers": ["cstddef"], - }, - {"name": "__cccl_lib_hardware_interference_size", - "values": { - "c++17": 201703L, - }, - "headers": ["new"], - }, - {"name": "__cccl_lib_launder", - "values": { - "c++17": 201606L, - }, - "headers": ["new"], - }, - {"name": "__cccl_lib_uncaught_exceptions", - "values": { - "c++17": 201411L, - }, - "headers": ["exception"], - }, - {"name": "__cccl_lib_as_const", - "values": { - "c++17": 201510L, - }, - "headers": ["utility"], - }, - {"name": "__cccl_lib_make_from_tuple", - "values": { - "c++17": 201606L, - }, - "headers": ["tuple"], - }, - {"name": "__cccl_lib_apply", - "values": { - "c++17": 201603L, - }, - "headers": ["tuple"], - }, - {"name": "__cccl_lib_optional", - "values": { - "c++17": 201606L, - }, - "headers": ["optional"], - }, - {"name": "__cccl_lib_variant", - "values": { - "c++17": 201606L, - }, - "headers": ["variant"], - }, - {"name": "__cccl_lib_any", - "values": { - "c++17": 201606L, - }, - "headers": ["any"], - }, - {"name": "__cccl_lib_addressof_constexpr", - "values": { - "c++17": 201603L, - }, - "headers": ["memory"], - "depends": "TEST_HAS_BUILTIN(__builtin_addressof) || TEST_GCC_VER >= 700", - "internal_depends": "defined(_LIBCUDACXX_ADDRESSOF)", - }, - {"name": "__cccl_lib_raw_memory_algorithms", - "values": { - "c++17": 201606L, - }, - "headers": ["memory"], - }, - {"name": "__cccl_lib_enable_shared_from_this", - "values": { - "c++17": 201603L, - }, - "headers": ["memory"], - }, - {"name": "__cccl_lib_shared_ptr_weak_type", - "values": { - "c++17": 201606L, - }, - "headers": ["memory"], - }, - {"name": "__cccl_lib_shared_ptr_arrays", - "values": { - "c++17": 201611L, - }, - "headers": ["memory"], - "unimplemented": True, - }, - {"name": "__cccl_lib_memory_resource", - "values": { - "c++17": 201603L, - }, - "headers": ["memory_resource"], - "unimplemented": True, - }, - {"name": "__cccl_lib_boyer_moore_searcher", - "values": { - "c++17": 201603L, - }, - "headers": ["functional"], - "unimplemented": True, - }, - {"name": "__cccl_lib_not_fn", - "values": { - "c++17": 201603L, - }, - "headers": ["functional"], - }, - {"name": "__cccl_lib_bool_constant", - "values": { - "c++17": 201505L, - }, - "headers": ["type_traits"], - }, - {"name": "__cccl_lib_type_trait_variable_templates", - "values": { - "c++17": 201510L, - }, - "headers": ["type_traits"], - }, - {"name": "__cccl_lib_logical_traits", - "values": { - "c++17": 201510L, - }, - "headers": ["type_traits"], - }, - {"name": "__cccl_lib_is_swappable", - "values": { - "c++17": 201603L, - }, - "headers": ["type_traits"], - }, - {"name": "__cccl_lib_is_invocable", - "values": { - "c++17": 201703L, - }, - "headers": ["type_traits"], - }, - {"name": "__cccl_lib_has_unique_object_representations", - "values": { - "c++17": 201606L, - }, - "headers": ["type_traits"], - "depends": "TEST_HAS_BUILTIN_IDENTIFIER(__has_unique_object_representations) || TEST_GCC_VER >= 700", - "internal_depends": "defined(_LIBCUDACXX_HAS_UNIQUE_OBJECT_REPRESENTATIONS)", - }, - {"name": "__cccl_lib_is_aggregate", - "values": { - "c++17": 201703L, - }, - "headers": ["type_traits"], - "depends": "TEST_HAS_BUILTIN_IDENTIFIER(__is_aggregate) || TEST_GCC_VER_NEW >= 7001", - "internal_depends": "!defined(_LIBCUDACXX_HAS_NO_IS_AGGREGATE)", - }, - {"name": "__cccl_lib_chrono", - "values": { - "c++17": 201611L, - }, - "headers": ["chrono"], - }, - {"name": "__cccl_lib_execution", - "values": { - "c++17": 201603L, - }, - "headers": ["execution"], - "unimplemented": True - }, - {"name": "__cccl_lib_parallel_algorithm", - "values": { - "c++17": 201603L, - }, - "headers": ["algorithm", "numeric"], - "unimplemented": True, - }, - {"name": "__cccl_lib_to_chars", - "values": { - "c++17": 201611L, - }, - "headers": ["utility"], - "unimplemented": True, - }, - {"name": "__cccl_lib_string_view", - "values": { - "c++17": 201606L, - }, - "headers": ["string", "string_view"], - }, - {"name": "__cccl_lib_allocator_traits_is_always_equal", - "values": { - "c++17": 201411L, - }, - "headers": ["memory", "scoped_allocator", "string", "deque", "forward_list", "list", "vector", "map", "set", "unordered_map", "unordered_set"], - }, - {"name": "__cccl_lib_incomplete_container_elements", - "values": { - "c++17": 201505L, - }, - "headers": ["forward_list", "list", "vector"], - }, - {"name": "__cccl_lib_map_try_emplace", - "values": { - "c++17": 201411L, - }, - "headers": ["map"], - }, - {"name": "__cccl_lib_unordered_map_try_emplace", - "values": { - "c++17": 201411L, - }, - "headers": ["unordered_map"], - }, - {"name": "__cccl_lib_array_constexpr", - "values": { - "c++17": 201603L, - }, - "headers": ["iterator", "array"], - }, - {"name": "__cccl_lib_nonmember_container_access", - "values": { - "c++17": 201411L, - }, - "headers": ["iterator", "array", "deque", "forward_list", "list", "map", "regex", - "set", "string", "unordered_map", "unordered_set", "vector"], - }, - {"name": "__cccl_lib_sample", - "values": { - "c++17": 201603L, - }, - "headers": ["algorithm"], - }, - {"name": "__cccl_lib_clamp", - "values": { - "c++17": 201603L, - }, - "headers": ["algorithm"], - }, - {"name": "__cccl_lib_gcd_lcm", - "values": { - "c++17": 201606L, - }, - "headers": ["numeric"], - }, - {"name": "__cccl_lib_hypot", - "values": { - "c++17": 201603L, - }, - "headers": ["cmath"], - }, - {"name": "__cccl_lib_math_special_functions", - "values": { - "c++17": 201603L, - }, - "headers": ["cmath"], - "unimplemented": True, - }, - {"name": "__cccl_lib_shared_mutex", - "values": { - "c++17": 201505L, - }, - "headers": ["shared_mutex"], - "depends": "!defined(_LIBCUDACXX_HAS_NO_THREADS)", - "internal_depends": "!defined(_LIBCUDACXX_HAS_NO_THREADS)", - }, - {"name": "__cccl_lib_scoped_lock", - "values": { - "c++17": 201703L, - }, - "headers": ["mutex"], - }, - # C++2a - {"name": "__cccl_lib_char8_t", - "values": { - "c++2a": 201811L, - }, - "headers": ["atomic", "filesystem", "istream", "limits", "locale", "ostream", - "string", "string_view"], - "depends": "defined(__cpp_char8_t)", - "internal_depends": "!defined(_LIBCUDACXX_NO_HAS_CHAR8_T)", - }, - {"name": "__cccl_lib_erase_if", - "values": { - "c++2a": 201811L, - }, - "headers": ["string", "deque", "forward_list", "list", "vector", "map", - "set", "unordered_map", "unordered_set"] - }, - {"name": "__cccl_lib_destroying_delete", - "values": { - "c++2a": 201806L, - }, - "headers": ["new"], - "depends": - "TEST_STD_VER > 17" - " && defined(__cpp_impl_destroying_delete)" - " && __cpp_impl_destroying_delete >= 201806L", - "internal_depends": - "_LIBCUDACXX_STD_VER > 17" - " && defined(__cpp_impl_destroying_delete)" - " && __cpp_impl_destroying_delete >= 201806L", - }, - {"name": "__cccl_lib_three_way_comparison", - "values": { - "c++2a": 201711L, - }, - "headers": ["compare"], - "unimplemented": True, - }, - {"name": "__cccl_lib_concepts", - "values": { - "c++14": 202002L, - }, - "headers": ["concepts"], - }, - {"name": "__cccl_lib_constexpr_swap_algorithms", - "values": { - "c++2a": 201806L, - }, - "headers": ["algorithm"], - "unimplemented": True, - }, - {"name": "__cccl_lib_constexpr_misc", - "values": { - "c++2a": 201811L, - }, - "headers": ["array", "functional", "iterator", "string_view", "tuple", "utility"], - "unimplemented": True, - }, - {"name": "__cccl_lib_bind_front", - "values": { - "c++17": 201907L, - }, - "headers": ["functional"], - }, - {"name": "__cccl_lib_is_constant_evaluated", - "values": { - "c++2a": 201811L, - }, - "headers": ["type_traits"], - "depends": "TEST_HAS_BUILTIN(__builtin_is_constant_evaluated) || TEST_GCC_VER >= 900", - "internal_depends": "defined(_LIBCUDACXX_IS_CONSTANT_EVALUATED)", - }, - {"name": "__cccl_lib_list_remove_return_type", - "values": { - "c++2a": 201806L, - }, - "headers": ["forward_list", "list"], - "unimplemented": True, - }, - {"name": "__cccl_lib_generic_unordered_lookup", - "values": { - "c++2a": 201811L, - }, - "headers": ["unordered_map", "unordered_set"], - "unimplemented": True, - }, - {"name": "__cccl_lib_ranges", - "values": { - "c++2a": 201811L, - }, - "headers": ["algorithm", "functional", "iterator", "memory", "ranges"], - "unimplemented": True, - }, - {"name": "__cccl_lib_bit_cast", - "values": { - "c++2a": 201806L, - }, - "headers": ["bit"], - "unimplemented": True, - }, - {"name": "__cccl_lib_atomic_ref", - "values": { - "c++2a": 201806L, - }, - "headers": ["atomic"], - "unimplemented": True, - "depends": "!defined(_LIBCUDACXX_HAS_NO_THREADS)", - "internal_depends": "!defined(_LIBCUDACXX_HAS_NO_THREADS)", - }, - {"name": "__cccl_lib_interpolate", - "values": { - "c++2a": 201902L, - }, - "headers": ["numeric"], - }, -]], key=lambda tc: tc["name"]) - -def get_std_dialects(): - std_dialects = ['c++14', 'c++17', 'c++2a'] - return list(std_dialects) - -def get_first_std(d): - for s in get_std_dialects(): - if s in d.keys(): - return s - return None - -def get_last_std(d): - rev_dialects = get_std_dialects() - rev_dialects.reverse() - for s in rev_dialects: - if s in d.keys(): - return s - return None - -def get_std_before(d, std): - std_dialects = get_std_dialects() - candidates = std_dialects[0:std_dialects.index(std)] - candidates.reverse() - for cand in candidates: - if cand in d.keys(): - return cand - return None - -def get_value_before(d, std): - new_std = get_std_before(d, std) - if new_std is None: - return None - return d[new_std] - -def get_for_std(d, std): - # This catches the C++11 case for which there should be no defined feature - # test macros. - std_dialects = get_std_dialects() - if std not in std_dialects: - return None - # Find the value for the newest C++ dialect between C++14 and std - std_list = list(std_dialects[0:std_dialects.index(std)+1]) - std_list.reverse() - for s in std_list: - if s in d.keys(): - return d[s] - return None - - -""" - Functions to produce the header -""" - -def produce_macros_definition_for_std(std): - result = "" - indent = 56 - for tc in feature_test_macros: - if std not in tc["values"]: - continue - inner_indent = 1 - if 'depends' in tc.keys(): - assert 'internal_depends' in tc.keys() - result += "# if %s\n" % tc["internal_depends"] - inner_indent += 2 - if get_value_before(tc["values"], std) is not None: - assert 'depends' not in tc.keys() - result += "# undef %s\n" % tc["name"] - line = "#%sdefine %s" % ((" " * inner_indent), tc["name"]) - line += " " * (indent - len(line)) - line += "%sL" % tc["values"][std] - if 'unimplemented' in tc.keys(): - line = "// " + line - result += line - result += "\n" - if 'depends' in tc.keys(): - result += "# endif\n" - return result - -def chunks(l, n): - """Yield successive n-sized chunks from l.""" - for i in range(0, len(l), n): - yield l[i:i + n] - -def produce_version_synopsis(): - indent = 56 - header_indent = 56 + len("20XXYYL ") - result = "" - def indent_to(s, val): - if len(s) >= val: - return s - s += " " * (val - len(s)) - return s - line = indent_to("Macro name", indent) + "Value" - line = indent_to(line, header_indent) + "Headers" - result += line + "\n" - for tc in feature_test_macros: - prev_defined_std = get_last_std(tc["values"]) - line = "{name: <{indent}}{value}L ".format(name=tc['name'], indent=indent, - value=tc["values"][prev_defined_std]) - headers = list(tc["headers"]) - headers.remove("version") - for chunk in chunks(headers, 3): - line = indent_to(line, header_indent) - chunk = ['<%s>' % header for header in chunk] - line += ' '.join(chunk) - result += line - result += "\n" - line = "" - while True: - prev_defined_std = get_std_before(tc["values"], prev_defined_std) - if prev_defined_std is None: - break - result += "%s%sL // %s\n" % (indent_to("", indent), tc["values"][prev_defined_std], - prev_defined_std.replace("c++", "C++")) - return result - - -def produce_version_header(): - template="""// -*- C++ -*- -//===--------------------------- version ----------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -#ifndef _LIBCUDACXX_VERSIONH -#define _LIBCUDACXX_VERSIONH - -/* - version synopsis - -{synopsis} - -*/ - -#include <__config> - -#if defined(_CCCL_IMPLICIT_SYSTEM_HEADER_GCC) -# pragma GCC system_header -#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_CLANG) -# pragma clang system_header -#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) -# pragma system_header -#endif // no system header - -#if _LIBCUDACXX_STD_VER > 11 -{cxx14_macros} -#endif - -#if _LIBCUDACXX_STD_VER > 14 -{cxx17_macros} -#endif - -#if _LIBCUDACXX_STD_VER > 17 -{cxx2a_macros} -#endif - -#endif // _LIBCUDACXX_VERSIONH -""" - return template.format( - synopsis=produce_version_synopsis().strip(), - cxx14_macros=produce_macros_definition_for_std('c++14').strip(), - cxx17_macros=produce_macros_definition_for_std('c++17').strip(), - cxx2a_macros=produce_macros_definition_for_std('c++2a').strip()) - -""" - Functions to produce test files -""" - -test_types = { - "undefined": """ -# ifdef {name} -# error "{name} should not be defined before {std_first}" -# endif -""", - - "depends": """ -# if {depends} -# ifndef {name} -# error "{name} should be defined in {std}" -# endif -# if {name} != {value} -# error "{name} should have the value {value} in {std}" -# endif -# else -# ifdef {name} -# error "{name} should not be defined when {depends} is not defined!" -# endif -# endif -""", - - "unimplemented": """ -# if !defined(_LIBCUDACXX_VERSION) -# ifndef {name} -# error "{name} should be defined in {std}" -# endif -# if {name} != {value} -# error "{name} should have the value {value} in {std}" -# endif -# else // _LIBCUDACXX_VERSION -# ifdef {name} -# error "{name} should not be defined because it is unimplemented in libc++!" -# endif -# endif -""", - - "defined":""" -# ifndef {name} -# error "{name} should be defined in {std}" -# endif -# if {name} != {value} -# error "{name} should have the value {value} in {std}" -# endif -""" -} - -def generate_std_test(test_list, std): - result = "" - for tc in test_list: - val = get_for_std(tc["values"], std) - if val is not None: - val = "%sL" % val - if val is None: - result += test_types["undefined"].format(name=tc["name"], std_first=get_first_std(tc["values"])) - elif 'unimplemented' in tc.keys(): - result += test_types["unimplemented"].format(name=tc["name"], value=val, std=std) - elif "depends" in tc.keys(): - result += test_types["depends"].format(name=tc["name"], value=val, std=std, depends=tc["depends"]) - else: - result += test_types["defined"].format(name=tc["name"], value=val, std=std) - return result - -def generate_synopsis(test_list): - max_name_len = max([len(tc["name"]) for tc in test_list]) - indent = max_name_len + 8 - def mk_line(prefix, suffix): - return "{prefix: <{max_len}}{suffix}\n".format(prefix=prefix, suffix=suffix, - max_len=indent) - result = "" - result += mk_line("/* Constant", "Value") - for tc in test_list: - prefix = " %s" % tc["name"] - for std in [s for s in get_std_dialects() if s in tc["values"].keys()]: - result += mk_line(prefix, "%sL [%s]" % (tc["values"][std], std.replace("c++", "C++"))) - prefix = "" - result += "*/" - return result - -def is_threading_header_unsafe_to_include(h): - # NOTE: "" does not blow up when included without threads. - return h in ['atomic', 'shared_mutex'] - -def produce_tests(): - headers = set([h for tc in feature_test_macros for h in tc["headers"]]) - for h in headers: - test_list = [tc for tc in feature_test_macros if h in tc["headers"]] - if not has_header(h): - for tc in test_list: - assert 'unimplemented' in tc.keys() - continue - test_tags = "" - if is_threading_header_unsafe_to_include(h): - test_tags += '\n// UNSUPPORTED: libcpp-has-no-threads\n' - test_body = \ -"""//===----------------------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// -// -// WARNING: This test was generated by {script_name} -// and should not be edited manually. -{test_tags} -// <{header}> - -// Test the feature test macros defined by <{header}> - -{synopsis} - -#include <{header}> -#include "test_macros.h" - -#if TEST_STD_VER < 14 - -{cxx11_tests} - -#elif TEST_STD_VER == 14 - -{cxx14_tests} - -#elif TEST_STD_VER == 17 - -{cxx17_tests} - -#elif TEST_STD_VER > 17 - -{cxx2a_tests} - -#endif // TEST_STD_VER > 17 - -int main(int, char**) {{ return 0; }} -""".format(script_name=script_name, - header=h, - test_tags=test_tags, - synopsis=generate_synopsis(test_list), - cxx11_tests=generate_std_test(test_list, 'c++11').strip(), - cxx14_tests=generate_std_test(test_list, 'c++14').strip(), - cxx17_tests=generate_std_test(test_list, 'c++17').strip(), - cxx2a_tests=generate_std_test(test_list, 'c++2a').strip()) - test_name = "{header}.version.pass.cpp".format(header=h) - out_path = os.path.join(macro_test_path, test_name) - with open(out_path, 'w') as f: - f.write(test_body) - -""" - Produce documentation for the feature test macros -""" - -def make_widths(grid): - widths = [] - for i in range(0, len(grid[0])): - cell_width = 2 + max(reduce(lambda x,y: x+y, [[len(row[i])] for row in grid], [])) - widths += [cell_width] - return widths - -def create_table(grid, indent): - indent_str = ' '*indent - col_widths = make_widths(grid) - num_cols = len(grid[0]) - result = indent_str + add_divider(col_widths, 2) - header_flag = 2 - for row_i in xrange(0, len(grid)): - row = grid[row_i] - result = result + indent_str + ' '.join([pad_cell(row[i], col_widths[i]) for i in range(0, len(row))]) + '\n' - is_cxx_header = row[0].startswith('**') - if row_i == len(grid) - 1: - header_flag = 2 - result = result + indent_str + add_divider(col_widths, 1 if is_cxx_header else header_flag) - header_flag = 0 - return result - -def add_divider(widths, header_flag): - if header_flag == 2: - return ' '.join(['='*w for w in widths]) + '\n' - if header_flag == 1: - return '-'.join(['-'*w for w in widths]) + '\n' - else: - return ' '.join(['-'*w for w in widths]) + '\n' - -def pad_cell(s, length, left_align=True): - padding = ((length - len(s)) * ' ') - return s + padding - - -def get_status_table(): - table = [["Macro Name", "Value"]] - for std in get_std_dialects(): - table += [["**" + std.replace("c++", "C++ ") + "**", ""]] - for tc in feature_test_macros: - if std not in tc["values"].keys(): - continue - value = "``%sL``" % tc["values"][std] - if 'unimplemented' in tc.keys(): - value = '*unimplemented*' - table += [["``%s``" % tc["name"], value]] - return table - -def produce_docs(): - doc_str = """.. _FeatureTestMacroTable: - -========================== -Feature Test Macro Support -========================== - -.. contents:: - :local: - -Overview -======== - -This file documents the feature test macros currently supported by libc++. - -.. _feature-status: - -Status -====== - -.. table:: Current Status - :name: feature-status-table - :widths: auto - -{status_tables} - -""".format(status_tables=create_table(get_status_table(), 4)) - - table_doc_path = os.path.join(docs_path, 'FeatureTestMacroTable.rst') - with open(table_doc_path, 'w') as f: - f.write(doc_str) - -def main(): - with tempfile.NamedTemporaryFile(mode='w', prefix='version.', delete=False) as tmp_file: - print("producing new header as %s" % tmp_file.name) - tmp_file.write(produce_version_header()) - produce_tests() - produce_docs() - - -if __name__ == '__main__': - main() diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/.clang-format b/libcudacxx/.upstream-tests/utils/google-benchmark/.clang-format deleted file mode 100644 index 4b3f13fa55..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/.clang-format +++ /dev/null @@ -1,5 +0,0 @@ ---- -Language: Cpp -BasedOnStyle: Google -... - diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/.gitignore b/libcudacxx/.upstream-tests/utils/google-benchmark/.gitignore deleted file mode 100644 index 8c30e28f53..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/.gitignore +++ /dev/null @@ -1,58 +0,0 @@ -*.a -*.so -*.so.?* -*.dll -*.exe -*.dylib -*.cmake -!/cmake/*.cmake -!/test/AssemblyTests.cmake -*~ -*.pyc -__pycache__ - -# lcov -*.lcov -/lcov - -# cmake files. -/Testing -CMakeCache.txt -CMakeFiles/ -cmake_install.cmake - -# makefiles. -Makefile - -# in-source build. -bin/ -lib/ -/test/*_test - -# exuberant ctags. -tags - -# YouCompleteMe configuration. -.ycm_extra_conf.pyc - -# ninja generated files. -.ninja_deps -.ninja_log -build.ninja -install_manifest.txt -rules.ninja - -# bazel output symlinks. -bazel-* - -# out-of-source build top-level folders. -build/ -_build/ -build*/ - -# in-source dependencies -/googletest/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -CMakeSettings.json diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/.travis-libcxx-setup.sh b/libcudacxx/.upstream-tests/utils/google-benchmark/.travis-libcxx-setup.sh deleted file mode 100644 index a591743c6a..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/.travis-libcxx-setup.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -# Install a newer CMake version -curl -sSL https://cmake.org/files/v3.6/cmake-3.6.1-Linux-x86_64.sh -o install-cmake.sh -chmod +x install-cmake.sh -sudo ./install-cmake.sh --prefix=/usr/local --skip-license - -# Checkout LLVM sources -git clone --depth=1 https://github.com/llvm-mirror/llvm.git llvm-source -git clone --depth=1 https://github.com/llvm-mirror/libcxx.git llvm-source/projects/libcxx -git clone --depth=1 https://github.com/llvm-mirror/libcxxabi.git llvm-source/projects/libcxxabi - -# Setup libc++ options -if [ -z "$BUILD_32_BITS" ]; then - export BUILD_32_BITS=OFF && echo disabling 32 bit build -fi - -# Build and install libc++ (Use unstable ABI for better sanitizer coverage) -mkdir llvm-build && cd llvm-build -cmake -DCMAKE_C_COMPILER=${C_COMPILER} -DCMAKE_CXX_COMPILER=${COMPILER} \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIBCXX_ABI_UNSTABLE=ON \ - -DLLVM_USE_SANITIZER=${LIBCXX_SANITIZER} \ - -DLLVM_BUILD_32_BITS=${BUILD_32_BITS} \ - ../llvm-source -make cxx -j2 -sudo make install-cxxabi install-cxx -cd ../ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/.travis.yml b/libcudacxx/.upstream-tests/utils/google-benchmark/.travis.yml deleted file mode 100644 index 4625dfb087..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/.travis.yml +++ /dev/null @@ -1,199 +0,0 @@ -sudo: required -dist: trusty -language: cpp - -env: - global: - - /usr/local/bin:$PATH - -matrix: - include: - - compiler: gcc - addons: - apt: - packages: - - lcov - env: COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Coverage - - compiler: gcc - env: COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Debug - - compiler: gcc - env: COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Release - - compiler: gcc - addons: - apt: - packages: - - g++-multilib - env: COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Debug BUILD_32_BITS=ON - - compiler: gcc - addons: - apt: - packages: - - g++-multilib - env: COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Release BUILD_32_BITS=ON - - compiler: gcc - env: - - INSTALL_GCC6_FROM_PPA=1 - - COMPILER=g++-6 C_COMPILER=gcc-6 BUILD_TYPE=Debug - - ENABLE_SANITIZER=1 - - EXTRA_FLAGS="-fno-omit-frame-pointer -g -O2 -fsanitize=undefined,address -fuse-ld=gold" - - compiler: clang - env: COMPILER=clang++ C_COMPILER=clang BUILD_TYPE=Debug - - compiler: clang - env: COMPILER=clang++ C_COMPILER=clang BUILD_TYPE=Release - # Clang w/ libc++ - - compiler: clang - addons: - apt: - packages: - clang-3.8 - env: - - COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Debug - - LIBCXX_BUILD=1 - - EXTRA_FLAGS="-stdlib=libc++" - - compiler: clang - addons: - apt: - packages: - clang-3.8 - env: - - COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Release - - LIBCXX_BUILD=1 - - EXTRA_FLAGS="-stdlib=libc++" - # Clang w/ 32bit libc++ - - compiler: clang - addons: - apt: - packages: - - clang-3.8 - - g++-multilib - env: - - COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Debug - - LIBCXX_BUILD=1 - - BUILD_32_BITS=ON - - EXTRA_FLAGS="-stdlib=libc++ -m32" - # Clang w/ 32bit libc++ - - compiler: clang - addons: - apt: - packages: - - clang-3.8 - - g++-multilib - env: - - COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Release - - LIBCXX_BUILD=1 - - BUILD_32_BITS=ON - - EXTRA_FLAGS="-stdlib=libc++ -m32" - # Clang w/ libc++, ASAN, UBSAN - - compiler: clang - addons: - apt: - packages: - clang-3.8 - env: - - COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Debug - - LIBCXX_BUILD=1 LIBCXX_SANITIZER="Undefined;Address" - - ENABLE_SANITIZER=1 - - EXTRA_FLAGS="-stdlib=libc++ -g -O2 -fno-omit-frame-pointer -fsanitize=undefined,address -fno-sanitize-recover=all" - - UBSAN_OPTIONS=print_stacktrace=1 - # Clang w/ libc++ and MSAN - - compiler: clang - addons: - apt: - packages: - clang-3.8 - env: - - COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Debug - - LIBCXX_BUILD=1 LIBCXX_SANITIZER=MemoryWithOrigins - - ENABLE_SANITIZER=1 - - EXTRA_FLAGS="-stdlib=libc++ -g -O2 -fno-omit-frame-pointer -fsanitize=memory -fsanitize-memory-track-origins" - # Clang w/ libc++ and MSAN - - compiler: clang - addons: - apt: - packages: - clang-3.8 - env: - - COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=RelWithDebInfo - - LIBCXX_BUILD=1 LIBCXX_SANITIZER=Thread - - ENABLE_SANITIZER=1 - - EXTRA_FLAGS="-stdlib=libc++ -g -O2 -fno-omit-frame-pointer -fsanitize=thread -fno-sanitize-recover=all" - - os: osx - osx_image: xcode8.3 - compiler: clang - env: - - COMPILER=clang++ BUILD_TYPE=Debug - - os: osx - osx_image: xcode8.3 - compiler: clang - env: - - COMPILER=clang++ BUILD_TYPE=Release - - os: osx - osx_image: xcode8.3 - compiler: clang - env: - - COMPILER=clang++ BUILD_TYPE=Release BUILD_32_BITS=ON - - os: osx - osx_image: xcode8.3 - compiler: gcc - env: - - COMPILER=g++-7 C_COMPILER=gcc-7 BUILD_TYPE=Debug - -before_script: - - if [ -n "${LIBCXX_BUILD}" ]; then - source .travis-libcxx-setup.sh; - fi - - if [ -n "${ENABLE_SANITIZER}" ]; then - export EXTRA_OPTIONS="-DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF"; - else - export EXTRA_OPTIONS=""; - fi - - mkdir -p build && cd build - -before_install: - - if [ -z "$BUILD_32_BITS" ]; then - export BUILD_32_BITS=OFF && echo disabling 32 bit build; - fi - - if [ -n "${INSTALL_GCC6_FROM_PPA}" ]; then - sudo add-apt-repository -y "ppa:ubuntu-toolchain-r/test"; - sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60"; - fi - -install: - - if [ -n "${INSTALL_GCC6_FROM_PPA}" ]; then - travis_wait sudo -E apt-get -yq --no-install-suggests --no-install-recommends install g++-6; - fi - - if [ "${TRAVIS_OS_NAME}" == "linux" -a "${BUILD_32_BITS}" == "OFF" ]; then - travis_wait sudo -E apt-get -y --no-install-suggests --no-install-recommends install llvm-3.9-tools; - sudo cp /usr/lib/llvm-3.9/bin/FileCheck /usr/local/bin/; - fi - - if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then - PATH=~/.local/bin:${PATH}; - pip install --user --upgrade pip; - travis_wait pip install --user cpp-coveralls; - fi - - if [ "${C_COMPILER}" == "gcc-7" -a "${TRAVIS_OS_NAME}" == "osx" ]; then - rm -f /usr/local/include/c++; - brew update; - travis_wait brew install gcc@7; - fi - - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then - sudo apt-get update -qq; - sudo apt-get install -qq unzip; - wget https://github.com/bazelbuild/bazel/releases/download/0.10.1/bazel-0.10.1-installer-linux-x86_64.sh --output-document bazel-installer.sh; - travis_wait sudo bash bazel-installer.sh; - fi - - if [ "${TRAVIS_OS_NAME}" == "osx" ]; then - curl -L -o bazel-installer.sh https://github.com/bazelbuild/bazel/releases/download/0.10.1/bazel-0.10.1-installer-darwin-x86_64.sh; - travis_wait sudo bash bazel-installer.sh; - fi - -script: - - cmake -DCMAKE_C_COMPILER=${C_COMPILER} -DCMAKE_CXX_COMPILER=${COMPILER} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_CXX_FLAGS="${EXTRA_FLAGS}" -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON -DBENCHMARK_BUILD_32_BITS=${BUILD_32_BITS} ${EXTRA_OPTIONS} .. - - make - - ctest -C ${BUILD_TYPE} --output-on-failure - - bazel test -c dbg --define google_benchmark.have_regex=posix --announce_rc --verbose_failures --test_output=errors --keep_going //test/... - -after_success: - - if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then - coveralls --include src --include include --gcov-options '\-lp' --root .. --build-root .; - fi diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/.ycm_extra_conf.py b/libcudacxx/.upstream-tests/utils/google-benchmark/.ycm_extra_conf.py deleted file mode 100644 index 5649ddcc74..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/.ycm_extra_conf.py +++ /dev/null @@ -1,115 +0,0 @@ -import os -import ycm_core - -# These are the compilation flags that will be used in case there's no -# compilation database set (by default, one is not set). -# CHANGE THIS LIST OF FLAGS. YES, THIS IS THE DROID YOU HAVE BEEN LOOKING FOR. -flags = [ -'-Wall', -'-Werror', -'-pedantic-errors', -'-std=c++0x', -'-fno-strict-aliasing', -'-O3', -'-DNDEBUG', -# ...and the same thing goes for the magic -x option which specifies the -# language that the files to be compiled are written in. This is mostly -# relevant for c++ headers. -# For a C project, you would set this to 'c' instead of 'c++'. -'-x', 'c++', -'-I', 'include', -'-isystem', '/usr/include', -'-isystem', '/usr/local/include', -] - - -# Set this to the absolute path to the folder (NOT the file!) containing the -# compile_commands.json file to use that instead of 'flags'. See here for -# more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html -# -# Most projects will NOT need to set this to anything; you can just change the -# 'flags' list of compilation flags. Notice that YCM itself uses that approach. -compilation_database_folder = '' - -if os.path.exists( compilation_database_folder ): - database = ycm_core.CompilationDatabase( compilation_database_folder ) -else: - database = None - -SOURCE_EXTENSIONS = [ '.cc' ] - -def DirectoryOfThisScript(): - return os.path.dirname( os.path.abspath( __file__ ) ) - - -def MakeRelativePathsInFlagsAbsolute( flags, working_directory ): - if not working_directory: - return list( flags ) - new_flags = [] - make_next_absolute = False - path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ] - for flag in flags: - new_flag = flag - - if make_next_absolute: - make_next_absolute = False - if not flag.startswith( '/' ): - new_flag = os.path.join( working_directory, flag ) - - for path_flag in path_flags: - if flag == path_flag: - make_next_absolute = True - break - - if flag.startswith( path_flag ): - path = flag[ len( path_flag ): ] - new_flag = path_flag + os.path.join( working_directory, path ) - break - - if new_flag: - new_flags.append( new_flag ) - return new_flags - - -def IsHeaderFile( filename ): - extension = os.path.splitext( filename )[ 1 ] - return extension in [ '.h', '.hxx', '.hpp', '.hh' ] - - -def GetCompilationInfoForFile( filename ): - # The compilation_commands.json file generated by CMake does not have entries - # for header files. So we do our best by asking the db for flags for a - # corresponding source file, if any. If one exists, the flags for that file - # should be good enough. - if IsHeaderFile( filename ): - basename = os.path.splitext( filename )[ 0 ] - for extension in SOURCE_EXTENSIONS: - replacement_file = basename + extension - if os.path.exists( replacement_file ): - compilation_info = database.GetCompilationInfoForFile( - replacement_file ) - if compilation_info.compiler_flags_: - return compilation_info - return None - return database.GetCompilationInfoForFile( filename ) - - -def FlagsForFile( filename, **kwargs ): - if database: - # Bear in mind that compilation_info.compiler_flags_ does NOT return a - # python list, but a "list-like" StringVec object - compilation_info = GetCompilationInfoForFile( filename ) - if not compilation_info: - return None - - final_flags = MakeRelativePathsInFlagsAbsolute( - compilation_info.compiler_flags_, - compilation_info.compiler_working_dir_ ) - else: - relative_to = DirectoryOfThisScript() - final_flags = MakeRelativePathsInFlagsAbsolute( flags, relative_to ) - - return { - 'flags': final_flags, - 'do_cache': True - } diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/AUTHORS b/libcudacxx/.upstream-tests/utils/google-benchmark/AUTHORS deleted file mode 100644 index 09e2e0551a..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/AUTHORS +++ /dev/null @@ -1,48 +0,0 @@ -# This is the official list of benchmark authors for copyright purposes. -# This file is distinct from the CONTRIBUTORS files. -# See the latter for an explanation. -# -# Names should be added to this file as: -# Name or Organization -# The email address is not required for organizations. -# -# Please keep the list sorted. - -Albert Pretorius -Arne Beer -Carto -Christopher Seymour -David Coeurjolly -Deniz Evrenci -Dirac Research -Dominik Czarnota -Eric Fiselier -Eugene Zhuk -Evgeny Safronov -Federico Ficarelli -Felix Homann -Google Inc. -International Business Machines Corporation -Ismael Jimenez Martinez -Jern-Kuan Leong -JianXiong Zhou -Joao Paulo Magalhaes -Jussi Knuuttila -Kaito Udagawa -Kishan Kumar -Lei Xu -Matt Clarkson -Maxim Vafin -MongoDB Inc. -Nick Hutchinson -Oleksandr Sochka -Ori Livneh -Paul Redmond -Radoslav Yovchev -Roman Lebedev -Shuo Chen -Steinar H. Gunderson -Stripe, Inc. -Yixuan Qiu -Yusuke Suzuki -Zbigniew Skowron diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/CMakeLists.txt b/libcudacxx/.upstream-tests/utils/google-benchmark/CMakeLists.txt deleted file mode 100644 index 310c7ee9f6..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/CMakeLists.txt +++ /dev/null @@ -1,267 +0,0 @@ -cmake_minimum_required (VERSION 2.8.12) - -project (benchmark) - -foreach(p - CMP0054 # CMake 3.1 - CMP0056 # export EXE_LINKER_FLAGS to try_run - CMP0057 # Support no if() IN_LIST operator - ) - if(POLICY ${p}) - cmake_policy(SET ${p} NEW) - endif() -endforeach() - -option(BENCHMARK_ENABLE_TESTING "Enable testing of the benchmark library." ON) -option(BENCHMARK_ENABLE_EXCEPTIONS "Enable the use of exceptions in the benchmark library." ON) -option(BENCHMARK_ENABLE_LTO "Enable link time optimisation of the benchmark library." OFF) -option(BENCHMARK_USE_LIBCXX "Build and test using libc++ as the standard library." OFF) -if(NOT MSVC) - option(BENCHMARK_BUILD_32_BITS "Build a 32 bit version of the library." OFF) -else() - set(BENCHMARK_BUILD_32_BITS OFF CACHE BOOL "Build a 32 bit version of the library - unsupported when using MSVC)" FORCE) -endif() -option(BENCHMARK_ENABLE_INSTALL "Enable installation of benchmark. (Projects embedding benchmark may want to turn this OFF.)" ON) - -# Allow unmet dependencies to be met using CMake's ExternalProject mechanics, which -# may require downloading the source code. -option(BENCHMARK_DOWNLOAD_DEPENDENCIES "Allow the downloading and in-tree building of unmet dependencies" OFF) - -# This option can be used to disable building and running unit tests which depend on gtest -# in cases where it is not possible to build or find a valid version of gtest. -option(BENCHMARK_ENABLE_GTEST_TESTS "Enable building the unit tests which depend on gtest" ON) - -set(ENABLE_ASSEMBLY_TESTS_DEFAULT OFF) -function(should_enable_assembly_tests) - if(CMAKE_BUILD_TYPE) - string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_LOWER) - if (${CMAKE_BUILD_TYPE_LOWER} MATCHES "coverage") - # FIXME: The --coverage flag needs to be removed when building assembly - # tests for this to work. - return() - endif() - endif() - if (MSVC) - return() - elseif(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") - return() - elseif(NOT CMAKE_SIZEOF_VOID_P EQUAL 8) - # FIXME: Make these work on 32 bit builds - return() - elseif(BENCHMARK_BUILD_32_BITS) - # FIXME: Make these work on 32 bit builds - return() - endif() - find_program(LLVM_FILECHECK_EXE FileCheck) - if (LLVM_FILECHECK_EXE) - set(LLVM_FILECHECK_EXE "${LLVM_FILECHECK_EXE}" CACHE PATH "llvm filecheck" FORCE) - message(STATUS "LLVM FileCheck Found: ${LLVM_FILECHECK_EXE}") - else() - message(STATUS "Failed to find LLVM FileCheck") - return() - endif() - set(ENABLE_ASSEMBLY_TESTS_DEFAULT ON PARENT_SCOPE) -endfunction() -should_enable_assembly_tests() - -# This option disables the building and running of the assembly verification tests -option(BENCHMARK_ENABLE_ASSEMBLY_TESTS "Enable building and running the assembly tests" - ${ENABLE_ASSEMBLY_TESTS_DEFAULT}) - -# Make sure we can import out CMake functions -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules") -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") - - -# Read the git tags to determine the project version -include(GetGitVersion) -get_git_version(GIT_VERSION) - -# Tell the user what versions we are using -string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" VERSION ${GIT_VERSION}) -message(STATUS "Version: ${VERSION}") - -# The version of the libraries -set(GENERIC_LIB_VERSION ${VERSION}) -string(SUBSTRING ${VERSION} 0 1 GENERIC_LIB_SOVERSION) - -# Import our CMake modules -include(CheckCXXCompilerFlag) -include(AddCXXCompilerFlag) -include(CXXFeatureCheck) - -if (BENCHMARK_BUILD_32_BITS) - add_required_cxx_compiler_flag(-m32) -endif() - -if (MSVC) - # Turn compiler warnings up to 11 - string(REGEX REPLACE "[-/]W[1-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4") - add_definitions(-D_CRT_SECURE_NO_WARNINGS) - - if (NOT BENCHMARK_ENABLE_EXCEPTIONS) - add_cxx_compiler_flag(-EHs-) - add_cxx_compiler_flag(-EHa-) - add_definitions(-D_HAS_EXCEPTIONS=0) - endif() - # Link time optimisation - if (BENCHMARK_ENABLE_LTO) - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /GL") - set(CMAKE_STATIC_LINKER_FLAGS_RELEASE "${CMAKE_STATIC_LINKER_FLAGS_RELEASE} /LTCG") - set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /LTCG") - set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /LTCG") - - set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /GL") - string(REGEX REPLACE "[-/]INCREMENTAL" "/INCREMENTAL:NO" CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO}") - set(CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO} /LTCG") - string(REGEX REPLACE "[-/]INCREMENTAL" "/INCREMENTAL:NO" CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO}") - set(CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO} /LTCG") - string(REGEX REPLACE "[-/]INCREMENTAL" "/INCREMENTAL:NO" CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO}") - set(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO} /LTCG") - - set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} /GL") - set(CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL "${CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL} /LTCG") - set(CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL "${CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL} /LTCG") - set(CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "${CMAKE_EXE_LINKER_FLAGS_MINSIZEREL} /LTCG") - endif() -else() - # Try and enable C++11. Don't use C++14 because it doesn't work in some - # configurations. - add_cxx_compiler_flag(-std=c++11) - if (NOT HAVE_CXX_FLAG_STD_CXX11) - add_cxx_compiler_flag(-std=c++0x) - endif() - - # Turn compiler warnings up to 11 - add_cxx_compiler_flag(-Wall) - add_cxx_compiler_flag(-Wextra) - add_cxx_compiler_flag(-Wshadow) - add_cxx_compiler_flag(-Werror RELEASE) - add_cxx_compiler_flag(-Werror RELWITHDEBINFO) - add_cxx_compiler_flag(-Werror MINSIZEREL) - add_cxx_compiler_flag(-pedantic) - add_cxx_compiler_flag(-pedantic-errors) - add_cxx_compiler_flag(-Wshorten-64-to-32) - add_cxx_compiler_flag(-fstrict-aliasing) - # Disable warnings regarding deprecated parts of the library while building - # and testing those parts of the library. - add_cxx_compiler_flag(-Wno-deprecated-declarations) - if (CMAKE_CXX_COMPILER_ID STREQUAL "Intel") - # Intel silently ignores '-Wno-deprecated-declarations', - # warning no. 1786 must be explicitly disabled. - # See #631 for rationale. - add_cxx_compiler_flag(-wd1786) - endif() - # Disable deprecation warnings for release builds (when -Werror is enabled). - add_cxx_compiler_flag(-Wno-deprecated RELEASE) - add_cxx_compiler_flag(-Wno-deprecated RELWITHDEBINFO) - add_cxx_compiler_flag(-Wno-deprecated MINSIZEREL) - if (NOT BENCHMARK_ENABLE_EXCEPTIONS) - add_cxx_compiler_flag(-fno-exceptions) - endif() - - if (HAVE_CXX_FLAG_FSTRICT_ALIASING) - if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "Intel") #ICC17u2: Many false positives for Wstrict-aliasing - add_cxx_compiler_flag(-Wstrict-aliasing) - endif() - endif() - # ICC17u2: overloaded virtual function "benchmark::Fixture::SetUp" is only partially overridden - # (because of deprecated overload) - add_cxx_compiler_flag(-wd654) - add_cxx_compiler_flag(-Wthread-safety) - if (HAVE_CXX_FLAG_WTHREAD_SAFETY) - cxx_feature_check(THREAD_SAFETY_ATTRIBUTES) - endif() - - # On most UNIX like platforms g++ and clang++ define _GNU_SOURCE as a - # predefined macro, which turns on all of the wonderful libc extensions. - # However g++ doesn't do this in Cygwin so we have to define it ourselfs - # since we depend on GNU/POSIX/BSD extensions. - if (CYGWIN) - add_definitions(-D_GNU_SOURCE=1) - endif() - - # Link time optimisation - if (BENCHMARK_ENABLE_LTO) - add_cxx_compiler_flag(-flto) - if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - find_program(GCC_AR gcc-ar) - if (GCC_AR) - set(CMAKE_AR ${GCC_AR}) - endif() - find_program(GCC_RANLIB gcc-ranlib) - if (GCC_RANLIB) - set(CMAKE_RANLIB ${GCC_RANLIB}) - endif() - elseif("${CMAKE_C_COMPILER_ID}" MATCHES "Clang") - include(llvm-toolchain) - endif() - endif() - - # Coverage build type - set(BENCHMARK_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_DEBUG}" - CACHE STRING "Flags used by the C++ compiler during coverage builds." - FORCE) - set(BENCHMARK_EXE_LINKER_FLAGS_COVERAGE "${CMAKE_EXE_LINKER_FLAGS_DEBUG}" - CACHE STRING "Flags used for linking binaries during coverage builds." - FORCE) - set(BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}" - CACHE STRING "Flags used by the shared libraries linker during coverage builds." - FORCE) - mark_as_advanced( - BENCHMARK_CXX_FLAGS_COVERAGE - BENCHMARK_EXE_LINKER_FLAGS_COVERAGE - BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE) - set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING - "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel Coverage.") - add_cxx_compiler_flag(--coverage COVERAGE) -endif() - -if (BENCHMARK_USE_LIBCXX) - if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") - add_cxx_compiler_flag(-stdlib=libc++) - elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR - "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") - add_cxx_compiler_flag(-nostdinc++) - message(WARNING "libc++ header path must be manually specified using CMAKE_CXX_FLAGS") - # Adding -nodefaultlibs directly to CMAKE__LINKER_FLAGS will break - # configuration checks such as 'find_package(Threads)' - list(APPEND BENCHMARK_CXX_LINKER_FLAGS -nodefaultlibs) - # -lc++ cannot be added directly to CMAKE__LINKER_FLAGS because - # linker flags appear before all linker inputs and -lc++ must appear after. - list(APPEND BENCHMARK_CXX_LIBRARIES c++) - else() - message(FATAL_ERROR "-DBENCHMARK_USE_LIBCXX:BOOL=ON is not supported for compiler") - endif() -endif(BENCHMARK_USE_LIBCXX) - -# C++ feature checks -# Determine the correct regular expression engine to use -cxx_feature_check(STD_REGEX) -cxx_feature_check(GNU_POSIX_REGEX) -cxx_feature_check(POSIX_REGEX) -if(NOT HAVE_STD_REGEX AND NOT HAVE_GNU_POSIX_REGEX AND NOT HAVE_POSIX_REGEX) - message(FATAL_ERROR "Failed to determine the source files for the regular expression backend") -endif() -if (NOT BENCHMARK_ENABLE_EXCEPTIONS AND HAVE_STD_REGEX - AND NOT HAVE_GNU_POSIX_REGEX AND NOT HAVE_POSIX_REGEX) - message(WARNING "Using std::regex with exceptions disabled is not fully supported") -endif() -cxx_feature_check(STEADY_CLOCK) -# Ensure we have pthreads -find_package(Threads REQUIRED) - -# Set up directories -include_directories(${PROJECT_SOURCE_DIR}/include) - -# Build the targets -add_subdirectory(src) - -if (BENCHMARK_ENABLE_TESTING) - enable_testing() - if (BENCHMARK_ENABLE_GTEST_TESTS) - include(HandleGTest) - endif() - add_subdirectory(test) -endif() diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/CONTRIBUTING.md b/libcudacxx/.upstream-tests/utils/google-benchmark/CONTRIBUTING.md deleted file mode 100644 index 43de4c9d47..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/CONTRIBUTING.md +++ /dev/null @@ -1,58 +0,0 @@ -# How to contribute # - -We'd love to accept your patches and contributions to this project. There are -a just a few small guidelines you need to follow. - - -## Contributor License Agreement ## - -Contributions to any Google project must be accompanied by a Contributor -License Agreement. This is not a copyright **assignment**, it simply gives -Google permission to use and redistribute your contributions as part of the -project. - - * If you are an individual writing original source code and you're sure you - own the intellectual property, then you'll need to sign an [individual - CLA][]. - - * If you work for a company that wants to allow you to contribute your work, - then you'll need to sign a [corporate CLA][]. - -You generally only need to submit a CLA once, so if you've already submitted -one (even if it was for a different project), you probably don't need to do it -again. - -[individual CLA]: https://developers.google.com/open-source/cla/individual -[corporate CLA]: https://developers.google.com/open-source/cla/corporate - -Once your CLA is submitted (or if you already submitted one for -another Google project), make a commit adding yourself to the -[AUTHORS][] and [CONTRIBUTORS][] files. This commit can be part -of your first [pull request][]. - -[AUTHORS]: AUTHORS -[CONTRIBUTORS]: CONTRIBUTORS - - -## Submitting a patch ## - - 1. It's generally best to start by opening a new issue describing the bug or - feature you're intending to fix. Even if you think it's relatively minor, - it's helpful to know what people are working on. Mention in the initial - issue that you are planning to work on that bug or feature so that it can - be assigned to you. - - 1. Follow the normal process of [forking][] the project, and setup a new - branch to work in. It's important that each group of changes be done in - separate branches in order to ensure that a pull request only includes the - commits related to that bug or feature. - - 1. Do your best to have [well-formed commit messages][] for each change. - This provides consistency throughout the project, and ensures that commit - messages are able to be formatted properly by various git tools. - - 1. Finally, push the commits to your fork and submit a [pull request][]. - -[forking]: https://help.github.com/articles/fork-a-repo -[well-formed commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html -[pull request]: https://help.github.com/articles/creating-a-pull-request diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/CONTRIBUTORS b/libcudacxx/.upstream-tests/utils/google-benchmark/CONTRIBUTORS deleted file mode 100644 index ee74ff886c..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/CONTRIBUTORS +++ /dev/null @@ -1,68 +0,0 @@ -# People who have agreed to one of the CLAs and can contribute patches. -# The AUTHORS file lists the copyright holders; this file -# lists people. For example, Google employees are listed here -# but not in AUTHORS, because Google holds the copyright. -# -# Names should be added to this file only after verifying that -# the individual or the individual's organization has agreed to -# the appropriate Contributor License Agreement, found here: -# -# https://developers.google.com/open-source/cla/individual -# https://developers.google.com/open-source/cla/corporate -# -# The agreement for individuals can be filled out on the web. -# -# When adding J Random Contributor's name to this file, -# either J's name or J's organization's name should be -# added to the AUTHORS file, depending on whether the -# individual or corporate CLA was used. -# -# Names should be added to this file as: -# Name -# -# Please keep the list sorted. - -Albert Pretorius -Arne Beer -Billy Robert O'Neal III -Chris Kennelly -Christopher Seymour -Cyrille Faucheux -David Coeurjolly -Deniz Evrenci -Dominic Hamon -Dominik Czarnota -Eric Fiselier -Eugene Zhuk -Evgeny Safronov -Federico Ficarelli -Felix Homann -Ismael Jimenez Martinez -Jern-Kuan Leong -JianXiong Zhou -Joao Paulo Magalhaes -John Millikin -Jussi Knuuttila -Kai Wolf -Kishan Kumar -Kaito Udagawa -Lei Xu -Matt Clarkson -Maxim Vafin -Nick Hutchinson -Oleksandr Sochka -Ori Livneh -Pascal Leroy -Paul Redmond -Pierre Phaneuf -Radoslav Yovchev -Raul Marin -Ray Glover -Robert Guo -Roman Lebedev -Shuo Chen -Tobias Ulvgård -Tom Madams -Yixuan Qiu -Yusuke Suzuki -Zbigniew Skowron diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/LICENSE b/libcudacxx/.upstream-tests/utils/google-benchmark/LICENSE deleted file mode 100644 index d645695673..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/README.LLVM b/libcudacxx/.upstream-tests/utils/google-benchmark/README.LLVM deleted file mode 100644 index 05c5e3ee34..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/README.LLVM +++ /dev/null @@ -1,16 +0,0 @@ -LLVM notes ----------- - -This directory contains the Google Benchmark source code with some unnecessary -files removed. Note that this directory is under a different license than -libc++. - -Changes: -* https://github.com/google/benchmark/commit/4abdfbb802d1b514703223f5f852ce4a507d32d2 - is applied on top of - https://github.com/google/benchmark/commit/4528c76b718acc9b57956f63069c699ae21edcab - to add RISC-V timer support. -* https://github.com/google/benchmark/commit/8e48105d465c586068dd8e248fe75a8971c6ba3a - is applied on top of - https://github.com/google/benchmark/commit/4528c76b718acc9b57956f63069c699ae21edcab - to fix cross-build from linux to windows via MinGW. diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/README.md b/libcudacxx/.upstream-tests/utils/google-benchmark/README.md deleted file mode 100644 index 858ea2334e..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/README.md +++ /dev/null @@ -1,998 +0,0 @@ -# benchmark -[![Build Status](https://travis-ci.org/google/benchmark.svg?branch=master)](https://travis-ci.org/google/benchmark) -[![Build status](https://ci.appveyor.com/api/projects/status/u0qsyp7t1tk7cpxs/branch/master?svg=true)](https://ci.appveyor.com/project/google/benchmark/branch/master) -[![Coverage Status](https://coveralls.io/repos/google/benchmark/badge.svg)](https://coveralls.io/r/google/benchmark) -[![slackin](https://slackin-iqtfqnpzxd.now.sh/badge.svg)](https://slackin-iqtfqnpzxd.now.sh/) - -A library to support the benchmarking of functions, similar to unit-tests. - -[Discussion group](https://groups.google.com/d/forum/benchmark-discuss) - -IRC channel: [freenode](https://freenode.net) #googlebenchmark - -[Additional Tooling Documentation](docs/tools.md) - -[Assembly Testing Documentation](docs/AssemblyTests.md) - - -## Building - -The basic steps for configuring and building the library look like this: - -```bash -$ git clone https://github.com/google/benchmark.git -# Benchmark requires Google Test as a dependency. Add the source tree as a subdirectory. -$ git clone https://github.com/google/googletest.git benchmark/googletest -$ mkdir build && cd build -$ cmake -G [options] ../benchmark -# Assuming a makefile generator was used -$ make -``` - -Note that Google Benchmark requires Google Test to build and run the tests. This -dependency can be provided two ways: - -* Checkout the Google Test sources into `benchmark/googletest` as above. -* Otherwise, if `-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON` is specified during - configuration, the library will automatically download and build any required - dependencies. - -If you do not wish to build and run the tests, add `-DBENCHMARK_ENABLE_GTEST_TESTS=OFF` -to `CMAKE_ARGS`. - - -## Installation Guide - -For Ubuntu and Debian Based System - -First make sure you have git and cmake installed (If not please install them) - -``` -sudo apt-get install git cmake -``` - -Now, let's clone the repository and build it - -``` -git clone https://github.com/google/benchmark.git -cd benchmark -# If you want to build tests and don't use BENCHMARK_DOWNLOAD_DEPENDENCIES, then -# git clone https://github.com/google/googletest.git -mkdir build -cd build -cmake .. -DCMAKE_BUILD_TYPE=RELEASE -make -``` - -If you need to install the library globally - -``` -sudo make install -``` - -## Stable and Experimental Library Versions - -The main branch contains the latest stable version of the benchmarking library; -the API of which can be considered largely stable, with source breaking changes -being made only upon the release of a new major version. - -Newer, experimental, features are implemented and tested on the -[`v2` branch](https://github.com/google/benchmark/tree/v2). Users who wish -to use, test, and provide feedback on the new features are encouraged to try -this branch. However, this branch provides no stability guarantees and reserves -the right to change and break the API at any time. - -## Further knowledge - -It may help to read the [Google Test documentation](https://github.com/google/googletest/blob/master/googletest/docs/primer.md) -as some of the structural aspects of the APIs are similar. - -## Example usage -### Basic usage -Define a function that executes the code to be measured, register it as a -benchmark function using the `BENCHMARK` macro, and ensure an appropriate `main` -function is available: - -```c++ -#include - -static void BM_StringCreation(benchmark::State& state) { - for (auto _ : state) - std::string empty_string; -} -// Register the function as a benchmark -BENCHMARK(BM_StringCreation); - -// Define another benchmark -static void BM_StringCopy(benchmark::State& state) { - std::string x = "hello"; - for (auto _ : state) - std::string copy(x); -} -BENCHMARK(BM_StringCopy); - -BENCHMARK_MAIN(); -``` - -Don't forget to inform your linker to add benchmark library e.g. through -`-lbenchmark` compilation flag. Alternatively, you may leave out the -`BENCHMARK_MAIN();` at the end of the source file and link against -`-lbenchmark_main` to get the same default behavior. - -The benchmark library will measure and report the timing for code within the -`for(...)` loop. - -#### Platform-specific libraries -When the library is built using GCC it is necessary to link with the pthread -library due to how GCC implements `std::thread`. Failing to link to pthread will -lead to runtime exceptions (unless you're using libc++), not linker errors. See -[issue #67](https://github.com/google/benchmark/issues/67) for more details. You -can link to pthread by adding `-pthread` to your linker command. Note, you can -also use `-lpthread`, but there are potential issues with ordering of command -line parameters if you use that. - -If you're running benchmarks on Windows, the shlwapi library (`-lshlwapi`) is -also required. - -If you're running benchmarks on solaris, you'll want the kstat library linked in -too (`-lkstat`). - -### Passing arguments -Sometimes a family of benchmarks can be implemented with just one routine that -takes an extra argument to specify which one of the family of benchmarks to -run. For example, the following code defines a family of benchmarks for -measuring the speed of `memcpy()` calls of different lengths: - -```c++ -static void BM_memcpy(benchmark::State& state) { - char* src = new char[state.range(0)]; - char* dst = new char[state.range(0)]; - memset(src, 'x', state.range(0)); - for (auto _ : state) - memcpy(dst, src, state.range(0)); - state.SetBytesProcessed(int64_t(state.iterations()) * - int64_t(state.range(0))); - delete[] src; - delete[] dst; -} -BENCHMARK(BM_memcpy)->Arg(8)->Arg(64)->Arg(512)->Arg(1<<10)->Arg(8<<10); -``` - -The preceding code is quite repetitive, and can be replaced with the following -short-hand. The following invocation will pick a few appropriate arguments in -the specified range and will generate a benchmark for each such argument. - -```c++ -BENCHMARK(BM_memcpy)->Range(8, 8<<10); -``` - -By default the arguments in the range are generated in multiples of eight and -the command above selects [ 8, 64, 512, 4k, 8k ]. In the following code the -range multiplier is changed to multiples of two. - -```c++ -BENCHMARK(BM_memcpy)->RangeMultiplier(2)->Range(8, 8<<10); -``` -Now arguments generated are [ 8, 16, 32, 64, 128, 256, 512, 1024, 2k, 4k, 8k ]. - -You might have a benchmark that depends on two or more inputs. For example, the -following code defines a family of benchmarks for measuring the speed of set -insertion. - -```c++ -static void BM_SetInsert(benchmark::State& state) { - std::set data; - for (auto _ : state) { - state.PauseTiming(); - data = ConstructRandomSet(state.range(0)); - state.ResumeTiming(); - for (int j = 0; j < state.range(1); ++j) - data.insert(RandomNumber()); - } -} -BENCHMARK(BM_SetInsert) - ->Args({1<<10, 128}) - ->Args({2<<10, 128}) - ->Args({4<<10, 128}) - ->Args({8<<10, 128}) - ->Args({1<<10, 512}) - ->Args({2<<10, 512}) - ->Args({4<<10, 512}) - ->Args({8<<10, 512}); -``` - -The preceding code is quite repetitive, and can be replaced with the following -short-hand. The following macro will pick a few appropriate arguments in the -product of the two specified ranges and will generate a benchmark for each such -pair. - -```c++ -BENCHMARK(BM_SetInsert)->Ranges({{1<<10, 8<<10}, {128, 512}}); -``` - -For more complex patterns of inputs, passing a custom function to `Apply` allows -programmatic specification of an arbitrary set of arguments on which to run the -benchmark. The following example enumerates a dense range on one parameter, -and a sparse range on the second. - -```c++ -static void CustomArguments(benchmark::internal::Benchmark* b) { - for (int i = 0; i <= 10; ++i) - for (int j = 32; j <= 1024*1024; j *= 8) - b->Args({i, j}); -} -BENCHMARK(BM_SetInsert)->Apply(CustomArguments); -``` - -### Calculate asymptotic complexity (Big O) -Asymptotic complexity might be calculated for a family of benchmarks. The -following code will calculate the coefficient for the high-order term in the -running time and the normalized root-mean square error of string comparison. - -```c++ -static void BM_StringCompare(benchmark::State& state) { - std::string s1(state.range(0), '-'); - std::string s2(state.range(0), '-'); - for (auto _ : state) { - benchmark::DoNotOptimize(s1.compare(s2)); - } - state.SetComplexityN(state.range(0)); -} -BENCHMARK(BM_StringCompare) - ->RangeMultiplier(2)->Range(1<<10, 1<<18)->Complexity(benchmark::oN); -``` - -As shown in the following invocation, asymptotic complexity might also be -calculated automatically. - -```c++ -BENCHMARK(BM_StringCompare) - ->RangeMultiplier(2)->Range(1<<10, 1<<18)->Complexity(); -``` - -The following code will specify asymptotic complexity with a lambda function, -that might be used to customize high-order term calculation. - -```c++ -BENCHMARK(BM_StringCompare)->RangeMultiplier(2) - ->Range(1<<10, 1<<18)->Complexity([](int64_t n)->double{return n; }); -``` - -### Templated benchmarks -Templated benchmarks work the same way: This example produces and consumes -messages of size `sizeof(v)` `range_x` times. It also outputs throughput in the -absence of multiprogramming. - -```c++ -template void BM_Sequential(benchmark::State& state) { - Q q; - typename Q::value_type v; - for (auto _ : state) { - for (int i = state.range(0); i--; ) - q.push(v); - for (int e = state.range(0); e--; ) - q.Wait(&v); - } - // actually messages, not bytes: - state.SetBytesProcessed( - static_cast(state.iterations())*state.range(0)); -} -BENCHMARK_TEMPLATE(BM_Sequential, WaitQueue)->Range(1<<0, 1<<10); -``` - -Three macros are provided for adding benchmark templates. - -```c++ -#ifdef BENCHMARK_HAS_CXX11 -#define BENCHMARK_TEMPLATE(func, ...) // Takes any number of parameters. -#else // C++ < C++11 -#define BENCHMARK_TEMPLATE(func, arg1) -#endif -#define BENCHMARK_TEMPLATE1(func, arg1) -#define BENCHMARK_TEMPLATE2(func, arg1, arg2) -``` - -### A Faster KeepRunning loop - -In C++11 mode, a ranged-based for loop should be used in preference to -the `KeepRunning` loop for running the benchmarks. For example: - -```c++ -static void BM_Fast(benchmark::State &state) { - for (auto _ : state) { - FastOperation(); - } -} -BENCHMARK(BM_Fast); -``` - -The reason the ranged-for loop is faster than using `KeepRunning`, is -because `KeepRunning` requires a memory load and store of the iteration count -ever iteration, whereas the ranged-for variant is able to keep the iteration count -in a register. - -For example, an empty inner loop of using the ranged-based for method looks like: - -```asm -# Loop Init - mov rbx, qword ptr [r14 + 104] - call benchmark::State::StartKeepRunning() - test rbx, rbx - je .LoopEnd -.LoopHeader: # =>This Inner Loop Header: Depth=1 - add rbx, -1 - jne .LoopHeader -.LoopEnd: -``` - -Compared to an empty `KeepRunning` loop, which looks like: - -```asm -.LoopHeader: # in Loop: Header=BB0_3 Depth=1 - cmp byte ptr [rbx], 1 - jne .LoopInit -.LoopBody: # =>This Inner Loop Header: Depth=1 - mov rax, qword ptr [rbx + 8] - lea rcx, [rax + 1] - mov qword ptr [rbx + 8], rcx - cmp rax, qword ptr [rbx + 104] - jb .LoopHeader - jmp .LoopEnd -.LoopInit: - mov rdi, rbx - call benchmark::State::StartKeepRunning() - jmp .LoopBody -.LoopEnd: -``` - -Unless C++03 compatibility is required, the ranged-for variant of writing -the benchmark loop should be preferred. - -## Passing arbitrary arguments to a benchmark -In C++11 it is possible to define a benchmark that takes an arbitrary number -of extra arguments. The `BENCHMARK_CAPTURE(func, test_case_name, ...args)` -macro creates a benchmark that invokes `func` with the `benchmark::State` as -the first argument followed by the specified `args...`. -The `test_case_name` is appended to the name of the benchmark and -should describe the values passed. - -```c++ -template -void BM_takes_args(benchmark::State& state, ExtraArgs&&... extra_args) { - [...] -} -// Registers a benchmark named "BM_takes_args/int_string_test" that passes -// the specified values to `extra_args`. -BENCHMARK_CAPTURE(BM_takes_args, int_string_test, 42, std::string("abc")); -``` -Note that elements of `...args` may refer to global variables. Users should -avoid modifying global state inside of a benchmark. - -## Using RegisterBenchmark(name, fn, args...) - -The `RegisterBenchmark(name, func, args...)` function provides an alternative -way to create and register benchmarks. -`RegisterBenchmark(name, func, args...)` creates, registers, and returns a -pointer to a new benchmark with the specified `name` that invokes -`func(st, args...)` where `st` is a `benchmark::State` object. - -Unlike the `BENCHMARK` registration macros, which can only be used at the global -scope, the `RegisterBenchmark` can be called anywhere. This allows for -benchmark tests to be registered programmatically. - -Additionally `RegisterBenchmark` allows any callable object to be registered -as a benchmark. Including capturing lambdas and function objects. - -For Example: -```c++ -auto BM_test = [](benchmark::State& st, auto Inputs) { /* ... */ }; - -int main(int argc, char** argv) { - for (auto& test_input : { /* ... */ }) - benchmark::RegisterBenchmark(test_input.name(), BM_test, test_input); - benchmark::Initialize(&argc, argv); - benchmark::RunSpecifiedBenchmarks(); -} -``` - -### Multithreaded benchmarks -In a multithreaded test (benchmark invoked by multiple threads simultaneously), -it is guaranteed that none of the threads will start until all have reached -the start of the benchmark loop, and all will have finished before any thread -exits the benchmark loop. (This behavior is also provided by the `KeepRunning()` -API) As such, any global setup or teardown can be wrapped in a check against the thread -index: - -```c++ -static void BM_MultiThreaded(benchmark::State& state) { - if (state.thread_index == 0) { - // Setup code here. - } - for (auto _ : state) { - // Run the test as normal. - } - if (state.thread_index == 0) { - // Teardown code here. - } -} -BENCHMARK(BM_MultiThreaded)->Threads(2); -``` - -If the benchmarked code itself uses threads and you want to compare it to -single-threaded code, you may want to use real-time ("wallclock") measurements -for latency comparisons: - -```c++ -BENCHMARK(BM_test)->Range(8, 8<<10)->UseRealTime(); -``` - -Without `UseRealTime`, CPU time is used by default. - -## Controlling timers -Normally, the entire duration of the work loop (`for (auto _ : state) {}`) -is measured. But sometimes, it is nessesary to do some work inside of -that loop, every iteration, but without counting that time to the benchmark time. -That is possible, althought it is not recommended, since it has high overhead. - -```c++ -static void BM_SetInsert_With_Timer_Control(benchmark::State& state) { - std::set data; - for (auto _ : state) { - state.PauseTiming(); // Stop timers. They will not count until they are resumed. - data = ConstructRandomSet(state.range(0)); // Do something that should not be measured - state.ResumeTiming(); // And resume timers. They are now counting again. - // The rest will be measured. - for (int j = 0; j < state.range(1); ++j) - data.insert(RandomNumber()); - } -} -BENCHMARK(BM_SetInsert_With_Timer_Control)->Ranges({{1<<10, 8<<10}, {128, 512}}); -``` - -## Manual timing -For benchmarking something for which neither CPU time nor real-time are -correct or accurate enough, completely manual timing is supported using -the `UseManualTime` function. - -When `UseManualTime` is used, the benchmarked code must call -`SetIterationTime` once per iteration of the benchmark loop to -report the manually measured time. - -An example use case for this is benchmarking GPU execution (e.g. OpenCL -or CUDA kernels, OpenGL or Vulkan or Direct3D draw calls), which cannot -be accurately measured using CPU time or real-time. Instead, they can be -measured accurately using a dedicated API, and these measurement results -can be reported back with `SetIterationTime`. - -```c++ -static void BM_ManualTiming(benchmark::State& state) { - int microseconds = state.range(0); - std::chrono::duration sleep_duration { - static_cast(microseconds) - }; - - for (auto _ : state) { - auto start = std::chrono::high_resolution_clock::now(); - // Simulate some useful workload with a sleep - std::this_thread::sleep_for(sleep_duration); - auto end = std::chrono::high_resolution_clock::now(); - - auto elapsed_seconds = - std::chrono::duration_cast>( - end - start); - - state.SetIterationTime(elapsed_seconds.count()); - } -} -BENCHMARK(BM_ManualTiming)->Range(1, 1<<17)->UseManualTime(); -``` - -### Preventing optimisation -To prevent a value or expression from being optimized away by the compiler -the `benchmark::DoNotOptimize(...)` and `benchmark::ClobberMemory()` -functions can be used. - -```c++ -static void BM_test(benchmark::State& state) { - for (auto _ : state) { - int x = 0; - for (int i=0; i < 64; ++i) { - benchmark::DoNotOptimize(x += i); - } - } -} -``` - -`DoNotOptimize()` forces the *result* of `` to be stored in either -memory or a register. For GNU based compilers it acts as read/write barrier -for global memory. More specifically it forces the compiler to flush pending -writes to memory and reload any other values as necessary. - -Note that `DoNotOptimize()` does not prevent optimizations on `` -in any way. `` may even be removed entirely when the result is already -known. For example: - -```c++ - /* Example 1: `` is removed entirely. */ - int foo(int x) { return x + 42; } - while (...) DoNotOptimize(foo(0)); // Optimized to DoNotOptimize(42); - - /* Example 2: Result of '' is only reused */ - int bar(int) __attribute__((const)); - while (...) DoNotOptimize(bar(0)); // Optimized to: - // int __result__ = bar(0); - // while (...) DoNotOptimize(__result__); -``` - -The second tool for preventing optimizations is `ClobberMemory()`. In essence -`ClobberMemory()` forces the compiler to perform all pending writes to global -memory. Memory managed by block scope objects must be "escaped" using -`DoNotOptimize(...)` before it can be clobbered. In the below example -`ClobberMemory()` prevents the call to `v.push_back(42)` from being optimized -away. - -```c++ -static void BM_vector_push_back(benchmark::State& state) { - for (auto _ : state) { - std::vector v; - v.reserve(1); - benchmark::DoNotOptimize(v.data()); // Allow v.data() to be clobbered. - v.push_back(42); - benchmark::ClobberMemory(); // Force 42 to be written to memory. - } -} -``` - -Note that `ClobberMemory()` is only available for GNU or MSVC based compilers. - -### Set time unit manually -If a benchmark runs a few milliseconds it may be hard to visually compare the -measured times, since the output data is given in nanoseconds per default. In -order to manually set the time unit, you can specify it manually: - -```c++ -BENCHMARK(BM_test)->Unit(benchmark::kMillisecond); -``` - -### Reporting the mean, median and standard deviation by repeated benchmarks -By default each benchmark is run once and that single result is reported. -However benchmarks are often noisy and a single result may not be representative -of the overall behavior. For this reason it's possible to repeatedly rerun the -benchmark. - -The number of runs of each benchmark is specified globally by the -`--benchmark_repetitions` flag or on a per benchmark basis by calling -`Repetitions` on the registered benchmark object. When a benchmark is run more -than once the mean, median and standard deviation of the runs will be reported. - -Additionally the `--benchmark_report_aggregates_only={true|false}`, -`--benchmark_display_aggregates_only={true|false}` flags or -`ReportAggregatesOnly(bool)`, `DisplayAggregatesOnly(bool)` functions can be -used to change how repeated tests are reported. By default the result of each -repeated run is reported. When `report aggregates only` option is `true`, -only the aggregates (i.e. mean, median and standard deviation, maybe complexity -measurements if they were requested) of the runs is reported, to both the -reporters - standard output (console), and the file. -However when only the `display aggregates only` option is `true`, -only the aggregates are displayed in the standard output, while the file -output still contains everything. -Calling `ReportAggregatesOnly(bool)` / `DisplayAggregatesOnly(bool)` on a -registered benchmark object overrides the value of the appropriate flag for that -benchmark. - -## User-defined statistics for repeated benchmarks -While having mean, median and standard deviation is nice, this may not be -enough for everyone. For example you may want to know what is the largest -observation, e.g. because you have some real-time constraints. This is easy. -The following code will specify a custom statistic to be calculated, defined -by a lambda function. - -```c++ -void BM_spin_empty(benchmark::State& state) { - for (auto _ : state) { - for (int x = 0; x < state.range(0); ++x) { - benchmark::DoNotOptimize(x); - } - } -} - -BENCHMARK(BM_spin_empty) - ->ComputeStatistics("max", [](const std::vector& v) -> double { - return *(std::max_element(std::begin(v), std::end(v))); - }) - ->Arg(512); -``` - -## Fixtures -Fixture tests are created by -first defining a type that derives from `::benchmark::Fixture` and then -creating/registering the tests using the following macros: - -* `BENCHMARK_F(ClassName, Method)` -* `BENCHMARK_DEFINE_F(ClassName, Method)` -* `BENCHMARK_REGISTER_F(ClassName, Method)` - -For Example: - -```c++ -class MyFixture : public benchmark::Fixture {}; - -BENCHMARK_F(MyFixture, FooTest)(benchmark::State& st) { - for (auto _ : st) { - ... - } -} - -BENCHMARK_DEFINE_F(MyFixture, BarTest)(benchmark::State& st) { - for (auto _ : st) { - ... - } -} -/* BarTest is NOT registered */ -BENCHMARK_REGISTER_F(MyFixture, BarTest)->Threads(2); -/* BarTest is now registered */ -``` - -### Templated fixtures -Also you can create templated fixture by using the following macros: - -* `BENCHMARK_TEMPLATE_F(ClassName, Method, ...)` -* `BENCHMARK_TEMPLATE_DEFINE_F(ClassName, Method, ...)` - -For example: -```c++ -template -class MyFixture : public benchmark::Fixture {}; - -BENCHMARK_TEMPLATE_F(MyFixture, IntTest, int)(benchmark::State& st) { - for (auto _ : st) { - ... - } -} - -BENCHMARK_TEMPLATE_DEFINE_F(MyFixture, DoubleTest, double)(benchmark::State& st) { - for (auto _ : st) { - ... - } -} - -BENCHMARK_REGISTER_F(MyFixture, DoubleTest)->Threads(2); -``` - -## User-defined counters - -You can add your own counters with user-defined names. The example below -will add columns "Foo", "Bar" and "Baz" in its output: - -```c++ -static void UserCountersExample1(benchmark::State& state) { - double numFoos = 0, numBars = 0, numBazs = 0; - for (auto _ : state) { - // ... count Foo,Bar,Baz events - } - state.counters["Foo"] = numFoos; - state.counters["Bar"] = numBars; - state.counters["Baz"] = numBazs; -} -``` - -The `state.counters` object is a `std::map` with `std::string` keys -and `Counter` values. The latter is a `double`-like class, via an implicit -conversion to `double&`. Thus you can use all of the standard arithmetic -assignment operators (`=,+=,-=,*=,/=`) to change the value of each counter. - -In multithreaded benchmarks, each counter is set on the calling thread only. -When the benchmark finishes, the counters from each thread will be summed; -the resulting sum is the value which will be shown for the benchmark. - -The `Counter` constructor accepts three parameters: the value as a `double` -; a bit flag which allows you to show counters as rates, and/or as per-thread -iteration, and/or as per-thread averages, and/or iteration invariants; -and a flag specifying the 'unit' - i.e. is 1k a 1000 (default, -`benchmark::Counter::OneK::kIs1000`), or 1024 -(`benchmark::Counter::OneK::kIs1024`)? - -```c++ - // sets a simple counter - state.counters["Foo"] = numFoos; - - // Set the counter as a rate. It will be presented divided - // by the duration of the benchmark. - state.counters["FooRate"] = Counter(numFoos, benchmark::Counter::kIsRate); - - // Set the counter as a thread-average quantity. It will - // be presented divided by the number of threads. - state.counters["FooAvg"] = Counter(numFoos, benchmark::Counter::kAvgThreads); - - // There's also a combined flag: - state.counters["FooAvgRate"] = Counter(numFoos,benchmark::Counter::kAvgThreadsRate); - - // This says that we process with the rate of state.range(0) bytes every iteration: - state.counters["BytesProcessed"] = Counter(state.range(0), benchmark::Counter::kIsIterationInvariantRate, benchmark::Counter::OneK::kIs1024); -``` - -When you're compiling in C++11 mode or later you can use `insert()` with -`std::initializer_list`: - -```c++ - // With C++11, this can be done: - state.counters.insert({{"Foo", numFoos}, {"Bar", numBars}, {"Baz", numBazs}}); - // ... instead of: - state.counters["Foo"] = numFoos; - state.counters["Bar"] = numBars; - state.counters["Baz"] = numBazs; -``` - -### Counter reporting - -When using the console reporter, by default, user counters are are printed at -the end after the table, the same way as ``bytes_processed`` and -``items_processed``. This is best for cases in which there are few counters, -or where there are only a couple of lines per benchmark. Here's an example of -the default output: - -``` ------------------------------------------------------------------------------- -Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------- -BM_UserCounter/threads:8 2248 ns 10277 ns 68808 Bar=16 Bat=40 Baz=24 Foo=8 -BM_UserCounter/threads:1 9797 ns 9788 ns 71523 Bar=2 Bat=5 Baz=3 Foo=1024m -BM_UserCounter/threads:2 4924 ns 9842 ns 71036 Bar=4 Bat=10 Baz=6 Foo=2 -BM_UserCounter/threads:4 2589 ns 10284 ns 68012 Bar=8 Bat=20 Baz=12 Foo=4 -BM_UserCounter/threads:8 2212 ns 10287 ns 68040 Bar=16 Bat=40 Baz=24 Foo=8 -BM_UserCounter/threads:16 1782 ns 10278 ns 68144 Bar=32 Bat=80 Baz=48 Foo=16 -BM_UserCounter/threads:32 1291 ns 10296 ns 68256 Bar=64 Bat=160 Baz=96 Foo=32 -BM_UserCounter/threads:4 2615 ns 10307 ns 68040 Bar=8 Bat=20 Baz=12 Foo=4 -BM_Factorial 26 ns 26 ns 26608979 40320 -BM_Factorial/real_time 26 ns 26 ns 26587936 40320 -BM_CalculatePiRange/1 16 ns 16 ns 45704255 0 -BM_CalculatePiRange/8 73 ns 73 ns 9520927 3.28374 -BM_CalculatePiRange/64 609 ns 609 ns 1140647 3.15746 -BM_CalculatePiRange/512 4900 ns 4901 ns 142696 3.14355 -``` - -If this doesn't suit you, you can print each counter as a table column by -passing the flag `--benchmark_counters_tabular=true` to the benchmark -application. This is best for cases in which there are a lot of counters, or -a lot of lines per individual benchmark. Note that this will trigger a -reprinting of the table header any time the counter set changes between -individual benchmarks. Here's an example of corresponding output when -`--benchmark_counters_tabular=true` is passed: - -``` ---------------------------------------------------------------------------------------- -Benchmark Time CPU Iterations Bar Bat Baz Foo ---------------------------------------------------------------------------------------- -BM_UserCounter/threads:8 2198 ns 9953 ns 70688 16 40 24 8 -BM_UserCounter/threads:1 9504 ns 9504 ns 73787 2 5 3 1 -BM_UserCounter/threads:2 4775 ns 9550 ns 72606 4 10 6 2 -BM_UserCounter/threads:4 2508 ns 9951 ns 70332 8 20 12 4 -BM_UserCounter/threads:8 2055 ns 9933 ns 70344 16 40 24 8 -BM_UserCounter/threads:16 1610 ns 9946 ns 70720 32 80 48 16 -BM_UserCounter/threads:32 1192 ns 9948 ns 70496 64 160 96 32 -BM_UserCounter/threads:4 2506 ns 9949 ns 70332 8 20 12 4 --------------------------------------------------------------- -Benchmark Time CPU Iterations --------------------------------------------------------------- -BM_Factorial 26 ns 26 ns 26392245 40320 -BM_Factorial/real_time 26 ns 26 ns 26494107 40320 -BM_CalculatePiRange/1 15 ns 15 ns 45571597 0 -BM_CalculatePiRange/8 74 ns 74 ns 9450212 3.28374 -BM_CalculatePiRange/64 595 ns 595 ns 1173901 3.15746 -BM_CalculatePiRange/512 4752 ns 4752 ns 147380 3.14355 -BM_CalculatePiRange/4k 37970 ns 37972 ns 18453 3.14184 -BM_CalculatePiRange/32k 303733 ns 303744 ns 2305 3.14162 -BM_CalculatePiRange/256k 2434095 ns 2434186 ns 288 3.1416 -BM_CalculatePiRange/1024k 9721140 ns 9721413 ns 71 3.14159 -BM_CalculatePi/threads:8 2255 ns 9943 ns 70936 -``` -Note above the additional header printed when the benchmark changes from -``BM_UserCounter`` to ``BM_Factorial``. This is because ``BM_Factorial`` does -not have the same counter set as ``BM_UserCounter``. - -## Exiting Benchmarks in Error - -When errors caused by external influences, such as file I/O and network -communication, occur within a benchmark the -`State::SkipWithError(const char* msg)` function can be used to skip that run -of benchmark and report the error. Note that only future iterations of the -`KeepRunning()` are skipped. For the ranged-for version of the benchmark loop -Users must explicitly exit the loop, otherwise all iterations will be performed. -Users may explicitly return to exit the benchmark immediately. - -The `SkipWithError(...)` function may be used at any point within the benchmark, -including before and after the benchmark loop. - -For example: - -```c++ -static void BM_test(benchmark::State& state) { - auto resource = GetResource(); - if (!resource.good()) { - state.SkipWithError("Resource is not good!"); - // KeepRunning() loop will not be entered. - } - for (state.KeepRunning()) { - auto data = resource.read_data(); - if (!resource.good()) { - state.SkipWithError("Failed to read data!"); - break; // Needed to skip the rest of the iteration. - } - do_stuff(data); - } -} - -static void BM_test_ranged_fo(benchmark::State & state) { - state.SkipWithError("test will not be entered"); - for (auto _ : state) { - state.SkipWithError("Failed!"); - break; // REQUIRED to prevent all further iterations. - } -} -``` - -## Running a subset of the benchmarks - -The `--benchmark_filter=` option can be used to only run the benchmarks -which match the specified ``. For example: - -```bash -$ ./run_benchmarks.x --benchmark_filter=BM_memcpy/32 -Run on (1 X 2300 MHz CPU ) -2016-06-25 19:34:24 -Benchmark Time CPU Iterations ----------------------------------------------------- -BM_memcpy/32 11 ns 11 ns 79545455 -BM_memcpy/32k 2181 ns 2185 ns 324074 -BM_memcpy/32 12 ns 12 ns 54687500 -BM_memcpy/32k 1834 ns 1837 ns 357143 -``` - -## Runtime and reporting considerations -When the benchmark binary is executed, each benchmark function is run serially. -The number of iterations to run is determined dynamically by running the -benchmark a few times and measuring the time taken and ensuring that the -ultimate result will be statistically stable. As such, faster benchmark -functions will be run for more iterations than slower benchmark functions, and -the number of iterations is thus reported. - -In all cases, the number of iterations for which the benchmark is run is -governed by the amount of time the benchmark takes. Concretely, the number of -iterations is at least one, not more than 1e9, until CPU time is greater than -the minimum time, or the wallclock time is 5x minimum time. The minimum time is -set per benchmark by calling `MinTime` on the registered benchmark object. - -Average timings are then reported over the iterations run. If multiple -repetitions are requested using the `--benchmark_repetitions` command-line -option, or at registration time, the benchmark function will be run several -times and statistical results across these repetitions will also be reported. - -As well as the per-benchmark entries, a preamble in the report will include -information about the machine on which the benchmarks are run. - -### Output Formats -The library supports multiple output formats. Use the -`--benchmark_format=` flag to set the format type. `console` -is the default format. - -The Console format is intended to be a human readable format. By default -the format generates color output. Context is output on stderr and the -tabular data on stdout. Example tabular output looks like: -``` -Benchmark Time(ns) CPU(ns) Iterations ----------------------------------------------------------------------- -BM_SetInsert/1024/1 28928 29349 23853 133.097kB/s 33.2742k items/s -BM_SetInsert/1024/8 32065 32913 21375 949.487kB/s 237.372k items/s -BM_SetInsert/1024/10 33157 33648 21431 1.13369MB/s 290.225k items/s -``` - -The JSON format outputs human readable json split into two top level attributes. -The `context` attribute contains information about the run in general, including -information about the CPU and the date. -The `benchmarks` attribute contains a list of every benchmark run. Example json -output looks like: -```json -{ - "context": { - "date": "2015/03/17-18:40:25", - "num_cpus": 40, - "mhz_per_cpu": 2801, - "cpu_scaling_enabled": false, - "build_type": "debug" - }, - "benchmarks": [ - { - "name": "BM_SetInsert/1024/1", - "iterations": 94877, - "real_time": 29275, - "cpu_time": 29836, - "bytes_per_second": 134066, - "items_per_second": 33516 - }, - { - "name": "BM_SetInsert/1024/8", - "iterations": 21609, - "real_time": 32317, - "cpu_time": 32429, - "bytes_per_second": 986770, - "items_per_second": 246693 - }, - { - "name": "BM_SetInsert/1024/10", - "iterations": 21393, - "real_time": 32724, - "cpu_time": 33355, - "bytes_per_second": 1199226, - "items_per_second": 299807 - } - ] -} -``` - -The CSV format outputs comma-separated values. The `context` is output on stderr -and the CSV itself on stdout. Example CSV output looks like: -``` -name,iterations,real_time,cpu_time,bytes_per_second,items_per_second,label -"BM_SetInsert/1024/1",65465,17890.7,8407.45,475768,118942, -"BM_SetInsert/1024/8",116606,18810.1,9766.64,3.27646e+06,819115, -"BM_SetInsert/1024/10",106365,17238.4,8421.53,4.74973e+06,1.18743e+06, -``` - -### Output Files -The library supports writing the output of the benchmark to a file specified -by `--benchmark_out=`. The format of the output can be specified -using `--benchmark_out_format={json|console|csv}`. Specifying -`--benchmark_out` does not suppress the console output. - -## Result comparison - -It is possible to compare the benchmarking results. See [Additional Tooling Documentation](docs/tools.md) - -## Debug vs Release -By default, benchmark builds as a debug library. You will see a warning in the -output when this is the case. To build it as a release library instead, use: - -``` -cmake -DCMAKE_BUILD_TYPE=Release -``` - -To enable link-time optimisation, use - -``` -cmake -DCMAKE_BUILD_TYPE=Release -DBENCHMARK_ENABLE_LTO=true -``` - -If you are using gcc, you might need to set `GCC_AR` and `GCC_RANLIB` cmake -cache variables, if autodetection fails. - -If you are using clang, you may need to set `LLVMAR_EXECUTABLE`, -`LLVMNM_EXECUTABLE` and `LLVMRANLIB_EXECUTABLE` cmake cache variables. - -## Compiler Support - -Google Benchmark uses C++11 when building the library. As such we require -a modern C++ toolchain, both compiler and standard library. - -The following minimum versions are strongly recommended build the library: - -* GCC 4.8 -* Clang 3.4 -* Visual Studio 2013 -* Intel 2015 Update 1 - -Anything older *may* work. - -Note: Using the library and its headers in C++03 is supported. C++11 is only -required to build the library. - -## Disable CPU frequency scaling -If you see this error: -``` -***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. -``` -you might want to disable the CPU frequency scaling while running the benchmark: -```bash -sudo cpupower frequency-set --governor performance -./mybench -sudo cpupower frequency-set --governor powersave -``` diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/WORKSPACE b/libcudacxx/.upstream-tests/utils/google-benchmark/WORKSPACE deleted file mode 100644 index 54734f1ea5..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/WORKSPACE +++ /dev/null @@ -1,7 +0,0 @@ -workspace(name = "com_github_google_benchmark") - -http_archive( - name = "com_google_googletest", - urls = ["https://github.com/google/googletest/archive/3f0cf6b62ad1eb50d8736538363d3580dd640c3e.zip"], - strip_prefix = "googletest-3f0cf6b62ad1eb50d8736538363d3580dd640c3e", -) diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/appveyor.yml b/libcudacxx/.upstream-tests/utils/google-benchmark/appveyor.yml deleted file mode 100644 index cf240190be..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/appveyor.yml +++ /dev/null @@ -1,50 +0,0 @@ -version: '{build}' - -image: Visual Studio 2017 - -configuration: - - Debug - - Release - -environment: - matrix: - - compiler: msvc-15-seh - generator: "Visual Studio 15 2017" - - - compiler: msvc-15-seh - generator: "Visual Studio 15 2017 Win64" - - - compiler: msvc-14-seh - generator: "Visual Studio 14 2015" - - - compiler: msvc-14-seh - generator: "Visual Studio 14 2015 Win64" - - - compiler: gcc-5.3.0-posix - generator: "MinGW Makefiles" - cxx_path: 'C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin' - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - -matrix: - fast_finish: true - -install: - # git bash conflicts with MinGW makefiles - - if "%generator%"=="MinGW Makefiles" (set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%") - - if not "%cxx_path%"=="" (set "PATH=%PATH%;%cxx_path%") - -build_script: - - md _build -Force - - cd _build - - echo %configuration% - - cmake -G "%generator%" "-DCMAKE_BUILD_TYPE=%configuration%" -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON .. - - cmake --build . --config %configuration% - -test_script: - - ctest -c %configuration% --timeout 300 --output-on-failure - -artifacts: - - path: '_build/CMakeFiles/*.log' - name: logs - - path: '_build/Testing/**/*.xml' - name: test_results diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/AddCXXCompilerFlag.cmake b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/AddCXXCompilerFlag.cmake deleted file mode 100644 index d0d2099814..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/AddCXXCompilerFlag.cmake +++ /dev/null @@ -1,74 +0,0 @@ -# - Adds a compiler flag if it is supported by the compiler -# -# This function checks that the supplied compiler flag is supported and then -# adds it to the corresponding compiler flags -# -# add_cxx_compiler_flag( []) -# -# - Example -# -# include(AddCXXCompilerFlag) -# add_cxx_compiler_flag(-Wall) -# add_cxx_compiler_flag(-no-strict-aliasing RELEASE) -# Requires CMake 2.6+ - -if(__add_cxx_compiler_flag) - return() -endif() -set(__add_cxx_compiler_flag INCLUDED) - -include(CheckCXXCompilerFlag) - -function(mangle_compiler_flag FLAG OUTPUT) - string(TOUPPER "HAVE_CXX_FLAG_${FLAG}" SANITIZED_FLAG) - string(REPLACE "+" "X" SANITIZED_FLAG ${SANITIZED_FLAG}) - string(REGEX REPLACE "[^A-Za-z_0-9]" "_" SANITIZED_FLAG ${SANITIZED_FLAG}) - string(REGEX REPLACE "_+" "_" SANITIZED_FLAG ${SANITIZED_FLAG}) - set(${OUTPUT} "${SANITIZED_FLAG}" PARENT_SCOPE) -endfunction(mangle_compiler_flag) - -function(add_cxx_compiler_flag FLAG) - mangle_compiler_flag("${FLAG}" MANGLED_FLAG) - set(OLD_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}") - set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${FLAG}") - check_cxx_compiler_flag("${FLAG}" ${MANGLED_FLAG}) - set(CMAKE_REQUIRED_FLAGS "${OLD_CMAKE_REQUIRED_FLAGS}") - if(${MANGLED_FLAG}) - set(VARIANT ${ARGV1}) - if(ARGV1) - string(TOUPPER "_${VARIANT}" VARIANT) - endif() - set(CMAKE_CXX_FLAGS${VARIANT} "${CMAKE_CXX_FLAGS${VARIANT}} ${BENCHMARK_CXX_FLAGS${VARIANT}} ${FLAG}" PARENT_SCOPE) - endif() -endfunction() - -function(add_required_cxx_compiler_flag FLAG) - mangle_compiler_flag("${FLAG}" MANGLED_FLAG) - set(OLD_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}") - set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${FLAG}") - check_cxx_compiler_flag("${FLAG}" ${MANGLED_FLAG}) - set(CMAKE_REQUIRED_FLAGS "${OLD_CMAKE_REQUIRED_FLAGS}") - if(${MANGLED_FLAG}) - set(VARIANT ${ARGV1}) - if(ARGV1) - string(TOUPPER "_${VARIANT}" VARIANT) - endif() - set(CMAKE_CXX_FLAGS${VARIANT} "${CMAKE_CXX_FLAGS${VARIANT}} ${FLAG}" PARENT_SCOPE) - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${FLAG}" PARENT_SCOPE) - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${FLAG}" PARENT_SCOPE) - set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${FLAG}" PARENT_SCOPE) - set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${FLAG}" PARENT_SCOPE) - else() - message(FATAL_ERROR "Required flag '${FLAG}' is not supported by the compiler") - endif() -endfunction() - -function(check_cxx_warning_flag FLAG) - mangle_compiler_flag("${FLAG}" MANGLED_FLAG) - set(OLD_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}") - # Add -Werror to ensure the compiler generates an error if the warning flag - # doesn't exist. - set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -Werror ${FLAG}") - check_cxx_compiler_flag("${FLAG}" ${MANGLED_FLAG}) - set(CMAKE_REQUIRED_FLAGS "${OLD_CMAKE_REQUIRED_FLAGS}") -endfunction() diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/CXXFeatureCheck.cmake b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/CXXFeatureCheck.cmake deleted file mode 100644 index 99b56dd623..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/CXXFeatureCheck.cmake +++ /dev/null @@ -1,64 +0,0 @@ -# - Compile and run code to check for C++ features -# -# This functions compiles a source file under the `cmake` folder -# and adds the corresponding `HAVE_[FILENAME]` flag to the CMake -# environment -# -# cxx_feature_check( []) -# -# - Example -# -# include(CXXFeatureCheck) -# cxx_feature_check(STD_REGEX) -# Requires CMake 2.8.12+ - -if(__cxx_feature_check) - return() -endif() -set(__cxx_feature_check INCLUDED) - -function(cxx_feature_check FILE) - string(TOLOWER ${FILE} FILE) - string(TOUPPER ${FILE} VAR) - string(TOUPPER "HAVE_${VAR}" FEATURE) - if (DEFINED HAVE_${VAR}) - set(HAVE_${VAR} 1 PARENT_SCOPE) - add_definitions(-DHAVE_${VAR}) - return() - endif() - - if (NOT DEFINED COMPILE_${FEATURE}) - message(STATUS "Performing Test ${FEATURE}") - if(CMAKE_CROSSCOMPILING) - try_compile(COMPILE_${FEATURE} - ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/${FILE}.cpp - CMAKE_FLAGS ${BENCHMARK_CXX_LINKER_FLAGS} - LINK_LIBRARIES ${BENCHMARK_CXX_LIBRARIES}) - if(COMPILE_${FEATURE}) - message(WARNING - "If you see build failures due to cross compilation, try setting HAVE_${VAR} to 0") - set(RUN_${FEATURE} 0) - else() - set(RUN_${FEATURE} 1) - endif() - else() - message(STATUS "Performing Test ${FEATURE}") - try_run(RUN_${FEATURE} COMPILE_${FEATURE} - ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/${FILE}.cpp - CMAKE_FLAGS ${BENCHMARK_CXX_LINKER_FLAGS} - LINK_LIBRARIES ${BENCHMARK_CXX_LIBRARIES}) - endif() - endif() - - if(RUN_${FEATURE} EQUAL 0) - message(STATUS "Performing Test ${FEATURE} -- success") - set(HAVE_${VAR} 1 PARENT_SCOPE) - add_definitions(-DHAVE_${VAR}) - else() - if(NOT COMPILE_${FEATURE}) - message(STATUS "Performing Test ${FEATURE} -- failed to compile") - else() - message(STATUS "Performing Test ${FEATURE} -- compiled but failed to run") - endif() - endif() -endfunction() diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/Config.cmake.in b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/Config.cmake.in deleted file mode 100644 index 6e9256eea8..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/Config.cmake.in +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake") diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/GetGitVersion.cmake b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/GetGitVersion.cmake deleted file mode 100644 index 4f10f226d7..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/GetGitVersion.cmake +++ /dev/null @@ -1,54 +0,0 @@ -# - Returns a version string from Git tags -# -# This function inspects the annotated git tags for the project and returns a string -# into a CMake variable -# -# get_git_version() -# -# - Example -# -# include(GetGitVersion) -# get_git_version(GIT_VERSION) -# -# Requires CMake 2.8.11+ -find_package(Git) - -if(__get_git_version) - return() -endif() -set(__get_git_version INCLUDED) - -function(get_git_version var) - if(GIT_EXECUTABLE) - execute_process(COMMAND ${GIT_EXECUTABLE} describe --match "v[0-9]*.[0-9]*.[0-9]*" --abbrev=8 - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} - RESULT_VARIABLE status - OUTPUT_VARIABLE GIT_VERSION - ERROR_QUIET) - if(${status}) - set(GIT_VERSION "v0.0.0") - else() - string(STRIP ${GIT_VERSION} GIT_VERSION) - string(REGEX REPLACE "-[0-9]+-g" "-" GIT_VERSION ${GIT_VERSION}) - endif() - - # Work out if the repository is dirty - execute_process(COMMAND ${GIT_EXECUTABLE} update-index -q --refresh - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} - OUTPUT_QUIET - ERROR_QUIET) - execute_process(COMMAND ${GIT_EXECUTABLE} diff-index --name-only HEAD -- - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} - OUTPUT_VARIABLE GIT_DIFF_INDEX - ERROR_QUIET) - string(COMPARE NOTEQUAL "${GIT_DIFF_INDEX}" "" GIT_DIRTY) - if (${GIT_DIRTY}) - set(GIT_VERSION "${GIT_VERSION}-dirty") - endif() - else() - set(GIT_VERSION "v0.0.0") - endif() - - message(STATUS "git Version: ${GIT_VERSION}") - set(${var} ${GIT_VERSION} PARENT_SCOPE) -endfunction() diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/HandleGTest.cmake b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/HandleGTest.cmake deleted file mode 100644 index b9c14436db..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/HandleGTest.cmake +++ /dev/null @@ -1,113 +0,0 @@ - -include(split_list) - -macro(build_external_gtest) - include(ExternalProject) - set(GTEST_FLAGS "") - if (BENCHMARK_USE_LIBCXX) - if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") - list(APPEND GTEST_FLAGS -stdlib=libc++) - else() - message(WARNING "Unsupported compiler (${CMAKE_CXX_COMPILER}) when using libc++") - endif() - endif() - if (BENCHMARK_BUILD_32_BITS) - list(APPEND GTEST_FLAGS -m32) - endif() - if (NOT "${CMAKE_CXX_FLAGS}" STREQUAL "") - list(APPEND GTEST_FLAGS ${CMAKE_CXX_FLAGS}) - endif() - string(TOUPPER "${CMAKE_BUILD_TYPE}" GTEST_BUILD_TYPE) - if ("${GTEST_BUILD_TYPE}" STREQUAL "COVERAGE") - set(GTEST_BUILD_TYPE "DEBUG") - endif() - # FIXME: Since 10/Feb/2017 the googletest trunk has had a bug where - # -Werror=unused-function fires during the build on OS X. This is a temporary - # workaround to keep our travis bots from failing. It should be removed - # once gtest is fixed. - if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") - list(APPEND GTEST_FLAGS "-Wno-unused-function") - endif() - split_list(GTEST_FLAGS) - set(EXCLUDE_FROM_ALL_OPT "") - set(EXCLUDE_FROM_ALL_VALUE "") - if (${CMAKE_VERSION} VERSION_GREATER "3.0.99") - set(EXCLUDE_FROM_ALL_OPT "EXCLUDE_FROM_ALL") - set(EXCLUDE_FROM_ALL_VALUE "ON") - endif() - ExternalProject_Add(googletest - ${EXCLUDE_FROM_ALL_OPT} ${EXCLUDE_FROM_ALL_VALUE} - GIT_REPOSITORY https://github.com/google/googletest.git - GIT_TAG master - PREFIX "${CMAKE_BINARY_DIR}/googletest" - INSTALL_DIR "${CMAKE_BINARY_DIR}/googletest" - CMAKE_CACHE_ARGS - -DCMAKE_BUILD_TYPE:STRING=${GTEST_BUILD_TYPE} - -DCMAKE_C_COMPILER:STRING=${CMAKE_C_COMPILER} - -DCMAKE_CXX_COMPILER:STRING=${CMAKE_CXX_COMPILER} - -DCMAKE_INSTALL_PREFIX:PATH= - -DCMAKE_INSTALL_LIBDIR:PATH=/lib - -DCMAKE_CXX_FLAGS:STRING=${GTEST_FLAGS} - -Dgtest_force_shared_crt:BOOL=ON - ) - - ExternalProject_Get_Property(googletest install_dir) - set(GTEST_INCLUDE_DIRS ${install_dir}/include) - file(MAKE_DIRECTORY ${GTEST_INCLUDE_DIRS}) - - set(LIB_SUFFIX "${CMAKE_STATIC_LIBRARY_SUFFIX}") - set(LIB_PREFIX "${CMAKE_STATIC_LIBRARY_PREFIX}") - if("${GTEST_BUILD_TYPE}" STREQUAL "DEBUG") - set(LIB_SUFFIX "d${CMAKE_STATIC_LIBRARY_SUFFIX}") - endif() - - # Use gmock_main instead of gtest_main because it initializes gtest as well. - # Note: The libraries are listed in reverse order of their dependancies. - foreach(LIB gtest gmock gmock_main) - add_library(${LIB} UNKNOWN IMPORTED) - set_target_properties(${LIB} PROPERTIES - IMPORTED_LOCATION ${install_dir}/lib/${LIB_PREFIX}${LIB}${LIB_SUFFIX} - INTERFACE_INCLUDE_DIRECTORIES ${GTEST_INCLUDE_DIRS} - INTERFACE_LINK_LIBRARIES "${GTEST_BOTH_LIBRARIES}" - ) - add_dependencies(${LIB} googletest) - list(APPEND GTEST_BOTH_LIBRARIES ${LIB}) - endforeach() -endmacro(build_external_gtest) - -if (BENCHMARK_ENABLE_GTEST_TESTS) - if (IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/googletest) - set(GTEST_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/googletest") - set(INSTALL_GTEST OFF CACHE INTERNAL "") - set(INSTALL_GMOCK OFF CACHE INTERNAL "") - add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/googletest) - set(GTEST_BOTH_LIBRARIES gtest gmock gmock_main) - foreach(HEADER test mock) - # CMake 2.8 and older don't respect INTERFACE_INCLUDE_DIRECTORIES, so we - # have to add the paths ourselves. - set(HFILE g${HEADER}/g${HEADER}.h) - set(HPATH ${GTEST_ROOT}/google${HEADER}/include) - find_path(HEADER_PATH_${HEADER} ${HFILE} - NO_DEFAULT_PATHS - HINTS ${HPATH} - ) - if (NOT HEADER_PATH_${HEADER}) - message(FATAL_ERROR "Failed to find header ${HFILE} in ${HPATH}") - endif() - list(APPEND GTEST_INCLUDE_DIRS ${HEADER_PATH_${HEADER}}) - endforeach() - elseif(BENCHMARK_DOWNLOAD_DEPENDENCIES) - build_external_gtest() - else() - find_package(GTest REQUIRED) - find_path(GMOCK_INCLUDE_DIRS gmock/gmock.h - HINTS ${GTEST_INCLUDE_DIRS}) - if (NOT GMOCK_INCLUDE_DIRS) - message(FATAL_ERROR "Failed to find header gmock/gmock.h with hint ${GTEST_INCLUDE_DIRS}") - endif() - set(GTEST_INCLUDE_DIRS ${GTEST_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS}) - # FIXME: We don't currently require the gmock library to build the tests, - # and it's likely we won't find it, so we don't try. As long as we've - # found the gmock/gmock.h header and gtest_main that should be good enough. - endif() -endif() diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/benchmark.pc.in b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/benchmark.pc.in deleted file mode 100644 index 1e84bff68d..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/benchmark.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=${prefix} -libdir=${prefix}/lib -includedir=${prefix}/include - -Name: @PROJECT_NAME@ -Description: Google microbenchmark framework -Version: @VERSION@ - -Libs: -L${libdir} -lbenchmark -Cflags: -I${includedir} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/gnu_posix_regex.cpp b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/gnu_posix_regex.cpp deleted file mode 100644 index b5b91cdab7..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/gnu_posix_regex.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include -int main() { - std::string str = "test0159"; - regex_t re; - int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); - if (ec != 0) { - return ec; - } - return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; -} - diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/llvm-toolchain.cmake b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/llvm-toolchain.cmake deleted file mode 100644 index fc119e52fd..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/llvm-toolchain.cmake +++ /dev/null @@ -1,8 +0,0 @@ -find_package(LLVMAr REQUIRED) -set(CMAKE_AR "${LLVMAR_EXECUTABLE}" CACHE FILEPATH "" FORCE) - -find_package(LLVMNm REQUIRED) -set(CMAKE_NM "${LLVMNM_EXECUTABLE}" CACHE FILEPATH "" FORCE) - -find_package(LLVMRanLib REQUIRED) -set(CMAKE_RANLIB "${LLVMRANLIB_EXECUTABLE}" CACHE FILEPATH "" FORCE) diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/posix_regex.cpp b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/posix_regex.cpp deleted file mode 100644 index 466dc62560..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/posix_regex.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -int main() { - std::string str = "test0159"; - regex_t re; - int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); - if (ec != 0) { - return ec; - } - int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; - regfree(&re); - return ret; -} - diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/split_list.cmake b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/split_list.cmake deleted file mode 100644 index 67aed3fdc8..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/split_list.cmake +++ /dev/null @@ -1,3 +0,0 @@ -macro(split_list listname) - string(REPLACE ";" " " ${listname} "${${listname}}") -endmacro() diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/std_regex.cpp b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/std_regex.cpp deleted file mode 100644 index 696f2a26bc..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/std_regex.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include -#include -int main() { - const std::string str = "test0159"; - std::regex re; - re = std::regex("^[a-z]+[0-9]+$", - std::regex_constants::extended | std::regex_constants::nosubs); - return std::regex_search(str, re) ? 0 : -1; -} - diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/steady_clock.cpp b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/steady_clock.cpp deleted file mode 100644 index 66d50d17e9..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/steady_clock.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() { - typedef std::chrono::steady_clock Clock; - Clock::time_point tp = Clock::now(); - ((void)tp); -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/thread_safety_attributes.cpp b/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/thread_safety_attributes.cpp deleted file mode 100644 index 46161babdb..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/cmake/thread_safety_attributes.cpp +++ /dev/null @@ -1,4 +0,0 @@ -#define HAVE_THREAD_SAFETY_ATTRIBUTES -#include "../src/mutex.h" - -int main() {} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/docs/AssemblyTests.md b/libcudacxx/.upstream-tests/utils/google-benchmark/docs/AssemblyTests.md deleted file mode 100644 index 1fbdc269b5..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/docs/AssemblyTests.md +++ /dev/null @@ -1,147 +0,0 @@ -# Assembly Tests - -The Benchmark library provides a number of functions whose primary -purpose in to affect assembly generation, including `DoNotOptimize` -and `ClobberMemory`. In addition there are other functions, -such as `KeepRunning`, for which generating good assembly is paramount. - -For these functions it's important to have tests that verify the -correctness and quality of the implementation. This requires testing -the code generated by the compiler. - -This document describes how the Benchmark library tests compiler output, -as well as how to properly write new tests. - - -## Anatomy of a Test - -Writing a test has two steps: - -* Write the code you want to generate assembly for. -* Add `// CHECK` lines to match against the verified assembly. - -Example: -```c++ - -// CHECK-LABEL: test_add: -extern "C" int test_add() { - extern int ExternInt; - return ExternInt + 1; - - // CHECK: movl ExternInt(%rip), %eax - // CHECK: addl %eax - // CHECK: ret -} - -``` - -#### LLVM Filecheck - -[LLVM's Filecheck](https://llvm.org/docs/CommandGuide/FileCheck.html) -is used to test the generated assembly against the `// CHECK` lines -specified in the tests source file. Please see the documentation -linked above for information on how to write `CHECK` directives. - -#### Tips and Tricks: - -* Tests should match the minimal amount of output required to establish -correctness. `CHECK` directives don't have to match on the exact next line -after the previous match, so tests should omit checks for unimportant -bits of assembly. ([`CHECK-NEXT`](https://llvm.org/docs/CommandGuide/FileCheck.html#the-check-next-directive) -can be used to ensure a match occurs exactly after the previous match). - -* The tests are compiled with `-O3 -g0`. So we're only testing the -optimized output. - -* The assembly output is further cleaned up using `tools/strip_asm.py`. -This removes comments, assembler directives, and unused labels before -the test is run. - -* The generated and stripped assembly file for a test is output under -`/test/.s` - -* Filecheck supports using [`CHECK` prefixes](https://llvm.org/docs/CommandGuide/FileCheck.html#cmdoption-check-prefixes) -to specify lines that should only match in certain situations. -The Benchmark tests use `CHECK-CLANG` and `CHECK-GNU` for lines that -are only expected to match Clang or GCC's output respectively. Normal -`CHECK` lines match against all compilers. (Note: `CHECK-NOT` and -`CHECK-LABEL` are NOT prefixes. They are versions of non-prefixed -`CHECK` lines) - -* Use `extern "C"` to disable name mangling for specific functions. This -makes them easier to name in the `CHECK` lines. - - -## Problems Writing Portable Tests - -Writing tests which check the code generated by a compiler are -inherently non-portable. Different compilers and even different compiler -versions may generate entirely different code. The Benchmark tests -must tolerate this. - -LLVM Filecheck provides a number of mechanisms to help write -"more portable" tests; including [matching using regular expressions](https://llvm.org/docs/CommandGuide/FileCheck.html#filecheck-pattern-matching-syntax), -allowing the creation of [named variables](https://llvm.org/docs/CommandGuide/FileCheck.html#filecheck-variables) -for later matching, and [checking non-sequential matches](https://llvm.org/docs/CommandGuide/FileCheck.html#the-check-dag-directive). - -#### Capturing Variables - -For example, say GCC stores a variable in a register but Clang stores -it in memory. To write a test that tolerates both cases we "capture" -the destination of the store, and then use the captured expression -to write the remainder of the test. - -```c++ -// CHECK-LABEL: test_div_no_op_into_shr: -extern "C" void test_div_no_op_into_shr(int value) { - int divisor = 2; - benchmark::DoNotOptimize(divisor); // hide the value from the optimizer - return value / divisor; - - // CHECK: movl $2, [[DEST:.*]] - // CHECK: idivl [[DEST]] - // CHECK: ret -} -``` - -#### Using Regular Expressions to Match Differing Output - -Often tests require testing assembly lines which may subtly differ -between compilers or compiler versions. A common example of this -is matching stack frame addresses. In this case regular expressions -can be used to match the differing bits of output. For example: - -```c++ -int ExternInt; -struct Point { int x, y, z; }; - -// CHECK-LABEL: test_store_point: -extern "C" void test_store_point() { - Point p{ExternInt, ExternInt, ExternInt}; - benchmark::DoNotOptimize(p); - - // CHECK: movl ExternInt(%rip), %eax - // CHECK: movl %eax, -{{[0-9]+}}(%rsp) - // CHECK: movl %eax, -{{[0-9]+}}(%rsp) - // CHECK: movl %eax, -{{[0-9]+}}(%rsp) - // CHECK: ret -} -``` - -## Current Requirements and Limitations - -The tests require Filecheck to be installed along the `PATH` of the -build machine. Otherwise the tests will be disabled. - -Additionally, as mentioned in the previous section, codegen tests are -inherently non-portable. Currently the tests are limited to: - -* x86_64 targets. -* Compiled with GCC or Clang - -Further work could be done, at least on a limited basis, to extend the -tests to other architectures and compilers (using `CHECK` prefixes). - -Furthermore, the tests fail for builds which specify additional flags -that modify code generation, including `--coverage` or `-fsanitize=`. - diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/docs/tools.md b/libcudacxx/.upstream-tests/utils/google-benchmark/docs/tools.md deleted file mode 100644 index 4a3b2e9bd2..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/docs/tools.md +++ /dev/null @@ -1,199 +0,0 @@ -# Benchmark Tools - -## compare.py - -The `compare.py` can be used to compare the result of benchmarks. - -**NOTE**: the utility relies on the scipy package which can be installed using [these instructions](https://www.scipy.org/install.html). - -### Displaying aggregates only - -The switch `-a` / `--display_aggregates_only` can be used to control the -displayment of the normal iterations vs the aggregates. When passed, it will -be passthrough to the benchmark binaries to be run, and will be accounted for -in the tool itself; only the aggregates will be displayed, but not normal runs. -It only affects the display, the separate runs will still be used to calculate -the U test. - -### Modes of operation - -There are three modes of operation: - -1. Just compare two benchmarks -The program is invoked like: - -``` bash -$ compare.py benchmarks [benchmark options]... -``` -Where `` and `` either specify a benchmark executable file, or a JSON output file. The type of the input file is automatically detected. If a benchmark executable is specified then the benchmark is run to obtain the results. Otherwise the results are simply loaded from the output file. - -`[benchmark options]` will be passed to the benchmarks invocations. They can be anything that binary accepts, be it either normal `--benchmark_*` parameters, or some custom parameters your binary takes. - -Example output: -``` -$ ./compare.py benchmarks ./a.out ./a.out -RUNNING: ./a.out --benchmark_out=/tmp/tmprBT5nW -Run on (8 X 4000 MHz CPU s) -2017-11-07 21:16:44 ------------------------------------------------------- -Benchmark Time CPU Iterations ------------------------------------------------------- -BM_memcpy/8 36 ns 36 ns 19101577 211.669MB/s -BM_memcpy/64 76 ns 76 ns 9412571 800.199MB/s -BM_memcpy/512 84 ns 84 ns 8249070 5.64771GB/s -BM_memcpy/1024 116 ns 116 ns 6181763 8.19505GB/s -BM_memcpy/8192 643 ns 643 ns 1062855 11.8636GB/s -BM_copy/8 222 ns 222 ns 3137987 34.3772MB/s -BM_copy/64 1608 ns 1608 ns 432758 37.9501MB/s -BM_copy/512 12589 ns 12589 ns 54806 38.7867MB/s -BM_copy/1024 25169 ns 25169 ns 27713 38.8003MB/s -BM_copy/8192 201165 ns 201112 ns 3486 38.8466MB/s -RUNNING: ./a.out --benchmark_out=/tmp/tmpt1wwG_ -Run on (8 X 4000 MHz CPU s) -2017-11-07 21:16:53 ------------------------------------------------------- -Benchmark Time CPU Iterations ------------------------------------------------------- -BM_memcpy/8 36 ns 36 ns 19397903 211.255MB/s -BM_memcpy/64 73 ns 73 ns 9691174 839.635MB/s -BM_memcpy/512 85 ns 85 ns 8312329 5.60101GB/s -BM_memcpy/1024 118 ns 118 ns 6438774 8.11608GB/s -BM_memcpy/8192 656 ns 656 ns 1068644 11.6277GB/s -BM_copy/8 223 ns 223 ns 3146977 34.2338MB/s -BM_copy/64 1611 ns 1611 ns 435340 37.8751MB/s -BM_copy/512 12622 ns 12622 ns 54818 38.6844MB/s -BM_copy/1024 25257 ns 25239 ns 27779 38.6927MB/s -BM_copy/8192 205013 ns 205010 ns 3479 38.108MB/s -Comparing ./a.out to ./a.out -Benchmark Time CPU Time Old Time New CPU Old CPU New ------------------------------------------------------------------------------------------------------- -BM_memcpy/8 +0.0020 +0.0020 36 36 36 36 -BM_memcpy/64 -0.0468 -0.0470 76 73 76 73 -BM_memcpy/512 +0.0081 +0.0083 84 85 84 85 -BM_memcpy/1024 +0.0098 +0.0097 116 118 116 118 -BM_memcpy/8192 +0.0200 +0.0203 643 656 643 656 -BM_copy/8 +0.0046 +0.0042 222 223 222 223 -BM_copy/64 +0.0020 +0.0020 1608 1611 1608 1611 -BM_copy/512 +0.0027 +0.0026 12589 12622 12589 12622 -BM_copy/1024 +0.0035 +0.0028 25169 25257 25169 25239 -BM_copy/8192 +0.0191 +0.0194 201165 205013 201112 205010 -``` - -What it does is for the every benchmark from the first run it looks for the benchmark with exactly the same name in the second run, and then compares the results. If the names differ, the benchmark is omitted from the diff. -As you can note, the values in `Time` and `CPU` columns are calculated as `(new - old) / |old|`. - -2. Compare two different filters of one benchmark -The program is invoked like: - -``` bash -$ compare.py filters [benchmark options]... -``` -Where `` either specify a benchmark executable file, or a JSON output file. The type of the input file is automatically detected. If a benchmark executable is specified then the benchmark is run to obtain the results. Otherwise the results are simply loaded from the output file. - -Where `` and `` are the same regex filters that you would pass to the `[--benchmark_filter=]` parameter of the benchmark binary. - -`[benchmark options]` will be passed to the benchmarks invocations. They can be anything that binary accepts, be it either normal `--benchmark_*` parameters, or some custom parameters your binary takes. - -Example output: -``` -$ ./compare.py filters ./a.out BM_memcpy BM_copy -RUNNING: ./a.out --benchmark_filter=BM_memcpy --benchmark_out=/tmp/tmpBWKk0k -Run on (8 X 4000 MHz CPU s) -2017-11-07 21:37:28 ------------------------------------------------------- -Benchmark Time CPU Iterations ------------------------------------------------------- -BM_memcpy/8 36 ns 36 ns 17891491 211.215MB/s -BM_memcpy/64 74 ns 74 ns 9400999 825.646MB/s -BM_memcpy/512 87 ns 87 ns 8027453 5.46126GB/s -BM_memcpy/1024 111 ns 111 ns 6116853 8.5648GB/s -BM_memcpy/8192 657 ns 656 ns 1064679 11.6247GB/s -RUNNING: ./a.out --benchmark_filter=BM_copy --benchmark_out=/tmp/tmpAvWcOM -Run on (8 X 4000 MHz CPU s) -2017-11-07 21:37:33 ----------------------------------------------------- -Benchmark Time CPU Iterations ----------------------------------------------------- -BM_copy/8 227 ns 227 ns 3038700 33.6264MB/s -BM_copy/64 1640 ns 1640 ns 426893 37.2154MB/s -BM_copy/512 12804 ns 12801 ns 55417 38.1444MB/s -BM_copy/1024 25409 ns 25407 ns 27516 38.4365MB/s -BM_copy/8192 202986 ns 202990 ns 3454 38.4871MB/s -Comparing BM_memcpy to BM_copy (from ./a.out) -Benchmark Time CPU Time Old Time New CPU Old CPU New --------------------------------------------------------------------------------------------------------------------- -[BM_memcpy vs. BM_copy]/8 +5.2829 +5.2812 36 227 36 227 -[BM_memcpy vs. BM_copy]/64 +21.1719 +21.1856 74 1640 74 1640 -[BM_memcpy vs. BM_copy]/512 +145.6487 +145.6097 87 12804 87 12801 -[BM_memcpy vs. BM_copy]/1024 +227.1860 +227.1776 111 25409 111 25407 -[BM_memcpy vs. BM_copy]/8192 +308.1664 +308.2898 657 202986 656 202990 -``` - -As you can see, it applies filter to the benchmarks, both when running the benchmark, and before doing the diff. And to make the diff work, the matches are replaced with some common string. Thus, you can compare two different benchmark families within one benchmark binary. -As you can note, the values in `Time` and `CPU` columns are calculated as `(new - old) / |old|`. - -3. Compare filter one from benchmark one to filter two from benchmark two: -The program is invoked like: - -``` bash -$ compare.py filters [benchmark options]... -``` - -Where `` and `` either specify a benchmark executable file, or a JSON output file. The type of the input file is automatically detected. If a benchmark executable is specified then the benchmark is run to obtain the results. Otherwise the results are simply loaded from the output file. - -Where `` and `` are the same regex filters that you would pass to the `[--benchmark_filter=]` parameter of the benchmark binary. - -`[benchmark options]` will be passed to the benchmarks invocations. They can be anything that binary accepts, be it either normal `--benchmark_*` parameters, or some custom parameters your binary takes. - -Example output: -``` -$ ./compare.py benchmarksfiltered ./a.out BM_memcpy ./a.out BM_copy -RUNNING: ./a.out --benchmark_filter=BM_memcpy --benchmark_out=/tmp/tmp_FvbYg -Run on (8 X 4000 MHz CPU s) -2017-11-07 21:38:27 ------------------------------------------------------- -Benchmark Time CPU Iterations ------------------------------------------------------- -BM_memcpy/8 37 ns 37 ns 18953482 204.118MB/s -BM_memcpy/64 74 ns 74 ns 9206578 828.245MB/s -BM_memcpy/512 91 ns 91 ns 8086195 5.25476GB/s -BM_memcpy/1024 120 ns 120 ns 5804513 7.95662GB/s -BM_memcpy/8192 664 ns 664 ns 1028363 11.4948GB/s -RUNNING: ./a.out --benchmark_filter=BM_copy --benchmark_out=/tmp/tmpDfL5iE -Run on (8 X 4000 MHz CPU s) -2017-11-07 21:38:32 ----------------------------------------------------- -Benchmark Time CPU Iterations ----------------------------------------------------- -BM_copy/8 230 ns 230 ns 2985909 33.1161MB/s -BM_copy/64 1654 ns 1653 ns 419408 36.9137MB/s -BM_copy/512 13122 ns 13120 ns 53403 37.2156MB/s -BM_copy/1024 26679 ns 26666 ns 26575 36.6218MB/s -BM_copy/8192 215068 ns 215053 ns 3221 36.3283MB/s -Comparing BM_memcpy (from ./a.out) to BM_copy (from ./a.out) -Benchmark Time CPU Time Old Time New CPU Old CPU New --------------------------------------------------------------------------------------------------------------------- -[BM_memcpy vs. BM_copy]/8 +5.1649 +5.1637 37 230 37 230 -[BM_memcpy vs. BM_copy]/64 +21.4352 +21.4374 74 1654 74 1653 -[BM_memcpy vs. BM_copy]/512 +143.6022 +143.5865 91 13122 91 13120 -[BM_memcpy vs. BM_copy]/1024 +221.5903 +221.4790 120 26679 120 26666 -[BM_memcpy vs. BM_copy]/8192 +322.9059 +323.0096 664 215068 664 215053 -``` -This is a mix of the previous two modes, two (potentially different) benchmark binaries are run, and a different filter is applied to each one. -As you can note, the values in `Time` and `CPU` columns are calculated as `(new - old) / |old|`. - -### U test - -If there is a sufficient repetition count of the benchmarks, the tool can do -a [U Test](https://en.wikipedia.org/wiki/Mann%E2%80%93Whitney_U_test), of the -null hypothesis that it is equally likely that a randomly selected value from -one sample will be less than or greater than a randomly selected value from a -second sample. - -If the calculated p-value is below this value is lower than the significance -level alpha, then the result is said to be statistically significant and the -null hypothesis is rejected. Which in other words means that the two benchmarks -aren't identical. - -**WARNING**: requires **LARGE** (no less than 9) number of repetitions to be -meaningful! diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/include/benchmark/benchmark.h b/libcudacxx/.upstream-tests/utils/google-benchmark/include/benchmark/benchmark.h deleted file mode 100644 index a0fd7c6e1c..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/include/benchmark/benchmark.h +++ /dev/null @@ -1,1551 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Support for registering benchmarks for functions. - -/* Example usage: -// Define a function that executes the code to be measured a -// specified number of times: -static void BM_StringCreation(benchmark::State& state) { - for (auto _ : state) - std::string empty_string; -} - -// Register the function as a benchmark -BENCHMARK(BM_StringCreation); - -// Define another benchmark -static void BM_StringCopy(benchmark::State& state) { - std::string x = "hello"; - for (auto _ : state) - std::string copy(x); -} -BENCHMARK(BM_StringCopy); - -// Augment the main() program to invoke benchmarks if specified -// via the --benchmarks command line flag. E.g., -// my_unittest --benchmark_filter=all -// my_unittest --benchmark_filter=BM_StringCreation -// my_unittest --benchmark_filter=String -// my_unittest --benchmark_filter='Copy|Creation' -int main(int argc, char** argv) { - benchmark::Initialize(&argc, argv); - benchmark::RunSpecifiedBenchmarks(); - return 0; -} - -// Sometimes a family of microbenchmarks can be implemented with -// just one routine that takes an extra argument to specify which -// one of the family of benchmarks to run. For example, the following -// code defines a family of microbenchmarks for measuring the speed -// of memcpy() calls of different lengths: - -static void BM_memcpy(benchmark::State& state) { - char* src = new char[state.range(0)]; char* dst = new char[state.range(0)]; - memset(src, 'x', state.range(0)); - for (auto _ : state) - memcpy(dst, src, state.range(0)); - state.SetBytesProcessed(int64_t(state.iterations()) * - int64_t(state.range(0))); - delete[] src; delete[] dst; -} -BENCHMARK(BM_memcpy)->Arg(8)->Arg(64)->Arg(512)->Arg(1<<10)->Arg(8<<10); - -// The preceding code is quite repetitive, and can be replaced with the -// following short-hand. The following invocation will pick a few -// appropriate arguments in the specified range and will generate a -// microbenchmark for each such argument. -BENCHMARK(BM_memcpy)->Range(8, 8<<10); - -// You might have a microbenchmark that depends on two inputs. For -// example, the following code defines a family of microbenchmarks for -// measuring the speed of set insertion. -static void BM_SetInsert(benchmark::State& state) { - set data; - for (auto _ : state) { - state.PauseTiming(); - data = ConstructRandomSet(state.range(0)); - state.ResumeTiming(); - for (int j = 0; j < state.range(1); ++j) - data.insert(RandomNumber()); - } -} -BENCHMARK(BM_SetInsert) - ->Args({1<<10, 128}) - ->Args({2<<10, 128}) - ->Args({4<<10, 128}) - ->Args({8<<10, 128}) - ->Args({1<<10, 512}) - ->Args({2<<10, 512}) - ->Args({4<<10, 512}) - ->Args({8<<10, 512}); - -// The preceding code is quite repetitive, and can be replaced with -// the following short-hand. The following macro will pick a few -// appropriate arguments in the product of the two specified ranges -// and will generate a microbenchmark for each such pair. -BENCHMARK(BM_SetInsert)->Ranges({{1<<10, 8<<10}, {128, 512}}); - -// For more complex patterns of inputs, passing a custom function -// to Apply allows programmatic specification of an -// arbitrary set of arguments to run the microbenchmark on. -// The following example enumerates a dense range on -// one parameter, and a sparse range on the second. -static void CustomArguments(benchmark::internal::Benchmark* b) { - for (int i = 0; i <= 10; ++i) - for (int j = 32; j <= 1024*1024; j *= 8) - b->Args({i, j}); -} -BENCHMARK(BM_SetInsert)->Apply(CustomArguments); - -// Templated microbenchmarks work the same way: -// Produce then consume 'size' messages 'iters' times -// Measures throughput in the absence of multiprogramming. -template int BM_Sequential(benchmark::State& state) { - Q q; - typename Q::value_type v; - for (auto _ : state) { - for (int i = state.range(0); i--; ) - q.push(v); - for (int e = state.range(0); e--; ) - q.Wait(&v); - } - // actually messages, not bytes: - state.SetBytesProcessed( - static_cast(state.iterations())*state.range(0)); -} -BENCHMARK_TEMPLATE(BM_Sequential, WaitQueue)->Range(1<<0, 1<<10); - -Use `Benchmark::MinTime(double t)` to set the minimum time used to run the -benchmark. This option overrides the `benchmark_min_time` flag. - -void BM_test(benchmark::State& state) { - ... body ... -} -BENCHMARK(BM_test)->MinTime(2.0); // Run for at least 2 seconds. - -In a multithreaded test, it is guaranteed that none of the threads will start -until all have reached the loop start, and all will have finished before any -thread exits the loop body. As such, any global setup or teardown you want to -do can be wrapped in a check against the thread index: - -static void BM_MultiThreaded(benchmark::State& state) { - if (state.thread_index == 0) { - // Setup code here. - } - for (auto _ : state) { - // Run the test as normal. - } - if (state.thread_index == 0) { - // Teardown code here. - } -} -BENCHMARK(BM_MultiThreaded)->Threads(4); - - -If a benchmark runs a few milliseconds it may be hard to visually compare the -measured times, since the output data is given in nanoseconds per default. In -order to manually set the time unit, you can specify it manually: - -BENCHMARK(BM_test)->Unit(benchmark::kMillisecond); -*/ - -#ifndef BENCHMARK_BENCHMARK_H_ -#define BENCHMARK_BENCHMARK_H_ - -// The _MSVC_LANG check should detect Visual Studio 2015 Update 3 and newer. -#if __cplusplus >= 201103L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201103L) -#define BENCHMARK_HAS_CXX11 -#endif - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(BENCHMARK_HAS_CXX11) -#include -#include -#include -#endif - -#if defined(_MSC_VER) -#include // for _ReadWriteBarrier -#endif - -#ifndef BENCHMARK_HAS_CXX11 -#define BENCHMARK_DISALLOW_COPY_AND_ASSIGN(TypeName) \ - TypeName(const TypeName&); \ - TypeName& operator=(const TypeName&) -#else -#define BENCHMARK_DISALLOW_COPY_AND_ASSIGN(TypeName) \ - TypeName(const TypeName&) = delete; \ - TypeName& operator=(const TypeName&) = delete -#endif - -#if defined(__GNUC__) -#define BENCHMARK_UNUSED __attribute__((unused)) -#define BENCHMARK_ALWAYS_INLINE __attribute__((always_inline)) -#define BENCHMARK_NOEXCEPT noexcept -#define BENCHMARK_NOEXCEPT_OP(x) noexcept(x) -#elif defined(_MSC_VER) && !defined(__clang__) -#define BENCHMARK_UNUSED -#define BENCHMARK_ALWAYS_INLINE __forceinline -#if _MSC_VER >= 1900 -#define BENCHMARK_NOEXCEPT noexcept -#define BENCHMARK_NOEXCEPT_OP(x) noexcept(x) -#else -#define BENCHMARK_NOEXCEPT -#define BENCHMARK_NOEXCEPT_OP(x) -#endif -#define __func__ __FUNCTION__ -#else -#define BENCHMARK_UNUSED -#define BENCHMARK_ALWAYS_INLINE -#define BENCHMARK_NOEXCEPT -#define BENCHMARK_NOEXCEPT_OP(x) -#endif - -#define BENCHMARK_INTERNAL_TOSTRING2(x) #x -#define BENCHMARK_INTERNAL_TOSTRING(x) BENCHMARK_INTERNAL_TOSTRING2(x) - -#if defined(__GNUC__) || defined(__clang__) -#define BENCHMARK_BUILTIN_EXPECT(x, y) __builtin_expect(x, y) -#define BENCHMARK_DEPRECATED_MSG(msg) __attribute__((deprecated(msg))) -#else -#define BENCHMARK_BUILTIN_EXPECT(x, y) x -#define BENCHMARK_DEPRECATED_MSG(msg) -#define BENCHMARK_WARNING_MSG(msg) \ - __pragma(message(__FILE__ "(" BENCHMARK_INTERNAL_TOSTRING( \ - __LINE__) ") : warning note: " msg)) -#endif - -#if defined(__GNUC__) && !defined(__clang__) -#define BENCHMARK_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) -#endif - -#ifndef __has_builtin -#define __has_builtin(x) 0 -#endif - -#if defined(__GNUC__) || __has_builtin(__builtin_unreachable) - #define BENCHMARK_UNREACHABLE() __builtin_unreachable() -#elif defined(_MSC_VER) - #define BENCHMARK_UNREACHABLE() __assume(false) -#else - #define BENCHMARK_UNREACHABLE() ((void)0) -#endif - -namespace benchmark { -class BenchmarkReporter; -class MemoryManager; - -void Initialize(int* argc, char** argv); - -// Report to stdout all arguments in 'argv' as unrecognized except the first. -// Returns true there is at least on unrecognized argument (i.e. 'argc' > 1). -bool ReportUnrecognizedArguments(int argc, char** argv); - -// Generate a list of benchmarks matching the specified --benchmark_filter flag -// and if --benchmark_list_tests is specified return after printing the name -// of each matching benchmark. Otherwise run each matching benchmark and -// report the results. -// -// The second and third overload use the specified 'display_reporter' and -// 'file_reporter' respectively. 'file_reporter' will write to the file -// specified -// by '--benchmark_output'. If '--benchmark_output' is not given the -// 'file_reporter' is ignored. -// -// RETURNS: The number of matching benchmarks. -size_t RunSpecifiedBenchmarks(); -size_t RunSpecifiedBenchmarks(BenchmarkReporter* display_reporter); -size_t RunSpecifiedBenchmarks(BenchmarkReporter* display_reporter, - BenchmarkReporter* file_reporter); - -// Register a MemoryManager instance that will be used to collect and report -// allocation measurements for benchmark runs. -void RegisterMemoryManager(MemoryManager* memory_manager); - -namespace internal { -class Benchmark; -class BenchmarkImp; -class BenchmarkFamilies; - -void UseCharPointer(char const volatile*); - -// Take ownership of the pointer and register the benchmark. Return the -// registered benchmark. -Benchmark* RegisterBenchmarkInternal(Benchmark*); - -// Ensure that the standard streams are properly initialized in every TU. -int InitializeStreams(); -BENCHMARK_UNUSED static int stream_init_anchor = InitializeStreams(); - -} // namespace internal - -#if (!defined(__GNUC__) && !defined(__clang__)) || defined(__pnacl__) || \ - defined(__EMSCRIPTEN__) -#define BENCHMARK_HAS_NO_INLINE_ASSEMBLY -#endif - -// The DoNotOptimize(...) function can be used to prevent a value or -// expression from being optimized away by the compiler. This function is -// intended to add little to no overhead. -// See: https://youtu.be/nXaxk27zwlk?t=2441 -#ifndef BENCHMARK_HAS_NO_INLINE_ASSEMBLY -template -inline BENCHMARK_ALWAYS_INLINE void DoNotOptimize(Tp const& value) { - asm volatile("" : : "r,m"(value) : "memory"); -} - -template -inline BENCHMARK_ALWAYS_INLINE void DoNotOptimize(Tp& value) { -#if defined(__clang__) - asm volatile("" : "+r,m"(value) : : "memory"); -#else - asm volatile("" : "+m,r"(value) : : "memory"); -#endif -} - -// Force the compiler to flush pending writes to global memory. Acts as an -// effective read/write barrier -inline BENCHMARK_ALWAYS_INLINE void ClobberMemory() { - asm volatile("" : : : "memory"); -} -#elif defined(_MSC_VER) -template -inline BENCHMARK_ALWAYS_INLINE void DoNotOptimize(Tp const& value) { - internal::UseCharPointer(&reinterpret_cast(value)); - _ReadWriteBarrier(); -} - -inline BENCHMARK_ALWAYS_INLINE void ClobberMemory() { _ReadWriteBarrier(); } -#else -template -inline BENCHMARK_ALWAYS_INLINE void DoNotOptimize(Tp const& value) { - internal::UseCharPointer(&reinterpret_cast(value)); -} -// FIXME Add ClobberMemory() for non-gnu and non-msvc compilers -#endif - -// This class is used for user-defined counters. -class Counter { - public: - enum Flags { - kDefaults = 0, - // Mark the counter as a rate. It will be presented divided - // by the duration of the benchmark. - kIsRate = 1U << 0U, - // Mark the counter as a thread-average quantity. It will be - // presented divided by the number of threads. - kAvgThreads = 1U << 1U, - // Mark the counter as a thread-average rate. See above. - kAvgThreadsRate = kIsRate | kAvgThreads, - // Mark the counter as a constant value, valid/same for *every* iteration. - // When reporting, it will be *multiplied* by the iteration count. - kIsIterationInvariant = 1U << 2U, - // Mark the counter as a constant rate. - // When reporting, it will be *multiplied* by the iteration count - // and then divided by the duration of the benchmark. - kIsIterationInvariantRate = kIsRate | kIsIterationInvariant, - // Mark the counter as a iteration-average quantity. - // It will be presented divided by the number of iterations. - kAvgIterations = 1U << 3U, - // Mark the counter as a iteration-average rate. See above. - kAvgIterationsRate = kIsRate | kAvgIterations - }; - - enum OneK { - // 1'000 items per 1k - kIs1000 = 1000, - // 1'024 items per 1k - kIs1024 = 1024 - }; - - double value; - Flags flags; - OneK oneK; - - BENCHMARK_ALWAYS_INLINE - Counter(double v = 0., Flags f = kDefaults, OneK k = kIs1000) - : value(v), flags(f), oneK(k) {} - - BENCHMARK_ALWAYS_INLINE operator double const&() const { return value; } - BENCHMARK_ALWAYS_INLINE operator double&() { return value; } -}; - -// A helper for user code to create unforeseen combinations of Flags, without -// having to do this cast manually each time, or providing this operator. -Counter::Flags inline operator|(const Counter::Flags& LHS, - const Counter::Flags& RHS) { - return static_cast(static_cast(LHS) | - static_cast(RHS)); -} - -// This is the container for the user-defined counters. -typedef std::map UserCounters; - -// TimeUnit is passed to a benchmark in order to specify the order of magnitude -// for the measured time. -enum TimeUnit { kNanosecond, kMicrosecond, kMillisecond }; - -// BigO is passed to a benchmark in order to specify the asymptotic -// computational -// complexity for the benchmark. In case oAuto is selected, complexity will be -// calculated automatically to the best fit. -enum BigO { oNone, o1, oN, oNSquared, oNCubed, oLogN, oNLogN, oAuto, oLambda }; - -// BigOFunc is passed to a benchmark in order to specify the asymptotic -// computational complexity for the benchmark. -typedef double(BigOFunc)(int64_t); - -// StatisticsFunc is passed to a benchmark in order to compute some descriptive -// statistics over all the measurements of some type -typedef double(StatisticsFunc)(const std::vector&); - -struct Statistics { - std::string name_; - StatisticsFunc* compute_; - - Statistics(const std::string& name, StatisticsFunc* compute) - : name_(name), compute_(compute) {} -}; - -namespace internal { -struct BenchmarkInstance; -class ThreadTimer; -class ThreadManager; - -enum AggregationReportMode -#if defined(BENCHMARK_HAS_CXX11) - : unsigned -#else -#endif -{ - // The mode has not been manually specified - ARM_Unspecified = 0, - // The mode is user-specified. - // This may or may not be set when the following bit-flags are set. - ARM_Default = 1U << 0U, - // File reporter should only output aggregates. - ARM_FileReportAggregatesOnly = 1U << 1U, - // Display reporter should only output aggregates - ARM_DisplayReportAggregatesOnly = 1U << 2U, - // Both reporters should only display aggregates. - ARM_ReportAggregatesOnly = - ARM_FileReportAggregatesOnly | ARM_DisplayReportAggregatesOnly -}; - -} // namespace internal - -// State is passed to a running Benchmark and contains state for the -// benchmark to use. -class State { - public: - struct StateIterator; - friend struct StateIterator; - - // Returns iterators used to run each iteration of a benchmark using a - // C++11 ranged-based for loop. These functions should not be called directly. - // - // REQUIRES: The benchmark has not started running yet. Neither begin nor end - // have been called previously. - // - // NOTE: KeepRunning may not be used after calling either of these functions. - BENCHMARK_ALWAYS_INLINE StateIterator begin(); - BENCHMARK_ALWAYS_INLINE StateIterator end(); - - // Returns true if the benchmark should continue through another iteration. - // NOTE: A benchmark may not return from the test until KeepRunning() has - // returned false. - bool KeepRunning(); - - // Returns true iff the benchmark should run n more iterations. - // REQUIRES: 'n' > 0. - // NOTE: A benchmark must not return from the test until KeepRunningBatch() - // has returned false. - // NOTE: KeepRunningBatch() may overshoot by up to 'n' iterations. - // - // Intended usage: - // while (state.KeepRunningBatch(1000)) { - // // process 1000 elements - // } - bool KeepRunningBatch(size_t n); - - // REQUIRES: timer is running and 'SkipWithError(...)' has not been called - // by the current thread. - // Stop the benchmark timer. If not called, the timer will be - // automatically stopped after the last iteration of the benchmark loop. - // - // For threaded benchmarks the PauseTiming() function only pauses the timing - // for the current thread. - // - // NOTE: The "real time" measurement is per-thread. If different threads - // report different measurements the largest one is reported. - // - // NOTE: PauseTiming()/ResumeTiming() are relatively - // heavyweight, and so their use should generally be avoided - // within each benchmark iteration, if possible. - void PauseTiming(); - - // REQUIRES: timer is not running and 'SkipWithError(...)' has not been called - // by the current thread. - // Start the benchmark timer. The timer is NOT running on entrance to the - // benchmark function. It begins running after control flow enters the - // benchmark loop. - // - // NOTE: PauseTiming()/ResumeTiming() are relatively - // heavyweight, and so their use should generally be avoided - // within each benchmark iteration, if possible. - void ResumeTiming(); - - // REQUIRES: 'SkipWithError(...)' has not been called previously by the - // current thread. - // Report the benchmark as resulting in an error with the specified 'msg'. - // After this call the user may explicitly 'return' from the benchmark. - // - // If the ranged-for style of benchmark loop is used, the user must explicitly - // break from the loop, otherwise all future iterations will be run. - // If the 'KeepRunning()' loop is used the current thread will automatically - // exit the loop at the end of the current iteration. - // - // For threaded benchmarks only the current thread stops executing and future - // calls to `KeepRunning()` will block until all threads have completed - // the `KeepRunning()` loop. If multiple threads report an error only the - // first error message is used. - // - // NOTE: Calling 'SkipWithError(...)' does not cause the benchmark to exit - // the current scope immediately. If the function is called from within - // the 'KeepRunning()' loop the current iteration will finish. It is the users - // responsibility to exit the scope as needed. - void SkipWithError(const char* msg); - - // REQUIRES: called exactly once per iteration of the benchmarking loop. - // Set the manually measured time for this benchmark iteration, which - // is used instead of automatically measured time if UseManualTime() was - // specified. - // - // For threaded benchmarks the final value will be set to the largest - // reported values. - void SetIterationTime(double seconds); - - // Set the number of bytes processed by the current benchmark - // execution. This routine is typically called once at the end of a - // throughput oriented benchmark. - // - // REQUIRES: a benchmark has exited its benchmarking loop. - BENCHMARK_ALWAYS_INLINE - void SetBytesProcessed(int64_t bytes) { - counters["bytes_per_second"] = - Counter(static_cast(bytes), Counter::kIsRate, Counter::kIs1024); - } - - BENCHMARK_ALWAYS_INLINE - int64_t bytes_processed() const { - if (counters.find("bytes_per_second") != counters.end()) - return static_cast(counters.at("bytes_per_second")); - return 0; - } - - // If this routine is called with complexity_n > 0 and complexity report is - // requested for the - // family benchmark, then current benchmark will be part of the computation - // and complexity_n will - // represent the length of N. - BENCHMARK_ALWAYS_INLINE - void SetComplexityN(int64_t complexity_n) { complexity_n_ = complexity_n; } - - BENCHMARK_ALWAYS_INLINE - int64_t complexity_length_n() { return complexity_n_; } - - // If this routine is called with items > 0, then an items/s - // label is printed on the benchmark report line for the currently - // executing benchmark. It is typically called at the end of a processing - // benchmark where a processing items/second output is desired. - // - // REQUIRES: a benchmark has exited its benchmarking loop. - BENCHMARK_ALWAYS_INLINE - void SetItemsProcessed(int64_t items) { - counters["items_per_second"] = - Counter(static_cast(items), benchmark::Counter::kIsRate); - } - - BENCHMARK_ALWAYS_INLINE - int64_t items_processed() const { - if (counters.find("items_per_second") != counters.end()) - return static_cast(counters.at("items_per_second")); - return 0; - } - - // If this routine is called, the specified label is printed at the - // end of the benchmark report line for the currently executing - // benchmark. Example: - // static void BM_Compress(benchmark::State& state) { - // ... - // double compress = input_size / output_size; - // state.SetLabel(StrFormat("compress:%.1f%%", 100.0*compression)); - // } - // Produces output that looks like: - // BM_Compress 50 50 14115038 compress:27.3% - // - // REQUIRES: a benchmark has exited its benchmarking loop. - void SetLabel(const char* label); - - void BENCHMARK_ALWAYS_INLINE SetLabel(const std::string& str) { - this->SetLabel(str.c_str()); - } - - // Range arguments for this run. CHECKs if the argument has been set. - BENCHMARK_ALWAYS_INLINE - int64_t range(std::size_t pos = 0) const { - assert(range_.size() > pos); - return range_[pos]; - } - - BENCHMARK_DEPRECATED_MSG("use 'range(0)' instead") - int64_t range_x() const { return range(0); } - - BENCHMARK_DEPRECATED_MSG("use 'range(1)' instead") - int64_t range_y() const { return range(1); } - - BENCHMARK_ALWAYS_INLINE - size_t iterations() const { - if (BENCHMARK_BUILTIN_EXPECT(!started_, false)) { - return 0; - } - return max_iterations - total_iterations_ + batch_leftover_; - } - - private - : // items we expect on the first cache line (ie 64 bytes of the struct) - // When total_iterations_ is 0, KeepRunning() and friends will return false. - // May be larger than max_iterations. - size_t total_iterations_; - - // When using KeepRunningBatch(), batch_leftover_ holds the number of - // iterations beyond max_iters that were run. Used to track - // completed_iterations_ accurately. - size_t batch_leftover_; - - public: - const size_t max_iterations; - - private: - bool started_; - bool finished_; - bool error_occurred_; - - private: // items we don't need on the first cache line - std::vector range_; - - int64_t complexity_n_; - - public: - // Container for user-defined counters. - UserCounters counters; - // Index of the executing thread. Values from [0, threads). - const int thread_index; - // Number of threads concurrently executing the benchmark. - const int threads; - - private: - State(size_t max_iters, const std::vector& ranges, int thread_i, - int n_threads, internal::ThreadTimer* timer, - internal::ThreadManager* manager); - - void StartKeepRunning(); - // Implementation of KeepRunning() and KeepRunningBatch(). - // is_batch must be true unless n is 1. - bool KeepRunningInternal(size_t n, bool is_batch); - void FinishKeepRunning(); - internal::ThreadTimer* timer_; - internal::ThreadManager* manager_; - - friend struct internal::BenchmarkInstance; -}; - -inline BENCHMARK_ALWAYS_INLINE bool State::KeepRunning() { - return KeepRunningInternal(1, /*is_batch=*/false); -} - -inline BENCHMARK_ALWAYS_INLINE bool State::KeepRunningBatch(size_t n) { - return KeepRunningInternal(n, /*is_batch=*/true); -} - -inline BENCHMARK_ALWAYS_INLINE bool State::KeepRunningInternal(size_t n, - bool is_batch) { - // total_iterations_ is set to 0 by the constructor, and always set to a - // nonzero value by StartKepRunning(). - assert(n > 0); - // n must be 1 unless is_batch is true. - assert(is_batch || n == 1); - if (BENCHMARK_BUILTIN_EXPECT(total_iterations_ >= n, true)) { - total_iterations_ -= n; - return true; - } - if (!started_) { - StartKeepRunning(); - if (!error_occurred_ && total_iterations_ >= n) { - total_iterations_ -= n; - return true; - } - } - // For non-batch runs, total_iterations_ must be 0 by now. - if (is_batch && total_iterations_ != 0) { - batch_leftover_ = n - total_iterations_; - total_iterations_ = 0; - return true; - } - FinishKeepRunning(); - return false; -} - -struct State::StateIterator { - struct BENCHMARK_UNUSED Value {}; - typedef std::forward_iterator_tag iterator_category; - typedef Value value_type; - typedef Value reference; - typedef Value pointer; - typedef std::ptrdiff_t difference_type; - - private: - friend class State; - BENCHMARK_ALWAYS_INLINE - StateIterator() : cached_(0), parent_() {} - - BENCHMARK_ALWAYS_INLINE - explicit StateIterator(State* st) - : cached_(st->error_occurred_ ? 0 : st->max_iterations), parent_(st) {} - - public: - BENCHMARK_ALWAYS_INLINE - Value operator*() const { return Value(); } - - BENCHMARK_ALWAYS_INLINE - StateIterator& operator++() { - assert(cached_ > 0); - --cached_; - return *this; - } - - BENCHMARK_ALWAYS_INLINE - bool operator!=(StateIterator const&) const { - if (BENCHMARK_BUILTIN_EXPECT(cached_ != 0, true)) return true; - parent_->FinishKeepRunning(); - return false; - } - - private: - size_t cached_; - State* const parent_; -}; - -inline BENCHMARK_ALWAYS_INLINE State::StateIterator State::begin() { - return StateIterator(this); -} -inline BENCHMARK_ALWAYS_INLINE State::StateIterator State::end() { - StartKeepRunning(); - return StateIterator(); -} - -namespace internal { - -typedef void(Function)(State&); - -// ------------------------------------------------------ -// Benchmark registration object. The BENCHMARK() macro expands -// into an internal::Benchmark* object. Various methods can -// be called on this object to change the properties of the benchmark. -// Each method returns "this" so that multiple method calls can -// chained into one expression. -class Benchmark { - public: - virtual ~Benchmark(); - - // Note: the following methods all return "this" so that multiple - // method calls can be chained together in one expression. - - // Run this benchmark once with "x" as the extra argument passed - // to the function. - // REQUIRES: The function passed to the constructor must accept an arg1. - Benchmark* Arg(int64_t x); - - // Run this benchmark with the given time unit for the generated output report - Benchmark* Unit(TimeUnit unit); - - // Run this benchmark once for a number of values picked from the - // range [start..limit]. (start and limit are always picked.) - // REQUIRES: The function passed to the constructor must accept an arg1. - Benchmark* Range(int64_t start, int64_t limit); - - // Run this benchmark once for all values in the range [start..limit] with - // specific step - // REQUIRES: The function passed to the constructor must accept an arg1. - Benchmark* DenseRange(int64_t start, int64_t limit, int step = 1); - - // Run this benchmark once with "args" as the extra arguments passed - // to the function. - // REQUIRES: The function passed to the constructor must accept arg1, arg2 ... - Benchmark* Args(const std::vector& args); - - // Equivalent to Args({x, y}) - // NOTE: This is a legacy C++03 interface provided for compatibility only. - // New code should use 'Args'. - Benchmark* ArgPair(int64_t x, int64_t y) { - std::vector args; - args.push_back(x); - args.push_back(y); - return Args(args); - } - - // Run this benchmark once for a number of values picked from the - // ranges [start..limit]. (starts and limits are always picked.) - // REQUIRES: The function passed to the constructor must accept arg1, arg2 ... - Benchmark* Ranges(const std::vector >& ranges); - - // Equivalent to ArgNames({name}) - Benchmark* ArgName(const std::string& name); - - // Set the argument names to display in the benchmark name. If not called, - // only argument values will be shown. - Benchmark* ArgNames(const std::vector& names); - - // Equivalent to Ranges({{lo1, hi1}, {lo2, hi2}}). - // NOTE: This is a legacy C++03 interface provided for compatibility only. - // New code should use 'Ranges'. - Benchmark* RangePair(int64_t lo1, int64_t hi1, int64_t lo2, int64_t hi2) { - std::vector > ranges; - ranges.push_back(std::make_pair(lo1, hi1)); - ranges.push_back(std::make_pair(lo2, hi2)); - return Ranges(ranges); - } - - // Pass this benchmark object to *func, which can customize - // the benchmark by calling various methods like Arg, Args, - // Threads, etc. - Benchmark* Apply(void (*func)(Benchmark* benchmark)); - - // Set the range multiplier for non-dense range. If not called, the range - // multiplier kRangeMultiplier will be used. - Benchmark* RangeMultiplier(int multiplier); - - // Set the minimum amount of time to use when running this benchmark. This - // option overrides the `benchmark_min_time` flag. - // REQUIRES: `t > 0` and `Iterations` has not been called on this benchmark. - Benchmark* MinTime(double t); - - // Specify the amount of iterations that should be run by this benchmark. - // REQUIRES: 'n > 0' and `MinTime` has not been called on this benchmark. - // - // NOTE: This function should only be used when *exact* iteration control is - // needed and never to control or limit how long a benchmark runs, where - // `--benchmark_min_time=N` or `MinTime(...)` should be used instead. - Benchmark* Iterations(size_t n); - - // Specify the amount of times to repeat this benchmark. This option overrides - // the `benchmark_repetitions` flag. - // REQUIRES: `n > 0` - Benchmark* Repetitions(int n); - - // Specify if each repetition of the benchmark should be reported separately - // or if only the final statistics should be reported. If the benchmark - // is not repeated then the single result is always reported. - // Applies to *ALL* reporters (display and file). - Benchmark* ReportAggregatesOnly(bool value = true); - - // Same as ReportAggregatesOnly(), but applies to display reporter only. - Benchmark* DisplayAggregatesOnly(bool value = true); - - // If a particular benchmark is I/O bound, runs multiple threads internally or - // if for some reason CPU timings are not representative, call this method. If - // called, the elapsed time will be used to control how many iterations are - // run, and in the printing of items/second or MB/seconds values. If not - // called, the cpu time used by the benchmark will be used. - Benchmark* UseRealTime(); - - // If a benchmark must measure time manually (e.g. if GPU execution time is - // being - // measured), call this method. If called, each benchmark iteration should - // call - // SetIterationTime(seconds) to report the measured time, which will be used - // to control how many iterations are run, and in the printing of items/second - // or MB/second values. - Benchmark* UseManualTime(); - - // Set the asymptotic computational complexity for the benchmark. If called - // the asymptotic computational complexity will be shown on the output. - Benchmark* Complexity(BigO complexity = benchmark::oAuto); - - // Set the asymptotic computational complexity for the benchmark. If called - // the asymptotic computational complexity will be shown on the output. - Benchmark* Complexity(BigOFunc* complexity); - - // Add this statistics to be computed over all the values of benchmark run - Benchmark* ComputeStatistics(std::string name, StatisticsFunc* statistics); - - // Support for running multiple copies of the same benchmark concurrently - // in multiple threads. This may be useful when measuring the scaling - // of some piece of code. - - // Run one instance of this benchmark concurrently in t threads. - Benchmark* Threads(int t); - - // Pick a set of values T from [min_threads,max_threads]. - // min_threads and max_threads are always included in T. Run this - // benchmark once for each value in T. The benchmark run for a - // particular value t consists of t threads running the benchmark - // function concurrently. For example, consider: - // BENCHMARK(Foo)->ThreadRange(1,16); - // This will run the following benchmarks: - // Foo in 1 thread - // Foo in 2 threads - // Foo in 4 threads - // Foo in 8 threads - // Foo in 16 threads - Benchmark* ThreadRange(int min_threads, int max_threads); - - // For each value n in the range, run this benchmark once using n threads. - // min_threads and max_threads are always included in the range. - // stride specifies the increment. E.g. DenseThreadRange(1, 8, 3) starts - // a benchmark with 1, 4, 7 and 8 threads. - Benchmark* DenseThreadRange(int min_threads, int max_threads, int stride = 1); - - // Equivalent to ThreadRange(NumCPUs(), NumCPUs()) - Benchmark* ThreadPerCpu(); - - virtual void Run(State& state) = 0; - - protected: - explicit Benchmark(const char* name); - Benchmark(Benchmark const&); - void SetName(const char* name); - - int ArgsCnt() const; - - private: - friend class BenchmarkFamilies; - - std::string name_; - AggregationReportMode aggregation_report_mode_; - std::vector arg_names_; // Args for all benchmark runs - std::vector > args_; // Args for all benchmark runs - TimeUnit time_unit_; - int range_multiplier_; - double min_time_; - size_t iterations_; - int repetitions_; - bool use_real_time_; - bool use_manual_time_; - BigO complexity_; - BigOFunc* complexity_lambda_; - std::vector statistics_; - std::vector thread_counts_; - - Benchmark& operator=(Benchmark const&); -}; - -} // namespace internal - -// Create and register a benchmark with the specified 'name' that invokes -// the specified functor 'fn'. -// -// RETURNS: A pointer to the registered benchmark. -internal::Benchmark* RegisterBenchmark(const char* name, - internal::Function* fn); - -#if defined(BENCHMARK_HAS_CXX11) -template -internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn); -#endif - -// Remove all registered benchmarks. All pointers to previously registered -// benchmarks are invalidated. -void ClearRegisteredBenchmarks(); - -namespace internal { -// The class used to hold all Benchmarks created from static function. -// (ie those created using the BENCHMARK(...) macros. -class FunctionBenchmark : public Benchmark { - public: - FunctionBenchmark(const char* name, Function* func) - : Benchmark(name), func_(func) {} - - virtual void Run(State& st); - - private: - Function* func_; -}; - -#ifdef BENCHMARK_HAS_CXX11 -template -class LambdaBenchmark : public Benchmark { - public: - virtual void Run(State& st) { lambda_(st); } - - private: - template - LambdaBenchmark(const char* name, OLambda&& lam) - : Benchmark(name), lambda_(std::forward(lam)) {} - - LambdaBenchmark(LambdaBenchmark const&) = delete; - - private: - template - friend Benchmark* ::benchmark::RegisterBenchmark(const char*, Lam&&); - - Lambda lambda_; -}; -#endif - -} // namespace internal - -inline internal::Benchmark* RegisterBenchmark(const char* name, - internal::Function* fn) { - return internal::RegisterBenchmarkInternal( - ::new internal::FunctionBenchmark(name, fn)); -} - -#ifdef BENCHMARK_HAS_CXX11 -template -internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn) { - using BenchType = - internal::LambdaBenchmark::type>; - return internal::RegisterBenchmarkInternal( - ::new BenchType(name, std::forward(fn))); -} -#endif - -#if defined(BENCHMARK_HAS_CXX11) && \ - (!defined(BENCHMARK_GCC_VERSION) || BENCHMARK_GCC_VERSION >= 409) -template -internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn, - Args&&... args) { - return benchmark::RegisterBenchmark( - name, [=](benchmark::State& st) { fn(st, args...); }); -} -#else -#define BENCHMARK_HAS_NO_VARIADIC_REGISTER_BENCHMARK -#endif - -// The base class for all fixture tests. -class Fixture : public internal::Benchmark { - public: - Fixture() : internal::Benchmark("") {} - - virtual void Run(State& st) { - this->SetUp(st); - this->BenchmarkCase(st); - this->TearDown(st); - } - - // These will be deprecated ... - virtual void SetUp(const State&) {} - virtual void TearDown(const State&) {} - // ... In favor of these. - virtual void SetUp(State& st) { SetUp(const_cast(st)); } - virtual void TearDown(State& st) { TearDown(const_cast(st)); } - - protected: - virtual void BenchmarkCase(State&) = 0; -}; - -} // namespace benchmark - -// ------------------------------------------------------ -// Macro to register benchmarks - -// Check that __COUNTER__ is defined and that __COUNTER__ increases by 1 -// every time it is expanded. X + 1 == X + 0 is used in case X is defined to be -// empty. If X is empty the expression becomes (+1 == +0). -#if defined(__COUNTER__) && (__COUNTER__ + 1 == __COUNTER__ + 0) -#define BENCHMARK_PRIVATE_UNIQUE_ID __COUNTER__ -#else -#define BENCHMARK_PRIVATE_UNIQUE_ID __LINE__ -#endif - -// Helpers for generating unique variable names -#define BENCHMARK_PRIVATE_NAME(n) \ - BENCHMARK_PRIVATE_CONCAT(_benchmark_, BENCHMARK_PRIVATE_UNIQUE_ID, n) -#define BENCHMARK_PRIVATE_CONCAT(a, b, c) BENCHMARK_PRIVATE_CONCAT2(a, b, c) -#define BENCHMARK_PRIVATE_CONCAT2(a, b, c) a##b##c - -#define BENCHMARK_PRIVATE_DECLARE(n) \ - static ::benchmark::internal::Benchmark* BENCHMARK_PRIVATE_NAME(n) \ - BENCHMARK_UNUSED - -#define BENCHMARK(n) \ - BENCHMARK_PRIVATE_DECLARE(n) = \ - (::benchmark::internal::RegisterBenchmarkInternal( \ - new ::benchmark::internal::FunctionBenchmark(#n, n))) - -// Old-style macros -#define BENCHMARK_WITH_ARG(n, a) BENCHMARK(n)->Arg((a)) -#define BENCHMARK_WITH_ARG2(n, a1, a2) BENCHMARK(n)->Args({(a1), (a2)}) -#define BENCHMARK_WITH_UNIT(n, t) BENCHMARK(n)->Unit((t)) -#define BENCHMARK_RANGE(n, lo, hi) BENCHMARK(n)->Range((lo), (hi)) -#define BENCHMARK_RANGE2(n, l1, h1, l2, h2) \ - BENCHMARK(n)->RangePair({{(l1), (h1)}, {(l2), (h2)}}) - -#ifdef BENCHMARK_HAS_CXX11 - -// Register a benchmark which invokes the function specified by `func` -// with the additional arguments specified by `...`. -// -// For example: -// -// template ` -// void BM_takes_args(benchmark::State& state, ExtraArgs&&... extra_args) { -// [...] -//} -// /* Registers a benchmark named "BM_takes_args/int_string_test` */ -// BENCHMARK_CAPTURE(BM_takes_args, int_string_test, 42, std::string("abc")); -#define BENCHMARK_CAPTURE(func, test_case_name, ...) \ - BENCHMARK_PRIVATE_DECLARE(func) = \ - (::benchmark::internal::RegisterBenchmarkInternal( \ - new ::benchmark::internal::FunctionBenchmark( \ - #func "/" #test_case_name, \ - [](::benchmark::State& st) { func(st, __VA_ARGS__); }))) - -#endif // BENCHMARK_HAS_CXX11 - -// This will register a benchmark for a templatized function. For example: -// -// template -// void BM_Foo(int iters); -// -// BENCHMARK_TEMPLATE(BM_Foo, 1); -// -// will register BM_Foo<1> as a benchmark. -#define BENCHMARK_TEMPLATE1(n, a) \ - BENCHMARK_PRIVATE_DECLARE(n) = \ - (::benchmark::internal::RegisterBenchmarkInternal( \ - new ::benchmark::internal::FunctionBenchmark(#n "<" #a ">", n))) - -#define BENCHMARK_TEMPLATE2(n, a, b) \ - BENCHMARK_PRIVATE_DECLARE(n) = \ - (::benchmark::internal::RegisterBenchmarkInternal( \ - new ::benchmark::internal::FunctionBenchmark(#n "<" #a "," #b ">", \ - n))) - -#ifdef BENCHMARK_HAS_CXX11 -#define BENCHMARK_TEMPLATE(n, ...) \ - BENCHMARK_PRIVATE_DECLARE(n) = \ - (::benchmark::internal::RegisterBenchmarkInternal( \ - new ::benchmark::internal::FunctionBenchmark( \ - #n "<" #__VA_ARGS__ ">", n<__VA_ARGS__>))) -#else -#define BENCHMARK_TEMPLATE(n, a) BENCHMARK_TEMPLATE1(n, a) -#endif - -#define BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ - class BaseClass##_##Method##_Benchmark : public BaseClass { \ - public: \ - BaseClass##_##Method##_Benchmark() : BaseClass() { \ - this->SetName(#BaseClass "/" #Method); \ - } \ - \ - protected: \ - virtual void BenchmarkCase(::benchmark::State&); \ - }; - -#define BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ - class BaseClass##_##Method##_Benchmark : public BaseClass { \ - public: \ - BaseClass##_##Method##_Benchmark() : BaseClass() { \ - this->SetName(#BaseClass "<" #a ">/" #Method); \ - } \ - \ - protected: \ - virtual void BenchmarkCase(::benchmark::State&); \ - }; - -#define BENCHMARK_TEMPLATE2_PRIVATE_DECLARE_F(BaseClass, Method, a, b) \ - class BaseClass##_##Method##_Benchmark : public BaseClass { \ - public: \ - BaseClass##_##Method##_Benchmark() : BaseClass() { \ - this->SetName(#BaseClass "<" #a "," #b ">/" #Method); \ - } \ - \ - protected: \ - virtual void BenchmarkCase(::benchmark::State&); \ - }; - -#ifdef BENCHMARK_HAS_CXX11 -#define BENCHMARK_TEMPLATE_PRIVATE_DECLARE_F(BaseClass, Method, ...) \ - class BaseClass##_##Method##_Benchmark : public BaseClass<__VA_ARGS__> { \ - public: \ - BaseClass##_##Method##_Benchmark() : BaseClass<__VA_ARGS__>() { \ - this->SetName(#BaseClass "<" #__VA_ARGS__ ">/" #Method); \ - } \ - \ - protected: \ - virtual void BenchmarkCase(::benchmark::State&); \ - }; -#else -#define BENCHMARK_TEMPLATE_PRIVATE_DECLARE_F(n, a) \ - BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(n, a) -#endif - -#define BENCHMARK_DEFINE_F(BaseClass, Method) \ - BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ - void BaseClass##_##Method##_Benchmark::BenchmarkCase - -#define BENCHMARK_TEMPLATE1_DEFINE_F(BaseClass, Method, a) \ - BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ - void BaseClass##_##Method##_Benchmark::BenchmarkCase - -#define BENCHMARK_TEMPLATE2_DEFINE_F(BaseClass, Method, a, b) \ - BENCHMARK_TEMPLATE2_PRIVATE_DECLARE_F(BaseClass, Method, a, b) \ - void BaseClass##_##Method##_Benchmark::BenchmarkCase - -#ifdef BENCHMARK_HAS_CXX11 -#define BENCHMARK_TEMPLATE_DEFINE_F(BaseClass, Method, ...) \ - BENCHMARK_TEMPLATE_PRIVATE_DECLARE_F(BaseClass, Method, __VA_ARGS__) \ - void BaseClass##_##Method##_Benchmark::BenchmarkCase -#else -#define BENCHMARK_TEMPLATE_DEFINE_F(BaseClass, Method, a) \ - BENCHMARK_TEMPLATE1_DEFINE_F(BaseClass, Method, a) -#endif - -#define BENCHMARK_REGISTER_F(BaseClass, Method) \ - BENCHMARK_PRIVATE_REGISTER_F(BaseClass##_##Method##_Benchmark) - -#define BENCHMARK_PRIVATE_REGISTER_F(TestName) \ - BENCHMARK_PRIVATE_DECLARE(TestName) = \ - (::benchmark::internal::RegisterBenchmarkInternal(new TestName())) - -// This macro will define and register a benchmark within a fixture class. -#define BENCHMARK_F(BaseClass, Method) \ - BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ - BENCHMARK_REGISTER_F(BaseClass, Method); \ - void BaseClass##_##Method##_Benchmark::BenchmarkCase - -#define BENCHMARK_TEMPLATE1_F(BaseClass, Method, a) \ - BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ - BENCHMARK_REGISTER_F(BaseClass, Method); \ - void BaseClass##_##Method##_Benchmark::BenchmarkCase - -#define BENCHMARK_TEMPLATE2_F(BaseClass, Method, a, b) \ - BENCHMARK_TEMPLATE2_PRIVATE_DECLARE_F(BaseClass, Method, a, b) \ - BENCHMARK_REGISTER_F(BaseClass, Method); \ - void BaseClass##_##Method##_Benchmark::BenchmarkCase - -#ifdef BENCHMARK_HAS_CXX11 -#define BENCHMARK_TEMPLATE_F(BaseClass, Method, ...) \ - BENCHMARK_TEMPLATE_PRIVATE_DECLARE_F(BaseClass, Method, __VA_ARGS__) \ - BENCHMARK_REGISTER_F(BaseClass, Method); \ - void BaseClass##_##Method##_Benchmark::BenchmarkCase -#else -#define BENCHMARK_TEMPLATE_F(BaseClass, Method, a) \ - BENCHMARK_TEMPLATE1_F(BaseClass, Method, a) -#endif - -// Helper macro to create a main routine in a test that runs the benchmarks -#define BENCHMARK_MAIN() \ - int main(int argc, char** argv) { \ - ::benchmark::Initialize(&argc, argv); \ - if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1; \ - ::benchmark::RunSpecifiedBenchmarks(); \ - } \ - int main(int, char**) - -// ------------------------------------------------------ -// Benchmark Reporters - -namespace benchmark { - -struct CPUInfo { - struct CacheInfo { - std::string type; - int level; - int size; - int num_sharing; - }; - - int num_cpus; - double cycles_per_second; - std::vector caches; - bool scaling_enabled; - std::vector load_avg; - - static const CPUInfo& Get(); - - private: - CPUInfo(); - BENCHMARK_DISALLOW_COPY_AND_ASSIGN(CPUInfo); -}; - -//Adding Struct for System Information -struct SystemInfo { - std::string name; - static const SystemInfo& Get(); - private: - SystemInfo(); - BENCHMARK_DISALLOW_COPY_AND_ASSIGN(SystemInfo); -}; - -// Interface for custom benchmark result printers. -// By default, benchmark reports are printed to stdout. However an application -// can control the destination of the reports by calling -// RunSpecifiedBenchmarks and passing it a custom reporter object. -// The reporter object must implement the following interface. -class BenchmarkReporter { - public: - struct Context { - CPUInfo const& cpu_info; - SystemInfo const& sys_info; - // The number of chars in the longest benchmark name. - size_t name_field_width; - static const char* executable_name; - Context(); - }; - - struct Run { - enum RunType { RT_Iteration, RT_Aggregate }; - - Run() - : run_type(RT_Iteration), - error_occurred(false), - iterations(1), - time_unit(kNanosecond), - real_accumulated_time(0), - cpu_accumulated_time(0), - max_heapbytes_used(0), - complexity(oNone), - complexity_lambda(), - complexity_n(0), - report_big_o(false), - report_rms(false), - counters(), - has_memory_result(false), - allocs_per_iter(0.0), - max_bytes_used(0) {} - - std::string benchmark_name() const; - std::string run_name; - RunType run_type; // is this a measurement, or an aggregate? - std::string aggregate_name; - std::string report_label; // Empty if not set by benchmark. - bool error_occurred; - std::string error_message; - - int64_t iterations; - TimeUnit time_unit; - double real_accumulated_time; - double cpu_accumulated_time; - - // Return a value representing the real time per iteration in the unit - // specified by 'time_unit'. - // NOTE: If 'iterations' is zero the returned value represents the - // accumulated time. - double GetAdjustedRealTime() const; - - // Return a value representing the cpu time per iteration in the unit - // specified by 'time_unit'. - // NOTE: If 'iterations' is zero the returned value represents the - // accumulated time. - double GetAdjustedCPUTime() const; - - // This is set to 0.0 if memory tracing is not enabled. - double max_heapbytes_used; - - // Keep track of arguments to compute asymptotic complexity - BigO complexity; - BigOFunc* complexity_lambda; - int64_t complexity_n; - - // what statistics to compute from the measurements - const std::vector* statistics; - - // Inform print function whether the current run is a complexity report - bool report_big_o; - bool report_rms; - - UserCounters counters; - - // Memory metrics. - bool has_memory_result; - double allocs_per_iter; - int64_t max_bytes_used; - }; - - // Construct a BenchmarkReporter with the output stream set to 'std::cout' - // and the error stream set to 'std::cerr' - BenchmarkReporter(); - - // Called once for every suite of benchmarks run. - // The parameter "context" contains information that the - // reporter may wish to use when generating its report, for example the - // platform under which the benchmarks are running. The benchmark run is - // never started if this function returns false, allowing the reporter - // to skip runs based on the context information. - virtual bool ReportContext(const Context& context) = 0; - - // Called once for each group of benchmark runs, gives information about - // cpu-time and heap memory usage during the benchmark run. If the group - // of runs contained more than two entries then 'report' contains additional - // elements representing the mean and standard deviation of those runs. - // Additionally if this group of runs was the last in a family of benchmarks - // 'reports' contains additional entries representing the asymptotic - // complexity and RMS of that benchmark family. - virtual void ReportRuns(const std::vector& report) = 0; - - // Called once and only once after ever group of benchmarks is run and - // reported. - virtual void Finalize() {} - - // REQUIRES: The object referenced by 'out' is valid for the lifetime - // of the reporter. - void SetOutputStream(std::ostream* out) { - assert(out); - output_stream_ = out; - } - - // REQUIRES: The object referenced by 'err' is valid for the lifetime - // of the reporter. - void SetErrorStream(std::ostream* err) { - assert(err); - error_stream_ = err; - } - - std::ostream& GetOutputStream() const { return *output_stream_; } - - std::ostream& GetErrorStream() const { return *error_stream_; } - - virtual ~BenchmarkReporter(); - - // Write a human readable string to 'out' representing the specified - // 'context'. - // REQUIRES: 'out' is non-null. - static void PrintBasicContext(std::ostream* out, Context const& context); - - private: - std::ostream* output_stream_; - std::ostream* error_stream_; -}; - -// Simple reporter that outputs benchmark data to the console. This is the -// default reporter used by RunSpecifiedBenchmarks(). -class ConsoleReporter : public BenchmarkReporter { - public: - enum OutputOptions { - OO_None = 0, - OO_Color = 1, - OO_Tabular = 2, - OO_ColorTabular = OO_Color | OO_Tabular, - OO_Defaults = OO_ColorTabular - }; - explicit ConsoleReporter(OutputOptions opts_ = OO_Defaults) - : output_options_(opts_), - name_field_width_(0), - prev_counters_(), - printed_header_(false) {} - - virtual bool ReportContext(const Context& context); - virtual void ReportRuns(const std::vector& reports); - - protected: - virtual void PrintRunData(const Run& report); - virtual void PrintHeader(const Run& report); - - OutputOptions output_options_; - size_t name_field_width_; - UserCounters prev_counters_; - bool printed_header_; -}; - -class JSONReporter : public BenchmarkReporter { - public: - JSONReporter() : first_report_(true) {} - virtual bool ReportContext(const Context& context); - virtual void ReportRuns(const std::vector& reports); - virtual void Finalize(); - - private: - void PrintRunData(const Run& report); - - bool first_report_; -}; - -class BENCHMARK_DEPRECATED_MSG("The CSV Reporter will be removed in a future release") - CSVReporter : public BenchmarkReporter { - public: - CSVReporter() : printed_header_(false) {} - virtual bool ReportContext(const Context& context); - virtual void ReportRuns(const std::vector& reports); - - private: - void PrintRunData(const Run& report); - - bool printed_header_; - std::set user_counter_names_; -}; - -// If a MemoryManager is registered, it can be used to collect and report -// allocation metrics for a run of the benchmark. -class MemoryManager { - public: - struct Result { - Result() : num_allocs(0), max_bytes_used(0) {} - - // The number of allocations made in total between Start and Stop. - int64_t num_allocs; - - // The peak memory use between Start and Stop. - int64_t max_bytes_used; - }; - - virtual ~MemoryManager() {} - - // Implement this to start recording allocation information. - virtual void Start() = 0; - - // Implement this to stop recording and fill out the given Result structure. - virtual void Stop(Result* result) = 0; -}; - -inline const char* GetTimeUnitString(TimeUnit unit) { - switch (unit) { - case kMillisecond: - return "ms"; - case kMicrosecond: - return "us"; - case kNanosecond: - return "ns"; - } - BENCHMARK_UNREACHABLE(); -} - -inline double GetTimeUnitMultiplier(TimeUnit unit) { - switch (unit) { - case kMillisecond: - return 1e3; - case kMicrosecond: - return 1e6; - case kNanosecond: - return 1e9; - } - BENCHMARK_UNREACHABLE(); -} - -} // namespace benchmark - -#endif // BENCHMARK_BENCHMARK_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/mingw.py b/libcudacxx/.upstream-tests/utils/google-benchmark/mingw.py deleted file mode 100644 index 706ad559db..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/mingw.py +++ /dev/null @@ -1,320 +0,0 @@ -#! /usr/bin/env python -# encoding: utf-8 - -import argparse -import errno -import logging -import os -import platform -import re -import sys -import subprocess -import tempfile - -try: - import winreg -except ImportError: - import _winreg as winreg -try: - import urllib.request as request -except ImportError: - import urllib as request -try: - import urllib.parse as parse -except ImportError: - import urlparse as parse - -class EmptyLogger(object): - ''' - Provides an implementation that performs no logging - ''' - def debug(self, *k, **kw): - pass - def info(self, *k, **kw): - pass - def warn(self, *k, **kw): - pass - def error(self, *k, **kw): - pass - def critical(self, *k, **kw): - pass - def setLevel(self, *k, **kw): - pass - -urls = ( - 'http://downloads.sourceforge.net/project/mingw-w64/Toolchains%20' - 'targetting%20Win32/Personal%20Builds/mingw-builds/installer/' - 'repository.txt', - 'http://downloads.sourceforge.net/project/mingwbuilds/host-windows/' - 'repository.txt' -) -''' -A list of mingw-build repositories -''' - -def repository(urls = urls, log = EmptyLogger()): - ''' - Downloads and parse mingw-build repository files and parses them - ''' - log.info('getting mingw-builds repository') - versions = {} - re_sourceforge = re.compile(r'http://sourceforge.net/projects/([^/]+)/files') - re_sub = r'http://downloads.sourceforge.net/project/\1' - for url in urls: - log.debug(' - requesting: %s', url) - socket = request.urlopen(url) - repo = socket.read() - if not isinstance(repo, str): - repo = repo.decode(); - socket.close() - for entry in repo.split('\n')[:-1]: - value = entry.split('|') - version = tuple([int(n) for n in value[0].strip().split('.')]) - version = versions.setdefault(version, {}) - arch = value[1].strip() - if arch == 'x32': - arch = 'i686' - elif arch == 'x64': - arch = 'x86_64' - arch = version.setdefault(arch, {}) - threading = arch.setdefault(value[2].strip(), {}) - exceptions = threading.setdefault(value[3].strip(), {}) - revision = exceptions.setdefault(int(value[4].strip()[3:]), - re_sourceforge.sub(re_sub, value[5].strip())) - return versions - -def find_in_path(file, path=None): - ''' - Attempts to find an executable in the path - ''' - if platform.system() == 'Windows': - file += '.exe' - if path is None: - path = os.environ.get('PATH', '') - if type(path) is type(''): - path = path.split(os.pathsep) - return list(filter(os.path.exists, - map(lambda dir, file=file: os.path.join(dir, file), path))) - -def find_7zip(log = EmptyLogger()): - ''' - Attempts to find 7zip for unpacking the mingw-build archives - ''' - log.info('finding 7zip') - path = find_in_path('7z') - if not path: - key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SOFTWARE\7-Zip') - path, _ = winreg.QueryValueEx(key, 'Path') - path = [os.path.join(path, '7z.exe')] - log.debug('found \'%s\'', path[0]) - return path[0] - -find_7zip() - -def unpack(archive, location, log = EmptyLogger()): - ''' - Unpacks a mingw-builds archive - ''' - sevenzip = find_7zip(log) - log.info('unpacking %s', os.path.basename(archive)) - cmd = [sevenzip, 'x', archive, '-o' + location, '-y'] - log.debug(' - %r', cmd) - with open(os.devnull, 'w') as devnull: - subprocess.check_call(cmd, stdout = devnull) - -def download(url, location, log = EmptyLogger()): - ''' - Downloads and unpacks a mingw-builds archive - ''' - log.info('downloading MinGW') - log.debug(' - url: %s', url) - log.debug(' - location: %s', location) - - re_content = re.compile(r'attachment;[ \t]*filename=(")?([^"]*)(")?[\r\n]*') - - stream = request.urlopen(url) - try: - content = stream.getheader('Content-Disposition') or '' - except AttributeError: - content = stream.headers.getheader('Content-Disposition') or '' - matches = re_content.match(content) - if matches: - filename = matches.group(2) - else: - parsed = parse.urlparse(stream.geturl()) - filename = os.path.basename(parsed.path) - - try: - os.makedirs(location) - except OSError as e: - if e.errno == errno.EEXIST and os.path.isdir(location): - pass - else: - raise - - archive = os.path.join(location, filename) - with open(archive, 'wb') as out: - while True: - buf = stream.read(1024) - if not buf: - break - out.write(buf) - unpack(archive, location, log = log) - os.remove(archive) - - possible = os.path.join(location, 'mingw64') - if not os.path.exists(possible): - possible = os.path.join(location, 'mingw32') - if not os.path.exists(possible): - raise ValueError('Failed to find unpacked MinGW: ' + possible) - return possible - -def root(location = None, arch = None, version = None, threading = None, - exceptions = None, revision = None, log = EmptyLogger()): - ''' - Returns the root folder of a specific version of the mingw-builds variant - of gcc. Will download the compiler if needed - ''' - - # Get the repository if we don't have all the information - if not (arch and version and threading and exceptions and revision): - versions = repository(log = log) - - # Determine some defaults - version = version or max(versions.keys()) - if not arch: - arch = platform.machine().lower() - if arch == 'x86': - arch = 'i686' - elif arch == 'amd64': - arch = 'x86_64' - if not threading: - keys = versions[version][arch].keys() - if 'posix' in keys: - threading = 'posix' - elif 'win32' in keys: - threading = 'win32' - else: - threading = keys[0] - if not exceptions: - keys = versions[version][arch][threading].keys() - if 'seh' in keys: - exceptions = 'seh' - elif 'sjlj' in keys: - exceptions = 'sjlj' - else: - exceptions = keys[0] - if revision == None: - revision = max(versions[version][arch][threading][exceptions].keys()) - if not location: - location = os.path.join(tempfile.gettempdir(), 'mingw-builds') - - # Get the download url - url = versions[version][arch][threading][exceptions][revision] - - # Tell the user whatzzup - log.info('finding MinGW %s', '.'.join(str(v) for v in version)) - log.debug(' - arch: %s', arch) - log.debug(' - threading: %s', threading) - log.debug(' - exceptions: %s', exceptions) - log.debug(' - revision: %s', revision) - log.debug(' - url: %s', url) - - # Store each specific revision differently - slug = '{version}-{arch}-{threading}-{exceptions}-rev{revision}' - slug = slug.format( - version = '.'.join(str(v) for v in version), - arch = arch, - threading = threading, - exceptions = exceptions, - revision = revision - ) - if arch == 'x86_64': - root_dir = os.path.join(location, slug, 'mingw64') - elif arch == 'i686': - root_dir = os.path.join(location, slug, 'mingw32') - else: - raise ValueError('Unknown MinGW arch: ' + arch) - - # Download if needed - if not os.path.exists(root_dir): - downloaded = download(url, os.path.join(location, slug), log = log) - if downloaded != root_dir: - raise ValueError('The location of mingw did not match\n%s\n%s' - % (downloaded, root_dir)) - - return root_dir - -def str2ver(string): - ''' - Converts a version string into a tuple - ''' - try: - version = tuple(int(v) for v in string.split('.')) - if len(version) is not 3: - raise ValueError() - except ValueError: - raise argparse.ArgumentTypeError( - 'please provide a three digit version string') - return version - -def main(): - ''' - Invoked when the script is run directly by the python interpreter - ''' - parser = argparse.ArgumentParser( - description = 'Downloads a specific version of MinGW', - formatter_class = argparse.ArgumentDefaultsHelpFormatter - ) - parser.add_argument('--location', - help = 'the location to download the compiler to', - default = os.path.join(tempfile.gettempdir(), 'mingw-builds')) - parser.add_argument('--arch', required = True, choices = ['i686', 'x86_64'], - help = 'the target MinGW architecture string') - parser.add_argument('--version', type = str2ver, - help = 'the version of GCC to download') - parser.add_argument('--threading', choices = ['posix', 'win32'], - help = 'the threading type of the compiler') - parser.add_argument('--exceptions', choices = ['sjlj', 'seh', 'dwarf'], - help = 'the method to throw exceptions') - parser.add_argument('--revision', type=int, - help = 'the revision of the MinGW release') - group = parser.add_mutually_exclusive_group() - group.add_argument('-v', '--verbose', action='store_true', - help='increase the script output verbosity') - group.add_argument('-q', '--quiet', action='store_true', - help='only print errors and warning') - args = parser.parse_args() - - # Create the logger - logger = logging.getLogger('mingw') - handler = logging.StreamHandler() - formatter = logging.Formatter('%(message)s') - handler.setFormatter(formatter) - logger.addHandler(handler) - logger.setLevel(logging.INFO) - if args.quiet: - logger.setLevel(logging.WARN) - if args.verbose: - logger.setLevel(logging.DEBUG) - - # Get MinGW - root_dir = root(location = args.location, arch = args.arch, - version = args.version, threading = args.threading, - exceptions = args.exceptions, revision = args.revision, - log = logger) - - sys.stdout.write('%s\n' % os.path.join(root_dir, 'bin')) - -if __name__ == '__main__': - try: - main() - except IOError as e: - sys.stderr.write('IO error: %s\n' % e) - sys.exit(1) - except OSError as e: - sys.stderr.write('OS error: %s\n' % e) - sys.exit(1) - except KeyboardInterrupt as e: - sys.stderr.write('Killed\n') - sys.exit(1) diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/releasing.md b/libcudacxx/.upstream-tests/utils/google-benchmark/releasing.md deleted file mode 100644 index f0cd7010e3..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/releasing.md +++ /dev/null @@ -1,16 +0,0 @@ -# How to release - -* Make sure you're on master and synced to HEAD -* Ensure the project builds and tests run (sanity check only, obviously) - * `parallel -j0 exec ::: test/*_test` can help ensure everything at least - passes -* Prepare release notes - * `git log $(git describe --abbrev=0 --tags)..HEAD` gives you the list of - commits between the last annotated tag and HEAD - * Pick the most interesting. -* Create a release through github's interface - * Note this will create a lightweight tag. - * Update this to an annotated tag: - * `git pull --tags` - * `git tag -a -f ` - * `git push --force origin` diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/CMakeLists.txt b/libcudacxx/.upstream-tests/utils/google-benchmark/src/CMakeLists.txt deleted file mode 100644 index 7a77fdf41d..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/CMakeLists.txt +++ /dev/null @@ -1,108 +0,0 @@ -# Allow the source files to find headers in src/ -include_directories(${PROJECT_SOURCE_DIR}/src) - -if (DEFINED BENCHMARK_CXX_LINKER_FLAGS) - list(APPEND CMAKE_SHARED_LINKER_FLAGS ${BENCHMARK_CXX_LINKER_FLAGS}) - list(APPEND CMAKE_MODULE_LINKER_FLAGS ${BENCHMARK_CXX_LINKER_FLAGS}) -endif() - -file(GLOB - SOURCE_FILES - *.cc - ${PROJECT_SOURCE_DIR}/include/benchmark/*.h - ${CMAKE_CURRENT_SOURCE_DIR}/*.h) -file(GLOB BENCHMARK_MAIN "benchmark_main.cc") -foreach(item ${BENCHMARK_MAIN}) - list(REMOVE_ITEM SOURCE_FILES "${item}") -endforeach() - -add_library(benchmark ${SOURCE_FILES}) -set_target_properties(benchmark PROPERTIES - OUTPUT_NAME "benchmark" - VERSION ${GENERIC_LIB_VERSION} - SOVERSION ${GENERIC_LIB_SOVERSION} -) -target_include_directories(benchmark PUBLIC - $ - ) - -# Link threads. -target_link_libraries(benchmark ${BENCHMARK_CXX_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) -find_library(LIBRT rt) -if(LIBRT) - target_link_libraries(benchmark ${LIBRT}) -endif() - -# We need extra libraries on Windows -if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") - target_link_libraries(benchmark shlwapi) -endif() - -# We need extra libraries on Solaris -if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS") - target_link_libraries(benchmark kstat) -endif() - -# Benchmark main library -add_library(benchmark_main "benchmark_main.cc") -set_target_properties(benchmark_main PROPERTIES - OUTPUT_NAME "benchmark_main" - VERSION ${GENERIC_LIB_VERSION} - SOVERSION ${GENERIC_LIB_SOVERSION} -) -target_include_directories(benchmark PUBLIC - $ - ) -target_link_libraries(benchmark_main benchmark) - -set(include_install_dir "include") -set(lib_install_dir "lib/") -set(bin_install_dir "bin/") -set(config_install_dir "lib/cmake/${PROJECT_NAME}") -set(pkgconfig_install_dir "lib/pkgconfig") - -set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated") - -set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake") -set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake") -set(pkg_config "${generated_dir}/${PROJECT_NAME}.pc") -set(targets_export_name "${PROJECT_NAME}Targets") - -set(namespace "${PROJECT_NAME}::") - -include(CMakePackageConfigHelpers) -write_basic_package_version_file( - "${version_config}" VERSION ${GENERIC_LIB_VERSION} COMPATIBILITY SameMajorVersion -) - -configure_file("${PROJECT_SOURCE_DIR}/cmake/Config.cmake.in" "${project_config}" @ONLY) -configure_file("${PROJECT_SOURCE_DIR}/cmake/benchmark.pc.in" "${pkg_config}" @ONLY) - -if (BENCHMARK_ENABLE_INSTALL) - # Install target (will install the library to specified CMAKE_INSTALL_PREFIX variable) - install( - TARGETS benchmark benchmark_main - EXPORT ${targets_export_name} - ARCHIVE DESTINATION ${lib_install_dir} - LIBRARY DESTINATION ${lib_install_dir} - RUNTIME DESTINATION ${bin_install_dir} - INCLUDES DESTINATION ${include_install_dir}) - - install( - DIRECTORY "${PROJECT_SOURCE_DIR}/include/benchmark" - DESTINATION ${include_install_dir} - FILES_MATCHING PATTERN "*.*h") - - install( - FILES "${project_config}" "${version_config}" - DESTINATION "${config_install_dir}") - - install( - FILES "${pkg_config}" - DESTINATION "${pkgconfig_install_dir}") - - install( - EXPORT "${targets_export_name}" - NAMESPACE "${namespace}" - DESTINATION "${config_install_dir}") -endif() diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/arraysize.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/arraysize.h deleted file mode 100644 index 51a50f2dff..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/arraysize.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef BENCHMARK_ARRAYSIZE_H_ -#define BENCHMARK_ARRAYSIZE_H_ - -#include "internal_macros.h" - -namespace benchmark { -namespace internal { -// The arraysize(arr) macro returns the # of elements in an array arr. -// The expression is a compile-time constant, and therefore can be -// used in defining new arrays, for example. If you use arraysize on -// a pointer by mistake, you will get a compile-time error. -// - -// This template function declaration is used in defining arraysize. -// Note that the function doesn't need an implementation, as we only -// use its type. -template -char (&ArraySizeHelper(T (&array)[N]))[N]; - -// That gcc wants both of these prototypes seems mysterious. VC, for -// its part, can't decide which to use (another mystery). Matching of -// template overloads: the final frontier. -#ifndef COMPILER_MSVC -template -char (&ArraySizeHelper(const T (&array)[N]))[N]; -#endif - -#define arraysize(array) (sizeof(::benchmark::internal::ArraySizeHelper(array))) - -} // end namespace internal -} // end namespace benchmark - -#endif // BENCHMARK_ARRAYSIZE_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark.cc deleted file mode 100644 index aab07500af..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark.cc +++ /dev/null @@ -1,493 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark/benchmark.h" -#include "benchmark_api_internal.h" -#include "benchmark_runner.h" -#include "internal_macros.h" - -#ifndef BENCHMARK_OS_WINDOWS -#ifndef BENCHMARK_OS_FUCHSIA -#include -#endif -#include -#include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "check.h" -#include "colorprint.h" -#include "commandlineflags.h" -#include "complexity.h" -#include "counter.h" -#include "internal_macros.h" -#include "log.h" -#include "mutex.h" -#include "re.h" -#include "statistics.h" -#include "string_util.h" -#include "thread_manager.h" -#include "thread_timer.h" - -DEFINE_bool(benchmark_list_tests, false, - "Print a list of benchmarks. This option overrides all other " - "options."); - -DEFINE_string(benchmark_filter, ".", - "A regular expression that specifies the set of benchmarks " - "to execute. If this flag is empty, or if this flag is the " - "string \"all\", all benchmarks linked into the binary are " - "run."); - -DEFINE_double(benchmark_min_time, 0.5, - "Minimum number of seconds we should run benchmark before " - "results are considered significant. For cpu-time based " - "tests, this is the lower bound on the total cpu time " - "used by all threads that make up the test. For real-time " - "based tests, this is the lower bound on the elapsed time " - "of the benchmark execution, regardless of number of " - "threads."); - -DEFINE_int32(benchmark_repetitions, 1, - "The number of runs of each benchmark. If greater than 1, the " - "mean and standard deviation of the runs will be reported."); - -DEFINE_bool( - benchmark_report_aggregates_only, false, - "Report the result of each benchmark repetitions. When 'true' is specified " - "only the mean, standard deviation, and other statistics are reported for " - "repeated benchmarks. Affects all reporters."); - -DEFINE_bool( - benchmark_display_aggregates_only, false, - "Display the result of each benchmark repetitions. When 'true' is " - "specified only the mean, standard deviation, and other statistics are " - "displayed for repeated benchmarks. Unlike " - "benchmark_report_aggregates_only, only affects the display reporter, but " - "*NOT* file reporter, which will still contain all the output."); - -DEFINE_string(benchmark_format, "console", - "The format to use for console output. Valid values are " - "'console', 'json', or 'csv'."); - -DEFINE_string(benchmark_out_format, "json", - "The format to use for file output. Valid values are " - "'console', 'json', or 'csv'."); - -DEFINE_string(benchmark_out, "", "The file to write additional output to"); - -DEFINE_string(benchmark_color, "auto", - "Whether to use colors in the output. Valid values: " - "'true'/'yes'/1, 'false'/'no'/0, and 'auto'. 'auto' means to use " - "colors if the output is being sent to a terminal and the TERM " - "environment variable is set to a terminal type that supports " - "colors."); - -DEFINE_bool(benchmark_counters_tabular, false, - "Whether to use tabular format when printing user counters to " - "the console. Valid values: 'true'/'yes'/1, 'false'/'no'/0." - "Defaults to false."); - -DEFINE_int32(v, 0, "The level of verbose logging to output"); - -namespace benchmark { - -namespace internal { - -// FIXME: wouldn't LTO mess this up? -void UseCharPointer(char const volatile*) {} - -} // namespace internal - -State::State(size_t max_iters, const std::vector& ranges, int thread_i, - int n_threads, internal::ThreadTimer* timer, - internal::ThreadManager* manager) - : total_iterations_(0), - batch_leftover_(0), - max_iterations(max_iters), - started_(false), - finished_(false), - error_occurred_(false), - range_(ranges), - complexity_n_(0), - counters(), - thread_index(thread_i), - threads(n_threads), - timer_(timer), - manager_(manager) { - CHECK(max_iterations != 0) << "At least one iteration must be run"; - CHECK_LT(thread_index, threads) << "thread_index must be less than threads"; - - // Note: The use of offsetof below is technically undefined until C++17 - // because State is not a standard layout type. However, all compilers - // currently provide well-defined behavior as an extension (which is - // demonstrated since constexpr evaluation must diagnose all undefined - // behavior). However, GCC and Clang also warn about this use of offsetof, - // which must be suppressed. -#if defined(__INTEL_COMPILER) -#pragma warning push -#pragma warning(disable:1875) -#elif defined(__GNUC__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Winvalid-offsetof" -#endif - // Offset tests to ensure commonly accessed data is on the first cache line. - const int cache_line_size = 64; - static_assert(offsetof(State, error_occurred_) <= - (cache_line_size - sizeof(error_occurred_)), - ""); -#if defined(__INTEL_COMPILER) -#pragma warning pop -#elif defined(__GNUC__) -#pragma GCC diagnostic pop -#endif -} - -void State::PauseTiming() { - // Add in time accumulated so far - CHECK(started_ && !finished_ && !error_occurred_); - timer_->StopTimer(); -} - -void State::ResumeTiming() { - CHECK(started_ && !finished_ && !error_occurred_); - timer_->StartTimer(); -} - -void State::SkipWithError(const char* msg) { - CHECK(msg); - error_occurred_ = true; - { - MutexLock l(manager_->GetBenchmarkMutex()); - if (manager_->results.has_error_ == false) { - manager_->results.error_message_ = msg; - manager_->results.has_error_ = true; - } - } - total_iterations_ = 0; - if (timer_->running()) timer_->StopTimer(); -} - -void State::SetIterationTime(double seconds) { - timer_->SetIterationTime(seconds); -} - -void State::SetLabel(const char* label) { - MutexLock l(manager_->GetBenchmarkMutex()); - manager_->results.report_label_ = label; -} - -void State::StartKeepRunning() { - CHECK(!started_ && !finished_); - started_ = true; - total_iterations_ = error_occurred_ ? 0 : max_iterations; - manager_->StartStopBarrier(); - if (!error_occurred_) ResumeTiming(); -} - -void State::FinishKeepRunning() { - CHECK(started_ && (!finished_ || error_occurred_)); - if (!error_occurred_) { - PauseTiming(); - } - // Total iterations has now wrapped around past 0. Fix this. - total_iterations_ = 0; - finished_ = true; - manager_->StartStopBarrier(); -} - -namespace internal { -namespace { - -void RunBenchmarks(const std::vector& benchmarks, - BenchmarkReporter* display_reporter, - BenchmarkReporter* file_reporter) { - // Note the file_reporter can be null. - CHECK(display_reporter != nullptr); - - // Determine the width of the name field using a minimum width of 10. - bool might_have_aggregates = FLAGS_benchmark_repetitions > 1; - size_t name_field_width = 10; - size_t stat_field_width = 0; - for (const BenchmarkInstance& benchmark : benchmarks) { - name_field_width = - std::max(name_field_width, benchmark.name.size()); - might_have_aggregates |= benchmark.repetitions > 1; - - for (const auto& Stat : *benchmark.statistics) - stat_field_width = std::max(stat_field_width, Stat.name_.size()); - } - if (might_have_aggregates) name_field_width += 1 + stat_field_width; - - // Print header here - BenchmarkReporter::Context context; - context.name_field_width = name_field_width; - - // Keep track of running times of all instances of current benchmark - std::vector complexity_reports; - - // We flush streams after invoking reporter methods that write to them. This - // ensures users get timely updates even when streams are not line-buffered. - auto flushStreams = [](BenchmarkReporter* reporter) { - if (!reporter) return; - std::flush(reporter->GetOutputStream()); - std::flush(reporter->GetErrorStream()); - }; - - if (display_reporter->ReportContext(context) && - (!file_reporter || file_reporter->ReportContext(context))) { - flushStreams(display_reporter); - flushStreams(file_reporter); - - for (const auto& benchmark : benchmarks) { - RunResults run_results = RunBenchmark(benchmark, &complexity_reports); - - auto report = [&run_results](BenchmarkReporter* reporter, - bool report_aggregates_only) { - assert(reporter); - // If there are no aggregates, do output non-aggregates. - report_aggregates_only &= !run_results.aggregates_only.empty(); - if (!report_aggregates_only) - reporter->ReportRuns(run_results.non_aggregates); - if (!run_results.aggregates_only.empty()) - reporter->ReportRuns(run_results.aggregates_only); - }; - - report(display_reporter, run_results.display_report_aggregates_only); - if (file_reporter) - report(file_reporter, run_results.file_report_aggregates_only); - - flushStreams(display_reporter); - flushStreams(file_reporter); - } - } - display_reporter->Finalize(); - if (file_reporter) file_reporter->Finalize(); - flushStreams(display_reporter); - flushStreams(file_reporter); -} - -std::unique_ptr CreateReporter( - std::string const& name, ConsoleReporter::OutputOptions output_opts) { - typedef std::unique_ptr PtrType; - if (name == "console") { - return PtrType(new ConsoleReporter(output_opts)); - } else if (name == "json") { - return PtrType(new JSONReporter); - } else if (name == "csv") { - return PtrType(new CSVReporter); - } else { - std::cerr << "Unexpected format: '" << name << "'\n"; - std::exit(1); - } -} - -} // end namespace - -bool IsZero(double n) { - return std::abs(n) < std::numeric_limits::epsilon(); -} - -ConsoleReporter::OutputOptions GetOutputOptions(bool force_no_color) { - int output_opts = ConsoleReporter::OO_Defaults; - auto is_benchmark_color = [force_no_color] () -> bool { - if (force_no_color) { - return false; - } - if (FLAGS_benchmark_color == "auto") { - return IsColorTerminal(); - } - return IsTruthyFlagValue(FLAGS_benchmark_color); - }; - if (is_benchmark_color()) { - output_opts |= ConsoleReporter::OO_Color; - } else { - output_opts &= ~ConsoleReporter::OO_Color; - } - if (FLAGS_benchmark_counters_tabular) { - output_opts |= ConsoleReporter::OO_Tabular; - } else { - output_opts &= ~ConsoleReporter::OO_Tabular; - } - return static_cast(output_opts); -} - -} // end namespace internal - -size_t RunSpecifiedBenchmarks() { - return RunSpecifiedBenchmarks(nullptr, nullptr); -} - -size_t RunSpecifiedBenchmarks(BenchmarkReporter* display_reporter) { - return RunSpecifiedBenchmarks(display_reporter, nullptr); -} - -size_t RunSpecifiedBenchmarks(BenchmarkReporter* display_reporter, - BenchmarkReporter* file_reporter) { - std::string spec = FLAGS_benchmark_filter; - if (spec.empty() || spec == "all") - spec = "."; // Regexp that matches all benchmarks - - // Setup the reporters - std::ofstream output_file; - std::unique_ptr default_display_reporter; - std::unique_ptr default_file_reporter; - if (!display_reporter) { - default_display_reporter = internal::CreateReporter( - FLAGS_benchmark_format, internal::GetOutputOptions()); - display_reporter = default_display_reporter.get(); - } - auto& Out = display_reporter->GetOutputStream(); - auto& Err = display_reporter->GetErrorStream(); - - std::string const& fname = FLAGS_benchmark_out; - if (fname.empty() && file_reporter) { - Err << "A custom file reporter was provided but " - "--benchmark_out= was not specified." - << std::endl; - std::exit(1); - } - if (!fname.empty()) { - output_file.open(fname); - if (!output_file.is_open()) { - Err << "invalid file name: '" << fname << std::endl; - std::exit(1); - } - if (!file_reporter) { - default_file_reporter = internal::CreateReporter( - FLAGS_benchmark_out_format, ConsoleReporter::OO_None); - file_reporter = default_file_reporter.get(); - } - file_reporter->SetOutputStream(&output_file); - file_reporter->SetErrorStream(&output_file); - } - - std::vector benchmarks; - if (!FindBenchmarksInternal(spec, &benchmarks, &Err)) return 0; - - if (benchmarks.empty()) { - Err << "Failed to match any benchmarks against regex: " << spec << "\n"; - return 0; - } - - if (FLAGS_benchmark_list_tests) { - for (auto const& benchmark : benchmarks) Out << benchmark.name << "\n"; - } else { - internal::RunBenchmarks(benchmarks, display_reporter, file_reporter); - } - - return benchmarks.size(); -} - -void RegisterMemoryManager(MemoryManager* manager) { - internal::memory_manager = manager; -} - -namespace internal { - -void PrintUsageAndExit() { - fprintf(stdout, - "benchmark" - " [--benchmark_list_tests={true|false}]\n" - " [--benchmark_filter=]\n" - " [--benchmark_min_time=]\n" - " [--benchmark_repetitions=]\n" - " [--benchmark_report_aggregates_only={true|false}]\n" - " [--benchmark_display_aggregates_only={true|false}]\n" - " [--benchmark_format=]\n" - " [--benchmark_out=]\n" - " [--benchmark_out_format=]\n" - " [--benchmark_color={auto|true|false}]\n" - " [--benchmark_counters_tabular={true|false}]\n" - " [--v=]\n"); - exit(0); -} - -void ParseCommandLineFlags(int* argc, char** argv) { - using namespace benchmark; - BenchmarkReporter::Context::executable_name = - (argc && *argc > 0) ? argv[0] : "unknown"; - for (int i = 1; i < *argc; ++i) { - if (ParseBoolFlag(argv[i], "benchmark_list_tests", - &FLAGS_benchmark_list_tests) || - ParseStringFlag(argv[i], "benchmark_filter", &FLAGS_benchmark_filter) || - ParseDoubleFlag(argv[i], "benchmark_min_time", - &FLAGS_benchmark_min_time) || - ParseInt32Flag(argv[i], "benchmark_repetitions", - &FLAGS_benchmark_repetitions) || - ParseBoolFlag(argv[i], "benchmark_report_aggregates_only", - &FLAGS_benchmark_report_aggregates_only) || - ParseBoolFlag(argv[i], "benchmark_display_aggregates_only", - &FLAGS_benchmark_display_aggregates_only) || - ParseStringFlag(argv[i], "benchmark_format", &FLAGS_benchmark_format) || - ParseStringFlag(argv[i], "benchmark_out", &FLAGS_benchmark_out) || - ParseStringFlag(argv[i], "benchmark_out_format", - &FLAGS_benchmark_out_format) || - ParseStringFlag(argv[i], "benchmark_color", &FLAGS_benchmark_color) || - // "color_print" is the deprecated name for "benchmark_color". - // TODO: Remove this. - ParseStringFlag(argv[i], "color_print", &FLAGS_benchmark_color) || - ParseBoolFlag(argv[i], "benchmark_counters_tabular", - &FLAGS_benchmark_counters_tabular) || - ParseInt32Flag(argv[i], "v", &FLAGS_v)) { - for (int j = i; j != *argc - 1; ++j) argv[j] = argv[j + 1]; - - --(*argc); - --i; - } else if (IsFlag(argv[i], "help")) { - PrintUsageAndExit(); - } - } - for (auto const* flag : - {&FLAGS_benchmark_format, &FLAGS_benchmark_out_format}) - if (*flag != "console" && *flag != "json" && *flag != "csv") { - PrintUsageAndExit(); - } - if (FLAGS_benchmark_color.empty()) { - PrintUsageAndExit(); - } -} - -int InitializeStreams() { - static std::ios_base::Init init; - return 0; -} - -} // end namespace internal - -void Initialize(int* argc, char** argv) { - internal::ParseCommandLineFlags(argc, argv); - internal::LogLevel() = FLAGS_v; -} - -bool ReportUnrecognizedArguments(int argc, char** argv) { - for (int i = 1; i < argc; ++i) { - fprintf(stderr, "%s: error: unrecognized command-line flag: %s\n", argv[0], - argv[i]); - } - return argc > 1; -} - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_api_internal.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_api_internal.cc deleted file mode 100644 index 8d3108363b..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_api_internal.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include "benchmark_api_internal.h" - -namespace benchmark { -namespace internal { - -State BenchmarkInstance::Run( - size_t iters, int thread_id, internal::ThreadTimer* timer, - internal::ThreadManager* manager) const { - State st(iters, arg, thread_id, threads, timer, manager); - benchmark->Run(st); - return st; -} - -} // internal -} // benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_api_internal.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_api_internal.h deleted file mode 100644 index 0524a85c01..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_api_internal.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef BENCHMARK_API_INTERNAL_H -#define BENCHMARK_API_INTERNAL_H - -#include "benchmark/benchmark.h" -#include "commandlineflags.h" - -#include -#include -#include -#include -#include -#include - -namespace benchmark { -namespace internal { - -// Information kept per benchmark we may want to run -struct BenchmarkInstance { - std::string name; - Benchmark* benchmark; - AggregationReportMode aggregation_report_mode; - std::vector arg; - TimeUnit time_unit; - int range_multiplier; - bool use_real_time; - bool use_manual_time; - BigO complexity; - BigOFunc* complexity_lambda; - UserCounters counters; - const std::vector* statistics; - bool last_benchmark_instance; - int repetitions; - double min_time; - size_t iterations; - int threads; // Number of concurrent threads to us - - State Run(size_t iters, int thread_id, internal::ThreadTimer* timer, - internal::ThreadManager* manager) const; -}; - -bool FindBenchmarksInternal(const std::string& re, - std::vector* benchmarks, - std::ostream* Err); - -bool IsZero(double n); - -ConsoleReporter::OutputOptions GetOutputOptions(bool force_no_color = false); - -} // end namespace internal -} // end namespace benchmark - -#endif // BENCHMARK_API_INTERNAL_H diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_main.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_main.cc deleted file mode 100644 index b3b2478314..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_main.cc +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2018 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark/benchmark.h" - -BENCHMARK_MAIN(); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_register.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_register.cc deleted file mode 100644 index f17f5b223c..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_register.cc +++ /dev/null @@ -1,482 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark_register.h" - -#ifndef BENCHMARK_OS_WINDOWS -#ifndef BENCHMARK_OS_FUCHSIA -#include -#endif -#include -#include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "benchmark/benchmark.h" -#include "benchmark_api_internal.h" -#include "check.h" -#include "commandlineflags.h" -#include "complexity.h" -#include "internal_macros.h" -#include "log.h" -#include "mutex.h" -#include "re.h" -#include "statistics.h" -#include "string_util.h" -#include "timers.h" - -namespace benchmark { - -namespace { -// For non-dense Range, intermediate values are powers of kRangeMultiplier. -static const int kRangeMultiplier = 8; -// The size of a benchmark family determines is the number of inputs to repeat -// the benchmark on. If this is "large" then warn the user during configuration. -static const size_t kMaxFamilySize = 100; -} // end namespace - -namespace internal { - -//=============================================================================// -// BenchmarkFamilies -//=============================================================================// - -// Class for managing registered benchmarks. Note that each registered -// benchmark identifies a family of related benchmarks to run. -class BenchmarkFamilies { - public: - static BenchmarkFamilies* GetInstance(); - - // Registers a benchmark family and returns the index assigned to it. - size_t AddBenchmark(std::unique_ptr family); - - // Clear all registered benchmark families. - void ClearBenchmarks(); - - // Extract the list of benchmark instances that match the specified - // regular expression. - bool FindBenchmarks(std::string re, - std::vector* benchmarks, - std::ostream* Err); - - private: - BenchmarkFamilies() {} - - std::vector> families_; - Mutex mutex_; -}; - -BenchmarkFamilies* BenchmarkFamilies::GetInstance() { - static BenchmarkFamilies instance; - return &instance; -} - -size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr family) { - MutexLock l(mutex_); - size_t index = families_.size(); - families_.push_back(std::move(family)); - return index; -} - -void BenchmarkFamilies::ClearBenchmarks() { - MutexLock l(mutex_); - families_.clear(); - families_.shrink_to_fit(); -} - -bool BenchmarkFamilies::FindBenchmarks( - std::string spec, std::vector* benchmarks, - std::ostream* ErrStream) { - CHECK(ErrStream); - auto& Err = *ErrStream; - // Make regular expression out of command-line flag - std::string error_msg; - Regex re; - bool isNegativeFilter = false; - if (spec[0] == '-') { - spec.replace(0, 1, ""); - isNegativeFilter = true; - } - if (!re.Init(spec, &error_msg)) { - Err << "Could not compile benchmark re: " << error_msg << std::endl; - return false; - } - - // Special list of thread counts to use when none are specified - const std::vector one_thread = {1}; - - MutexLock l(mutex_); - for (std::unique_ptr& family : families_) { - // Family was deleted or benchmark doesn't match - if (!family) continue; - - if (family->ArgsCnt() == -1) { - family->Args({}); - } - const std::vector* thread_counts = - (family->thread_counts_.empty() - ? &one_thread - : &static_cast&>(family->thread_counts_)); - const size_t family_size = family->args_.size() * thread_counts->size(); - // The benchmark will be run at least 'family_size' different inputs. - // If 'family_size' is very large warn the user. - if (family_size > kMaxFamilySize) { - Err << "The number of inputs is very large. " << family->name_ - << " will be repeated at least " << family_size << " times.\n"; - } - // reserve in the special case the regex ".", since we know the final - // family size. - if (spec == ".") benchmarks->reserve(family_size); - - for (auto const& args : family->args_) { - for (int num_threads : *thread_counts) { - BenchmarkInstance instance; - instance.name = family->name_; - instance.benchmark = family.get(); - instance.aggregation_report_mode = family->aggregation_report_mode_; - instance.arg = args; - instance.time_unit = family->time_unit_; - instance.range_multiplier = family->range_multiplier_; - instance.min_time = family->min_time_; - instance.iterations = family->iterations_; - instance.repetitions = family->repetitions_; - instance.use_real_time = family->use_real_time_; - instance.use_manual_time = family->use_manual_time_; - instance.complexity = family->complexity_; - instance.complexity_lambda = family->complexity_lambda_; - instance.statistics = &family->statistics_; - instance.threads = num_threads; - - // Add arguments to instance name - size_t arg_i = 0; - for (auto const& arg : args) { - instance.name += "/"; - - if (arg_i < family->arg_names_.size()) { - const auto& arg_name = family->arg_names_[arg_i]; - if (!arg_name.empty()) { - instance.name += - StrFormat("%s:", family->arg_names_[arg_i].c_str()); - } - } - - // we know that the args are always non-negative (see 'AddRange()'), - // thus print as 'unsigned'. BUT, do a cast due to the 32-bit builds. - instance.name += StrFormat("%lu", static_cast(arg)); - ++arg_i; - } - - if (!IsZero(family->min_time_)) - instance.name += StrFormat("/min_time:%0.3f", family->min_time_); - if (family->iterations_ != 0) { - instance.name += - StrFormat("/iterations:%lu", - static_cast(family->iterations_)); - } - if (family->repetitions_ != 0) - instance.name += StrFormat("/repeats:%d", family->repetitions_); - - if (family->use_manual_time_) { - instance.name += "/manual_time"; - } else if (family->use_real_time_) { - instance.name += "/real_time"; - } - - // Add the number of threads used to the name - if (!family->thread_counts_.empty()) { - instance.name += StrFormat("/threads:%d", instance.threads); - } - - if ((re.Match(instance.name) && !isNegativeFilter) || - (!re.Match(instance.name) && isNegativeFilter)) { - instance.last_benchmark_instance = (&args == &family->args_.back()); - benchmarks->push_back(std::move(instance)); - } - } - } - } - return true; -} - -Benchmark* RegisterBenchmarkInternal(Benchmark* bench) { - std::unique_ptr bench_ptr(bench); - BenchmarkFamilies* families = BenchmarkFamilies::GetInstance(); - families->AddBenchmark(std::move(bench_ptr)); - return bench; -} - -// FIXME: This function is a hack so that benchmark.cc can access -// `BenchmarkFamilies` -bool FindBenchmarksInternal(const std::string& re, - std::vector* benchmarks, - std::ostream* Err) { - return BenchmarkFamilies::GetInstance()->FindBenchmarks(re, benchmarks, Err); -} - -//=============================================================================// -// Benchmark -//=============================================================================// - -Benchmark::Benchmark(const char* name) - : name_(name), - aggregation_report_mode_(ARM_Unspecified), - time_unit_(kNanosecond), - range_multiplier_(kRangeMultiplier), - min_time_(0), - iterations_(0), - repetitions_(0), - use_real_time_(false), - use_manual_time_(false), - complexity_(oNone), - complexity_lambda_(nullptr) { - ComputeStatistics("mean", StatisticsMean); - ComputeStatistics("median", StatisticsMedian); - ComputeStatistics("stddev", StatisticsStdDev); -} - -Benchmark::~Benchmark() {} - -Benchmark* Benchmark::Arg(int64_t x) { - CHECK(ArgsCnt() == -1 || ArgsCnt() == 1); - args_.push_back({x}); - return this; -} - -Benchmark* Benchmark::Unit(TimeUnit unit) { - time_unit_ = unit; - return this; -} - -Benchmark* Benchmark::Range(int64_t start, int64_t limit) { - CHECK(ArgsCnt() == -1 || ArgsCnt() == 1); - std::vector arglist; - AddRange(&arglist, start, limit, range_multiplier_); - - for (int64_t i : arglist) { - args_.push_back({i}); - } - return this; -} - -Benchmark* Benchmark::Ranges( - const std::vector>& ranges) { - CHECK(ArgsCnt() == -1 || ArgsCnt() == static_cast(ranges.size())); - std::vector> arglists(ranges.size()); - std::size_t total = 1; - for (std::size_t i = 0; i < ranges.size(); i++) { - AddRange(&arglists[i], ranges[i].first, ranges[i].second, - range_multiplier_); - total *= arglists[i].size(); - } - - std::vector ctr(arglists.size(), 0); - - for (std::size_t i = 0; i < total; i++) { - std::vector tmp; - tmp.reserve(arglists.size()); - - for (std::size_t j = 0; j < arglists.size(); j++) { - tmp.push_back(arglists[j].at(ctr[j])); - } - - args_.push_back(std::move(tmp)); - - for (std::size_t j = 0; j < arglists.size(); j++) { - if (ctr[j] + 1 < arglists[j].size()) { - ++ctr[j]; - break; - } - ctr[j] = 0; - } - } - return this; -} - -Benchmark* Benchmark::ArgName(const std::string& name) { - CHECK(ArgsCnt() == -1 || ArgsCnt() == 1); - arg_names_ = {name}; - return this; -} - -Benchmark* Benchmark::ArgNames(const std::vector& names) { - CHECK(ArgsCnt() == -1 || ArgsCnt() == static_cast(names.size())); - arg_names_ = names; - return this; -} - -Benchmark* Benchmark::DenseRange(int64_t start, int64_t limit, int step) { - CHECK(ArgsCnt() == -1 || ArgsCnt() == 1); - CHECK_GE(start, 0); - CHECK_LE(start, limit); - for (int64_t arg = start; arg <= limit; arg += step) { - args_.push_back({arg}); - } - return this; -} - -Benchmark* Benchmark::Args(const std::vector& args) { - CHECK(ArgsCnt() == -1 || ArgsCnt() == static_cast(args.size())); - args_.push_back(args); - return this; -} - -Benchmark* Benchmark::Apply(void (*custom_arguments)(Benchmark* benchmark)) { - custom_arguments(this); - return this; -} - -Benchmark* Benchmark::RangeMultiplier(int multiplier) { - CHECK(multiplier > 1); - range_multiplier_ = multiplier; - return this; -} - -Benchmark* Benchmark::MinTime(double t) { - CHECK(t > 0.0); - CHECK(iterations_ == 0); - min_time_ = t; - return this; -} - -Benchmark* Benchmark::Iterations(size_t n) { - CHECK(n > 0); - CHECK(IsZero(min_time_)); - iterations_ = n; - return this; -} - -Benchmark* Benchmark::Repetitions(int n) { - CHECK(n > 0); - repetitions_ = n; - return this; -} - -Benchmark* Benchmark::ReportAggregatesOnly(bool value) { - aggregation_report_mode_ = value ? ARM_ReportAggregatesOnly : ARM_Default; - return this; -} - -Benchmark* Benchmark::DisplayAggregatesOnly(bool value) { - // If we were called, the report mode is no longer 'unspecified', in any case. - aggregation_report_mode_ = static_cast( - aggregation_report_mode_ | ARM_Default); - - if (value) { - aggregation_report_mode_ = static_cast( - aggregation_report_mode_ | ARM_DisplayReportAggregatesOnly); - } else { - aggregation_report_mode_ = static_cast( - aggregation_report_mode_ & ~ARM_DisplayReportAggregatesOnly); - } - - return this; -} - -Benchmark* Benchmark::UseRealTime() { - CHECK(!use_manual_time_) - << "Cannot set UseRealTime and UseManualTime simultaneously."; - use_real_time_ = true; - return this; -} - -Benchmark* Benchmark::UseManualTime() { - CHECK(!use_real_time_) - << "Cannot set UseRealTime and UseManualTime simultaneously."; - use_manual_time_ = true; - return this; -} - -Benchmark* Benchmark::Complexity(BigO complexity) { - complexity_ = complexity; - return this; -} - -Benchmark* Benchmark::Complexity(BigOFunc* complexity) { - complexity_lambda_ = complexity; - complexity_ = oLambda; - return this; -} - -Benchmark* Benchmark::ComputeStatistics(std::string name, - StatisticsFunc* statistics) { - statistics_.emplace_back(name, statistics); - return this; -} - -Benchmark* Benchmark::Threads(int t) { - CHECK_GT(t, 0); - thread_counts_.push_back(t); - return this; -} - -Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { - CHECK_GT(min_threads, 0); - CHECK_GE(max_threads, min_threads); - - AddRange(&thread_counts_, min_threads, max_threads, 2); - return this; -} - -Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, - int stride) { - CHECK_GT(min_threads, 0); - CHECK_GE(max_threads, min_threads); - CHECK_GE(stride, 1); - - for (auto i = min_threads; i < max_threads; i += stride) { - thread_counts_.push_back(i); - } - thread_counts_.push_back(max_threads); - return this; -} - -Benchmark* Benchmark::ThreadPerCpu() { - thread_counts_.push_back(CPUInfo::Get().num_cpus); - return this; -} - -void Benchmark::SetName(const char* name) { name_ = name; } - -int Benchmark::ArgsCnt() const { - if (args_.empty()) { - if (arg_names_.empty()) return -1; - return static_cast(arg_names_.size()); - } - return static_cast(args_.front().size()); -} - -//=============================================================================// -// FunctionBenchmark -//=============================================================================// - -void FunctionBenchmark::Run(State& st) { func_(st); } - -} // end namespace internal - -void ClearRegisteredBenchmarks() { - internal::BenchmarkFamilies::GetInstance()->ClearBenchmarks(); -} - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_register.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_register.h deleted file mode 100644 index 0705e219f2..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_register.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef BENCHMARK_REGISTER_H -#define BENCHMARK_REGISTER_H - -#include - -#include "check.h" - -template -void AddRange(std::vector* dst, T lo, T hi, int mult) { - CHECK_GE(lo, 0); - CHECK_GE(hi, lo); - CHECK_GE(mult, 2); - - // Add "lo" - dst->push_back(lo); - - static const T kmax = std::numeric_limits::max(); - - // Now space out the benchmarks in multiples of "mult" - for (T i = 1; i < kmax / mult; i *= mult) { - if (i >= hi) break; - if (i > lo) { - dst->push_back(i); - } - } - - // Add "hi" (if different from "lo") - if (hi != lo) { - dst->push_back(hi); - } -} - -#endif // BENCHMARK_REGISTER_H diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_runner.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_runner.cc deleted file mode 100644 index 38faeec8e3..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_runner.cc +++ /dev/null @@ -1,350 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark_runner.h" -#include "benchmark/benchmark.h" -#include "benchmark_api_internal.h" -#include "internal_macros.h" - -#ifndef BENCHMARK_OS_WINDOWS -#ifndef BENCHMARK_OS_FUCHSIA -#include -#endif -#include -#include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "check.h" -#include "colorprint.h" -#include "commandlineflags.h" -#include "complexity.h" -#include "counter.h" -#include "internal_macros.h" -#include "log.h" -#include "mutex.h" -#include "re.h" -#include "statistics.h" -#include "string_util.h" -#include "thread_manager.h" -#include "thread_timer.h" - -namespace benchmark { - -namespace internal { - -MemoryManager* memory_manager = nullptr; - -namespace { - -static const size_t kMaxIterations = 1000000000; - -BenchmarkReporter::Run CreateRunReport( - const benchmark::internal::BenchmarkInstance& b, - const internal::ThreadManager::Result& results, size_t memory_iterations, - const MemoryManager::Result& memory_result, double seconds) { - // Create report about this benchmark run. - BenchmarkReporter::Run report; - - report.run_name = b.name; - report.error_occurred = results.has_error_; - report.error_message = results.error_message_; - report.report_label = results.report_label_; - // This is the total iterations across all threads. - report.iterations = results.iterations; - report.time_unit = b.time_unit; - - if (!report.error_occurred) { - if (b.use_manual_time) { - report.real_accumulated_time = results.manual_time_used; - } else { - report.real_accumulated_time = results.real_time_used; - } - report.cpu_accumulated_time = results.cpu_time_used; - report.complexity_n = results.complexity_n; - report.complexity = b.complexity; - report.complexity_lambda = b.complexity_lambda; - report.statistics = b.statistics; - report.counters = results.counters; - - if (memory_iterations > 0) { - report.has_memory_result = true; - report.allocs_per_iter = - memory_iterations ? static_cast(memory_result.num_allocs) / - memory_iterations - : 0; - report.max_bytes_used = memory_result.max_bytes_used; - } - - internal::Finish(&report.counters, results.iterations, seconds, b.threads); - } - return report; -} - -// Execute one thread of benchmark b for the specified number of iterations. -// Adds the stats collected for the thread into *total. -void RunInThread(const BenchmarkInstance* b, size_t iters, int thread_id, - ThreadManager* manager) { - internal::ThreadTimer timer; - State st = b->Run(iters, thread_id, &timer, manager); - CHECK(st.iterations() >= st.max_iterations) - << "Benchmark returned before State::KeepRunning() returned false!"; - { - MutexLock l(manager->GetBenchmarkMutex()); - internal::ThreadManager::Result& results = manager->results; - results.iterations += st.iterations(); - results.cpu_time_used += timer.cpu_time_used(); - results.real_time_used += timer.real_time_used(); - results.manual_time_used += timer.manual_time_used(); - results.complexity_n += st.complexity_length_n(); - internal::Increment(&results.counters, st.counters); - } - manager->NotifyThreadComplete(); -} - -class BenchmarkRunner { - public: - BenchmarkRunner(const benchmark::internal::BenchmarkInstance& b_, - std::vector* complexity_reports_) - : b(b_), - complexity_reports(*complexity_reports_), - min_time(!IsZero(b.min_time) ? b.min_time : FLAGS_benchmark_min_time), - repeats(b.repetitions != 0 ? b.repetitions - : FLAGS_benchmark_repetitions), - has_explicit_iteration_count(b.iterations != 0), - pool(b.threads - 1), - iters(has_explicit_iteration_count ? b.iterations : 1) { - run_results.display_report_aggregates_only = - (FLAGS_benchmark_report_aggregates_only || - FLAGS_benchmark_display_aggregates_only); - run_results.file_report_aggregates_only = - FLAGS_benchmark_report_aggregates_only; - if (b.aggregation_report_mode != internal::ARM_Unspecified) { - run_results.display_report_aggregates_only = - (b.aggregation_report_mode & - internal::ARM_DisplayReportAggregatesOnly); - run_results.file_report_aggregates_only = - (b.aggregation_report_mode & internal::ARM_FileReportAggregatesOnly); - } - - for (int repetition_num = 0; repetition_num < repeats; repetition_num++) { - const bool is_the_first_repetition = repetition_num == 0; - DoOneRepetition(is_the_first_repetition); - } - - // Calculate additional statistics - run_results.aggregates_only = ComputeStats(run_results.non_aggregates); - - // Maybe calculate complexity report - if ((b.complexity != oNone) && b.last_benchmark_instance) { - auto additional_run_stats = ComputeBigO(complexity_reports); - run_results.aggregates_only.insert(run_results.aggregates_only.end(), - additional_run_stats.begin(), - additional_run_stats.end()); - complexity_reports.clear(); - } - } - - RunResults&& get_results() { return std::move(run_results); } - - private: - RunResults run_results; - - const benchmark::internal::BenchmarkInstance& b; - std::vector& complexity_reports; - - const double min_time; - const int repeats; - const bool has_explicit_iteration_count; - - std::vector pool; - - size_t iters; // preserved between repetitions! - // So only the first repetition has to find/calculate it, - // the other repetitions will just use that precomputed iteration count. - - struct IterationResults { - internal::ThreadManager::Result results; - size_t iters; - double seconds; - }; - IterationResults DoNIterations() { - VLOG(2) << "Running " << b.name << " for " << iters << "\n"; - - std::unique_ptr manager; - manager.reset(new internal::ThreadManager(b.threads)); - - // Run all but one thread in separate threads - for (std::size_t ti = 0; ti < pool.size(); ++ti) { - pool[ti] = std::thread(&RunInThread, &b, iters, static_cast(ti + 1), - manager.get()); - } - // And run one thread here directly. - // (If we were asked to run just one thread, we don't create new threads.) - // Yes, we need to do this here *after* we start the separate threads. - RunInThread(&b, iters, 0, manager.get()); - - // The main thread has finished. Now let's wait for the other threads. - manager->WaitForAllThreads(); - for (std::thread& thread : pool) thread.join(); - - IterationResults i; - // Acquire the measurements/counters from the manager, UNDER THE LOCK! - { - MutexLock l(manager->GetBenchmarkMutex()); - i.results = manager->results; - } - - // And get rid of the manager. - manager.reset(); - - // Adjust real/manual time stats since they were reported per thread. - i.results.real_time_used /= b.threads; - i.results.manual_time_used /= b.threads; - - VLOG(2) << "Ran in " << i.results.cpu_time_used << "/" - << i.results.real_time_used << "\n"; - - // So for how long were we running? - i.iters = iters; - // Base decisions off of real time if requested by this benchmark. - i.seconds = i.results.cpu_time_used; - if (b.use_manual_time) { - i.seconds = i.results.manual_time_used; - } else if (b.use_real_time) { - i.seconds = i.results.real_time_used; - } - - return i; - } - - size_t PredictNumItersNeeded(const IterationResults& i) const { - // See how much iterations should be increased by. - // Note: Avoid division by zero with max(seconds, 1ns). - double multiplier = min_time * 1.4 / std::max(i.seconds, 1e-9); - // If our last run was at least 10% of FLAGS_benchmark_min_time then we - // use the multiplier directly. - // Otherwise we use at most 10 times expansion. - // NOTE: When the last run was at least 10% of the min time the max - // expansion should be 14x. - bool is_significant = (i.seconds / min_time) > 0.1; - multiplier = is_significant ? multiplier : std::min(10.0, multiplier); - if (multiplier <= 1.0) multiplier = 2.0; - - // So what seems to be the sufficiently-large iteration count? Round up. - const size_t max_next_iters = - 0.5 + std::max(multiplier * i.iters, i.iters + 1.0); - // But we do have *some* sanity limits though.. - const size_t next_iters = std::min(max_next_iters, kMaxIterations); - - VLOG(3) << "Next iters: " << next_iters << ", " << multiplier << "\n"; - return next_iters; // round up before conversion to integer. - } - - bool ShouldReportIterationResults(const IterationResults& i) const { - // Determine if this run should be reported; - // Either it has run for a sufficient amount of time - // or because an error was reported. - return i.results.has_error_ || - i.iters >= kMaxIterations || // Too many iterations already. - i.seconds >= min_time || // The elapsed time is large enough. - // CPU time is specified but the elapsed real time greatly exceeds - // the minimum time. - // Note that user provided timers are except from this sanity check. - ((i.results.real_time_used >= 5 * min_time) && !b.use_manual_time); - } - - void DoOneRepetition(bool is_the_first_repetition) { - IterationResults i; - - // We *may* be gradually increasing the length (iteration count) - // of the benchmark until we decide the results are significant. - // And once we do, we report those last results and exit. - // Please do note that the if there are repetitions, the iteration count - // is *only* calculated for the *first* repetition, and other repetitions - // simply use that precomputed iteration count. - for (;;) { - i = DoNIterations(); - - // Do we consider the results to be significant? - // If we are doing repetitions, and the first repetition was already done, - // it has calculated the correct iteration time, so we have run that very - // iteration count just now. No need to calculate anything. Just report. - // Else, the normal rules apply. - const bool results_are_significant = !is_the_first_repetition || - has_explicit_iteration_count || - ShouldReportIterationResults(i); - - if (results_are_significant) break; // Good, let's report them! - - // Nope, bad iteration. Let's re-estimate the hopefully-sufficient - // iteration count, and run the benchmark again... - - iters = PredictNumItersNeeded(i); - assert(iters > i.iters && - "if we did more iterations than we want to do the next time, " - "then we should have accepted the current iteration run."); - } - - // Oh, one last thing, we need to also produce the 'memory measurements'.. - MemoryManager::Result memory_result; - size_t memory_iterations = 0; - if (memory_manager != nullptr) { - // Only run a few iterations to reduce the impact of one-time - // allocations in benchmarks that are not properly managed. - memory_iterations = std::min(16, iters); - memory_manager->Start(); - std::unique_ptr manager; - manager.reset(new internal::ThreadManager(1)); - RunInThread(&b, memory_iterations, 0, manager.get()); - manager->WaitForAllThreads(); - manager.reset(); - - memory_manager->Stop(&memory_result); - } - - // Ok, now actualy report. - BenchmarkReporter::Run report = CreateRunReport( - b, i.results, memory_iterations, memory_result, i.seconds); - - if (!report.error_occurred && b.complexity != oNone) - complexity_reports.push_back(report); - - run_results.non_aggregates.push_back(report); - } -}; - -} // end namespace - -RunResults RunBenchmark( - const benchmark::internal::BenchmarkInstance& b, - std::vector* complexity_reports) { - internal::BenchmarkRunner r(b, complexity_reports); - return r.get_results(); -} - -} // end namespace internal - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_runner.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_runner.h deleted file mode 100644 index 96e8282a11..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/benchmark_runner.h +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef BENCHMARK_RUNNER_H_ -#define BENCHMARK_RUNNER_H_ - -#include "benchmark_api_internal.h" -#include "internal_macros.h" - -DECLARE_double(benchmark_min_time); - -DECLARE_int32(benchmark_repetitions); - -DECLARE_bool(benchmark_report_aggregates_only); - -DECLARE_bool(benchmark_display_aggregates_only); - -namespace benchmark { - -namespace internal { - -extern MemoryManager* memory_manager; - -struct RunResults { - std::vector non_aggregates; - std::vector aggregates_only; - - bool display_report_aggregates_only = false; - bool file_report_aggregates_only = false; -}; - -RunResults RunBenchmark( - const benchmark::internal::BenchmarkInstance& b, - std::vector* complexity_reports); - -} // namespace internal - -} // end namespace benchmark - -#endif // BENCHMARK_RUNNER_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/check.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/check.h deleted file mode 100644 index f5f8253f80..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/check.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef CHECK_H_ -#define CHECK_H_ - -#include -#include -#include - -#include "internal_macros.h" -#include "log.h" - -namespace benchmark { -namespace internal { - -typedef void(AbortHandlerT)(); - -inline AbortHandlerT*& GetAbortHandler() { - static AbortHandlerT* handler = &std::abort; - return handler; -} - -BENCHMARK_NORETURN inline void CallAbortHandler() { - GetAbortHandler()(); - std::abort(); // fallback to enforce noreturn -} - -// CheckHandler is the class constructed by failing CHECK macros. CheckHandler -// will log information about the failures and abort when it is destructed. -class CheckHandler { - public: - CheckHandler(const char* check, const char* file, const char* func, int line) - : log_(GetErrorLogInstance()) { - log_ << file << ":" << line << ": " << func << ": Check `" << check - << "' failed. "; - } - - LogType& GetLog() { return log_; } - - BENCHMARK_NORETURN ~CheckHandler() BENCHMARK_NOEXCEPT_OP(false) { - log_ << std::endl; - CallAbortHandler(); - } - - CheckHandler& operator=(const CheckHandler&) = delete; - CheckHandler(const CheckHandler&) = delete; - CheckHandler() = delete; - - private: - LogType& log_; -}; - -} // end namespace internal -} // end namespace benchmark - -// The CHECK macro returns a std::ostream object that can have extra information -// written to it. -#ifndef NDEBUG -#define CHECK(b) \ - (b ? ::benchmark::internal::GetNullLogInstance() \ - : ::benchmark::internal::CheckHandler(#b, __FILE__, __func__, __LINE__) \ - .GetLog()) -#else -#define CHECK(b) ::benchmark::internal::GetNullLogInstance() -#endif - -// clang-format off -// preserve whitespacing between operators for alignment -#define CHECK_EQ(a, b) CHECK((a) == (b)) -#define CHECK_NE(a, b) CHECK((a) != (b)) -#define CHECK_GE(a, b) CHECK((a) >= (b)) -#define CHECK_LE(a, b) CHECK((a) <= (b)) -#define CHECK_GT(a, b) CHECK((a) > (b)) -#define CHECK_LT(a, b) CHECK((a) < (b)) - -#define CHECK_FLOAT_EQ(a, b, eps) CHECK(std::fabs((a) - (b)) < (eps)) -#define CHECK_FLOAT_NE(a, b, eps) CHECK(std::fabs((a) - (b)) >= (eps)) -#define CHECK_FLOAT_GE(a, b, eps) CHECK((a) - (b) > -(eps)) -#define CHECK_FLOAT_LE(a, b, eps) CHECK((b) - (a) > -(eps)) -#define CHECK_FLOAT_GT(a, b, eps) CHECK((a) - (b) > (eps)) -#define CHECK_FLOAT_LT(a, b, eps) CHECK((b) - (a) > (eps)) -//clang-format on - -#endif // CHECK_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/colorprint.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/colorprint.cc deleted file mode 100644 index fff6a98818..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/colorprint.cc +++ /dev/null @@ -1,188 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "colorprint.h" - -#include -#include -#include -#include -#include -#include - -#include "check.h" -#include "internal_macros.h" - -#ifdef BENCHMARK_OS_WINDOWS -#include -#include -#else -#include -#endif // BENCHMARK_OS_WINDOWS - -namespace benchmark { -namespace { -#ifdef BENCHMARK_OS_WINDOWS -typedef WORD PlatformColorCode; -#else -typedef const char* PlatformColorCode; -#endif - -PlatformColorCode GetPlatformColorCode(LogColor color) { -#ifdef BENCHMARK_OS_WINDOWS - switch (color) { - case COLOR_RED: - return FOREGROUND_RED; - case COLOR_GREEN: - return FOREGROUND_GREEN; - case COLOR_YELLOW: - return FOREGROUND_RED | FOREGROUND_GREEN; - case COLOR_BLUE: - return FOREGROUND_BLUE; - case COLOR_MAGENTA: - return FOREGROUND_BLUE | FOREGROUND_RED; - case COLOR_CYAN: - return FOREGROUND_BLUE | FOREGROUND_GREEN; - case COLOR_WHITE: // fall through to default - default: - return 0; - } -#else - switch (color) { - case COLOR_RED: - return "1"; - case COLOR_GREEN: - return "2"; - case COLOR_YELLOW: - return "3"; - case COLOR_BLUE: - return "4"; - case COLOR_MAGENTA: - return "5"; - case COLOR_CYAN: - return "6"; - case COLOR_WHITE: - return "7"; - default: - return nullptr; - }; -#endif -} - -} // end namespace - -std::string FormatString(const char* msg, va_list args) { - // we might need a second shot at this, so pre-emptivly make a copy - va_list args_cp; - va_copy(args_cp, args); - - std::size_t size = 256; - char local_buff[256]; - auto ret = vsnprintf(local_buff, size, msg, args_cp); - - va_end(args_cp); - - // currently there is no error handling for failure, so this is hack. - CHECK(ret >= 0); - - if (ret == 0) // handle empty expansion - return {}; - else if (static_cast(ret) < size) - return local_buff; - else { - // we did not provide a long enough buffer on our first attempt. - size = (size_t)ret + 1; // + 1 for the null byte - std::unique_ptr buff(new char[size]); - ret = vsnprintf(buff.get(), size, msg, args); - CHECK(ret > 0 && ((size_t)ret) < size); - return buff.get(); - } -} - -std::string FormatString(const char* msg, ...) { - va_list args; - va_start(args, msg); - auto tmp = FormatString(msg, args); - va_end(args); - return tmp; -} - -void ColorPrintf(std::ostream& out, LogColor color, const char* fmt, ...) { - va_list args; - va_start(args, fmt); - ColorPrintf(out, color, fmt, args); - va_end(args); -} - -void ColorPrintf(std::ostream& out, LogColor color, const char* fmt, - va_list args) { -#ifdef BENCHMARK_OS_WINDOWS - ((void)out); // suppress unused warning - - const HANDLE stdout_handle = GetStdHandle(STD_OUTPUT_HANDLE); - - // Gets the current text color. - CONSOLE_SCREEN_BUFFER_INFO buffer_info; - GetConsoleScreenBufferInfo(stdout_handle, &buffer_info); - const WORD old_color_attrs = buffer_info.wAttributes; - - // We need to flush the stream buffers into the console before each - // SetConsoleTextAttribute call lest it affect the text that is already - // printed but has not yet reached the console. - fflush(stdout); - SetConsoleTextAttribute(stdout_handle, - GetPlatformColorCode(color) | FOREGROUND_INTENSITY); - vprintf(fmt, args); - - fflush(stdout); - // Restores the text color. - SetConsoleTextAttribute(stdout_handle, old_color_attrs); -#else - const char* color_code = GetPlatformColorCode(color); - if (color_code) out << FormatString("\033[0;3%sm", color_code); - out << FormatString(fmt, args) << "\033[m"; -#endif -} - -bool IsColorTerminal() { -#if BENCHMARK_OS_WINDOWS - // On Windows the TERM variable is usually not set, but the - // console there does support colors. - return 0 != _isatty(_fileno(stdout)); -#else - // On non-Windows platforms, we rely on the TERM variable. This list of - // supported TERM values is copied from Google Test: - // . - const char* const SUPPORTED_TERM_VALUES[] = { - "xterm", "xterm-color", "xterm-256color", - "screen", "screen-256color", "tmux", - "tmux-256color", "rxvt-unicode", "rxvt-unicode-256color", - "linux", "cygwin", - }; - - const char* const term = getenv("TERM"); - - bool term_supports_color = false; - for (const char* candidate : SUPPORTED_TERM_VALUES) { - if (term && 0 == strcmp(term, candidate)) { - term_supports_color = true; - break; - } - } - - return 0 != isatty(fileno(stdout)) && term_supports_color; -#endif // BENCHMARK_OS_WINDOWS -} - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/colorprint.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/colorprint.h deleted file mode 100644 index 9f6fab9b34..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/colorprint.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef BENCHMARK_COLORPRINT_H_ -#define BENCHMARK_COLORPRINT_H_ - -#include -#include -#include - -namespace benchmark { -enum LogColor { - COLOR_DEFAULT, - COLOR_RED, - COLOR_GREEN, - COLOR_YELLOW, - COLOR_BLUE, - COLOR_MAGENTA, - COLOR_CYAN, - COLOR_WHITE -}; - -std::string FormatString(const char* msg, va_list args); -std::string FormatString(const char* msg, ...); - -void ColorPrintf(std::ostream& out, LogColor color, const char* fmt, - va_list args); -void ColorPrintf(std::ostream& out, LogColor color, const char* fmt, ...); - -// Returns true if stdout appears to be a terminal that supports colored -// output, false otherwise. -bool IsColorTerminal(); - -} // end namespace benchmark - -#endif // BENCHMARK_COLORPRINT_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/commandlineflags.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/commandlineflags.cc deleted file mode 100644 index 734e88bbec..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/commandlineflags.cc +++ /dev/null @@ -1,218 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "commandlineflags.h" - -#include -#include -#include -#include -#include - -namespace benchmark { -// Parses 'str' for a 32-bit signed integer. If successful, writes -// the result to *value and returns true; otherwise leaves *value -// unchanged and returns false. -bool ParseInt32(const std::string& src_text, const char* str, int32_t* value) { - // Parses the environment variable as a decimal integer. - char* end = nullptr; - const long long_value = strtol(str, &end, 10); // NOLINT - - // Has strtol() consumed all characters in the string? - if (*end != '\0') { - // No - an invalid character was encountered. - std::cerr << src_text << " is expected to be a 32-bit integer, " - << "but actually has value \"" << str << "\".\n"; - return false; - } - - // Is the parsed value in the range of an Int32? - const int32_t result = static_cast(long_value); - if (long_value == std::numeric_limits::max() || - long_value == std::numeric_limits::min() || - // The parsed value overflows as a long. (strtol() returns - // LONG_MAX or LONG_MIN when the input overflows.) - result != long_value - // The parsed value overflows as an Int32. - ) { - std::cerr << src_text << " is expected to be a 32-bit integer, " - << "but actually has value \"" << str << "\", " - << "which overflows.\n"; - return false; - } - - *value = result; - return true; -} - -// Parses 'str' for a double. If successful, writes the result to *value and -// returns true; otherwise leaves *value unchanged and returns false. -bool ParseDouble(const std::string& src_text, const char* str, double* value) { - // Parses the environment variable as a decimal integer. - char* end = nullptr; - const double double_value = strtod(str, &end); // NOLINT - - // Has strtol() consumed all characters in the string? - if (*end != '\0') { - // No - an invalid character was encountered. - std::cerr << src_text << " is expected to be a double, " - << "but actually has value \"" << str << "\".\n"; - return false; - } - - *value = double_value; - return true; -} - -// Returns the name of the environment variable corresponding to the -// given flag. For example, FlagToEnvVar("foo") will return -// "BENCHMARK_FOO" in the open-source version. -static std::string FlagToEnvVar(const char* flag) { - const std::string flag_str(flag); - - std::string env_var; - for (size_t i = 0; i != flag_str.length(); ++i) - env_var += static_cast(::toupper(flag_str.c_str()[i])); - - return "BENCHMARK_" + env_var; -} - -// Reads and returns the Boolean environment variable corresponding to -// the given flag; if it's not set, returns default_value. -// -// The value is considered true iff it's not "0". -bool BoolFromEnv(const char* flag, bool default_value) { - const std::string env_var = FlagToEnvVar(flag); - const char* const string_value = getenv(env_var.c_str()); - return string_value == nullptr ? default_value - : strcmp(string_value, "0") != 0; -} - -// Reads and returns a 32-bit integer stored in the environment -// variable corresponding to the given flag; if it isn't set or -// doesn't represent a valid 32-bit integer, returns default_value. -int32_t Int32FromEnv(const char* flag, int32_t default_value) { - const std::string env_var = FlagToEnvVar(flag); - const char* const string_value = getenv(env_var.c_str()); - if (string_value == nullptr) { - // The environment variable is not set. - return default_value; - } - - int32_t result = default_value; - if (!ParseInt32(std::string("Environment variable ") + env_var, string_value, - &result)) { - std::cout << "The default value " << default_value << " is used.\n"; - return default_value; - } - - return result; -} - -// Reads and returns the string environment variable corresponding to -// the given flag; if it's not set, returns default_value. -const char* StringFromEnv(const char* flag, const char* default_value) { - const std::string env_var = FlagToEnvVar(flag); - const char* const value = getenv(env_var.c_str()); - return value == nullptr ? default_value : value; -} - -// Parses a string as a command line flag. The string should have -// the format "--flag=value". When def_optional is true, the "=value" -// part can be omitted. -// -// Returns the value of the flag, or nullptr if the parsing failed. -const char* ParseFlagValue(const char* str, const char* flag, - bool def_optional) { - // str and flag must not be nullptr. - if (str == nullptr || flag == nullptr) return nullptr; - - // The flag must start with "--". - const std::string flag_str = std::string("--") + std::string(flag); - const size_t flag_len = flag_str.length(); - if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr; - - // Skips the flag name. - const char* flag_end = str + flag_len; - - // When def_optional is true, it's OK to not have a "=value" part. - if (def_optional && (flag_end[0] == '\0')) return flag_end; - - // If def_optional is true and there are more characters after the - // flag name, or if def_optional is false, there must be a '=' after - // the flag name. - if (flag_end[0] != '=') return nullptr; - - // Returns the string after "=". - return flag_end + 1; -} - -bool ParseBoolFlag(const char* str, const char* flag, bool* value) { - // Gets the value of the flag as a string. - const char* const value_str = ParseFlagValue(str, flag, true); - - // Aborts if the parsing failed. - if (value_str == nullptr) return false; - - // Converts the string value to a bool. - *value = IsTruthyFlagValue(value_str); - return true; -} - -bool ParseInt32Flag(const char* str, const char* flag, int32_t* value) { - // Gets the value of the flag as a string. - const char* const value_str = ParseFlagValue(str, flag, false); - - // Aborts if the parsing failed. - if (value_str == nullptr) return false; - - // Sets *value to the value of the flag. - return ParseInt32(std::string("The value of flag --") + flag, value_str, - value); -} - -bool ParseDoubleFlag(const char* str, const char* flag, double* value) { - // Gets the value of the flag as a string. - const char* const value_str = ParseFlagValue(str, flag, false); - - // Aborts if the parsing failed. - if (value_str == nullptr) return false; - - // Sets *value to the value of the flag. - return ParseDouble(std::string("The value of flag --") + flag, value_str, - value); -} - -bool ParseStringFlag(const char* str, const char* flag, std::string* value) { - // Gets the value of the flag as a string. - const char* const value_str = ParseFlagValue(str, flag, false); - - // Aborts if the parsing failed. - if (value_str == nullptr) return false; - - *value = value_str; - return true; -} - -bool IsFlag(const char* str, const char* flag) { - return (ParseFlagValue(str, flag, true) != nullptr); -} - -bool IsTruthyFlagValue(const std::string& value) { - if (value.empty()) return true; - char ch = value[0]; - return isalnum(ch) && - !(ch == '0' || ch == 'f' || ch == 'F' || ch == 'n' || ch == 'N'); -} -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/commandlineflags.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/commandlineflags.h deleted file mode 100644 index 945c9a9fc4..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/commandlineflags.h +++ /dev/null @@ -1,79 +0,0 @@ -#ifndef BENCHMARK_COMMANDLINEFLAGS_H_ -#define BENCHMARK_COMMANDLINEFLAGS_H_ - -#include -#include - -// Macro for referencing flags. -#define FLAG(name) FLAGS_##name - -// Macros for declaring flags. -#define DECLARE_bool(name) extern bool FLAG(name) -#define DECLARE_int32(name) extern int32_t FLAG(name) -#define DECLARE_int64(name) extern int64_t FLAG(name) -#define DECLARE_double(name) extern double FLAG(name) -#define DECLARE_string(name) extern std::string FLAG(name) - -// Macros for defining flags. -#define DEFINE_bool(name, default_val, doc) bool FLAG(name) = (default_val) -#define DEFINE_int32(name, default_val, doc) int32_t FLAG(name) = (default_val) -#define DEFINE_int64(name, default_val, doc) int64_t FLAG(name) = (default_val) -#define DEFINE_double(name, default_val, doc) double FLAG(name) = (default_val) -#define DEFINE_string(name, default_val, doc) \ - std::string FLAG(name) = (default_val) - -namespace benchmark { -// Parses 'str' for a 32-bit signed integer. If successful, writes the result -// to *value and returns true; otherwise leaves *value unchanged and returns -// false. -bool ParseInt32(const std::string& src_text, const char* str, int32_t* value); - -// Parses a bool/Int32/string from the environment variable -// corresponding to the given Google Test flag. -bool BoolFromEnv(const char* flag, bool default_val); -int32_t Int32FromEnv(const char* flag, int32_t default_val); -double DoubleFromEnv(const char* flag, double default_val); -const char* StringFromEnv(const char* flag, const char* default_val); - -// Parses a string for a bool flag, in the form of either -// "--flag=value" or "--flag". -// -// In the former case, the value is taken as true if it passes IsTruthyValue(). -// -// In the latter case, the value is taken as true. -// -// On success, stores the value of the flag in *value, and returns -// true. On failure, returns false without changing *value. -bool ParseBoolFlag(const char* str, const char* flag, bool* value); - -// Parses a string for an Int32 flag, in the form of -// "--flag=value". -// -// On success, stores the value of the flag in *value, and returns -// true. On failure, returns false without changing *value. -bool ParseInt32Flag(const char* str, const char* flag, int32_t* value); - -// Parses a string for a Double flag, in the form of -// "--flag=value". -// -// On success, stores the value of the flag in *value, and returns -// true. On failure, returns false without changing *value. -bool ParseDoubleFlag(const char* str, const char* flag, double* value); - -// Parses a string for a string flag, in the form of -// "--flag=value". -// -// On success, stores the value of the flag in *value, and returns -// true. On failure, returns false without changing *value. -bool ParseStringFlag(const char* str, const char* flag, std::string* value); - -// Returns true if the string matches the flag. -bool IsFlag(const char* str, const char* flag); - -// Returns true unless value starts with one of: '0', 'f', 'F', 'n' or 'N', or -// some non-alphanumeric character. As a special case, also returns true if -// value is the empty string. -bool IsTruthyFlagValue(const std::string& value); -} // end namespace benchmark - -#endif // BENCHMARK_COMMANDLINEFLAGS_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/complexity.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/complexity.cc deleted file mode 100644 index 6ef17660c9..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/complexity.cc +++ /dev/null @@ -1,228 +0,0 @@ -// Copyright 2016 Ismael Jimenez Martinez. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Source project : https://github.com/ismaelJimenez/cpp.leastsq -// Adapted to be used with google benchmark - -#include "benchmark/benchmark.h" - -#include -#include -#include "check.h" -#include "complexity.h" - -namespace benchmark { - -// Internal function to calculate the different scalability forms -BigOFunc* FittingCurve(BigO complexity) { - static const double kLog2E = 1.44269504088896340736; - switch (complexity) { - case oN: - return [](int64_t n) -> double { return static_cast(n); }; - case oNSquared: - return [](int64_t n) -> double { return std::pow(n, 2); }; - case oNCubed: - return [](int64_t n) -> double { return std::pow(n, 3); }; - case oLogN: - /* Note: can't use log2 because Android's GNU STL lacks it */ - return [](int64_t n) { return kLog2E * log(static_cast(n)); }; - case oNLogN: - /* Note: can't use log2 because Android's GNU STL lacks it */ - return [](int64_t n) { return kLog2E * n * log(static_cast(n)); }; - case o1: - default: - return [](int64_t) { return 1.0; }; - } -} - -// Function to return an string for the calculated complexity -std::string GetBigOString(BigO complexity) { - switch (complexity) { - case oN: - return "N"; - case oNSquared: - return "N^2"; - case oNCubed: - return "N^3"; - case oLogN: - return "lgN"; - case oNLogN: - return "NlgN"; - case o1: - return "(1)"; - default: - return "f(N)"; - } -} - -// Find the coefficient for the high-order term in the running time, by -// minimizing the sum of squares of relative error, for the fitting curve -// given by the lambda expression. -// - n : Vector containing the size of the benchmark tests. -// - time : Vector containing the times for the benchmark tests. -// - fitting_curve : lambda expression (e.g. [](int64_t n) {return n; };). - -// For a deeper explanation on the algorithm logic, please refer to -// https://en.wikipedia.org/wiki/Least_squares#Least_squares,_regression_analysis_and_statistics - -LeastSq MinimalLeastSq(const std::vector& n, - const std::vector& time, - BigOFunc* fitting_curve) { - double sigma_gn = 0.0; - double sigma_gn_squared = 0.0; - double sigma_time = 0.0; - double sigma_time_gn = 0.0; - - // Calculate least square fitting parameter - for (size_t i = 0; i < n.size(); ++i) { - double gn_i = fitting_curve(n[i]); - sigma_gn += gn_i; - sigma_gn_squared += gn_i * gn_i; - sigma_time += time[i]; - sigma_time_gn += time[i] * gn_i; - } - - LeastSq result; - result.complexity = oLambda; - - // Calculate complexity. - result.coef = sigma_time_gn / sigma_gn_squared; - - // Calculate RMS - double rms = 0.0; - for (size_t i = 0; i < n.size(); ++i) { - double fit = result.coef * fitting_curve(n[i]); - rms += pow((time[i] - fit), 2); - } - - // Normalized RMS by the mean of the observed values - double mean = sigma_time / n.size(); - result.rms = sqrt(rms / n.size()) / mean; - - return result; -} - -// Find the coefficient for the high-order term in the running time, by -// minimizing the sum of squares of relative error. -// - n : Vector containing the size of the benchmark tests. -// - time : Vector containing the times for the benchmark tests. -// - complexity : If different than oAuto, the fitting curve will stick to -// this one. If it is oAuto, it will be calculated the best -// fitting curve. -LeastSq MinimalLeastSq(const std::vector& n, - const std::vector& time, const BigO complexity) { - CHECK_EQ(n.size(), time.size()); - CHECK_GE(n.size(), 2); // Do not compute fitting curve is less than two - // benchmark runs are given - CHECK_NE(complexity, oNone); - - LeastSq best_fit; - - if (complexity == oAuto) { - std::vector fit_curves = {oLogN, oN, oNLogN, oNSquared, oNCubed}; - - // Take o1 as default best fitting curve - best_fit = MinimalLeastSq(n, time, FittingCurve(o1)); - best_fit.complexity = o1; - - // Compute all possible fitting curves and stick to the best one - for (const auto& fit : fit_curves) { - LeastSq current_fit = MinimalLeastSq(n, time, FittingCurve(fit)); - if (current_fit.rms < best_fit.rms) { - best_fit = current_fit; - best_fit.complexity = fit; - } - } - } else { - best_fit = MinimalLeastSq(n, time, FittingCurve(complexity)); - best_fit.complexity = complexity; - } - - return best_fit; -} - -std::vector ComputeBigO( - const std::vector& reports) { - typedef BenchmarkReporter::Run Run; - std::vector results; - - if (reports.size() < 2) return results; - - // Accumulators. - std::vector n; - std::vector real_time; - std::vector cpu_time; - - // Populate the accumulators. - for (const Run& run : reports) { - CHECK_GT(run.complexity_n, 0) << "Did you forget to call SetComplexityN?"; - n.push_back(run.complexity_n); - real_time.push_back(run.real_accumulated_time / run.iterations); - cpu_time.push_back(run.cpu_accumulated_time / run.iterations); - } - - LeastSq result_cpu; - LeastSq result_real; - - if (reports[0].complexity == oLambda) { - result_cpu = MinimalLeastSq(n, cpu_time, reports[0].complexity_lambda); - result_real = MinimalLeastSq(n, real_time, reports[0].complexity_lambda); - } else { - result_cpu = MinimalLeastSq(n, cpu_time, reports[0].complexity); - result_real = MinimalLeastSq(n, real_time, result_cpu.complexity); - } - - std::string run_name = reports[0].benchmark_name().substr( - 0, reports[0].benchmark_name().find('/')); - - // Get the data from the accumulator to BenchmarkReporter::Run's. - Run big_o; - big_o.run_name = run_name; - big_o.run_type = BenchmarkReporter::Run::RT_Aggregate; - big_o.aggregate_name = "BigO"; - big_o.iterations = 0; - big_o.real_accumulated_time = result_real.coef; - big_o.cpu_accumulated_time = result_cpu.coef; - big_o.report_big_o = true; - big_o.complexity = result_cpu.complexity; - - // All the time results are reported after being multiplied by the - // time unit multiplier. But since RMS is a relative quantity it - // should not be multiplied at all. So, here, we _divide_ it by the - // multiplier so that when it is multiplied later the result is the - // correct one. - double multiplier = GetTimeUnitMultiplier(reports[0].time_unit); - - // Only add label to mean/stddev if it is same for all runs - Run rms; - rms.run_name = run_name; - big_o.report_label = reports[0].report_label; - rms.run_type = BenchmarkReporter::Run::RT_Aggregate; - rms.aggregate_name = "RMS"; - rms.report_label = big_o.report_label; - rms.iterations = 0; - rms.real_accumulated_time = result_real.rms / multiplier; - rms.cpu_accumulated_time = result_cpu.rms / multiplier; - rms.report_rms = true; - rms.complexity = result_cpu.complexity; - // don't forget to keep the time unit, or we won't be able to - // recover the correct value. - rms.time_unit = reports[0].time_unit; - - results.push_back(big_o); - results.push_back(rms); - return results; -} - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/complexity.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/complexity.h deleted file mode 100644 index df29b48d29..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/complexity.h +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2016 Ismael Jimenez Martinez. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Source project : https://github.com/ismaelJimenez/cpp.leastsq -// Adapted to be used with google benchmark - -#ifndef COMPLEXITY_H_ -#define COMPLEXITY_H_ - -#include -#include - -#include "benchmark/benchmark.h" - -namespace benchmark { - -// Return a vector containing the bigO and RMS information for the specified -// list of reports. If 'reports.size() < 2' an empty vector is returned. -std::vector ComputeBigO( - const std::vector& reports); - -// This data structure will contain the result returned by MinimalLeastSq -// - coef : Estimated coeficient for the high-order term as -// interpolated from data. -// - rms : Normalized Root Mean Squared Error. -// - complexity : Scalability form (e.g. oN, oNLogN). In case a scalability -// form has been provided to MinimalLeastSq this will return -// the same value. In case BigO::oAuto has been selected, this -// parameter will return the best fitting curve detected. - -struct LeastSq { - LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {} - - double coef; - double rms; - BigO complexity; -}; - -// Function to return an string for the calculated complexity -std::string GetBigOString(BigO complexity); - -} // end namespace benchmark - -#endif // COMPLEXITY_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/console_reporter.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/console_reporter.cc deleted file mode 100644 index ca364727cb..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/console_reporter.cc +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark/benchmark.h" -#include "complexity.h" -#include "counter.h" - -#include -#include -#include -#include -#include -#include -#include - -#include "check.h" -#include "colorprint.h" -#include "commandlineflags.h" -#include "internal_macros.h" -#include "string_util.h" -#include "timers.h" - -namespace benchmark { - -bool ConsoleReporter::ReportContext(const Context& context) { - name_field_width_ = context.name_field_width; - printed_header_ = false; - prev_counters_.clear(); - - PrintBasicContext(&GetErrorStream(), context); - -#ifdef BENCHMARK_OS_WINDOWS - if ((output_options_ & OO_Color) && &std::cout != &GetOutputStream()) { - GetErrorStream() - << "Color printing is only supported for stdout on windows." - " Disabling color printing\n"; - output_options_ = static_cast< OutputOptions >(output_options_ & ~OO_Color); - } -#endif - - return true; -} - -void ConsoleReporter::PrintHeader(const Run& run) { - std::string str = FormatString("%-*s %13s %15s %12s", static_cast(name_field_width_), - "Benchmark", "Time", "CPU", "Iterations"); - if(!run.counters.empty()) { - if(output_options_ & OO_Tabular) { - for(auto const& c : run.counters) { - str += FormatString(" %10s", c.first.c_str()); - } - } else { - str += " UserCounters..."; - } - } - str += "\n"; - std::string line = std::string(str.length(), '-'); - GetOutputStream() << line << "\n" << str << line << "\n"; -} - -void ConsoleReporter::ReportRuns(const std::vector& reports) { - for (const auto& run : reports) { - // print the header: - // --- if none was printed yet - bool print_header = !printed_header_; - // --- or if the format is tabular and this run - // has different fields from the prev header - print_header |= (output_options_ & OO_Tabular) && - (!internal::SameNames(run.counters, prev_counters_)); - if (print_header) { - printed_header_ = true; - prev_counters_ = run.counters; - PrintHeader(run); - } - // As an alternative to printing the headers like this, we could sort - // the benchmarks by header and then print. But this would require - // waiting for the full results before printing, or printing twice. - PrintRunData(run); - } -} - -static void IgnoreColorPrint(std::ostream& out, LogColor, const char* fmt, - ...) { - va_list args; - va_start(args, fmt); - out << FormatString(fmt, args); - va_end(args); -} - - -static std::string FormatTime(double time) { - // Align decimal places... - if (time < 1.0) { - return FormatString("%10.3f", time); - } - if (time < 10.0) { - return FormatString("%10.2f", time); - } - if (time < 100.0) { - return FormatString("%10.1f", time); - } - return FormatString("%10.0f", time); -} - -void ConsoleReporter::PrintRunData(const Run& result) { - typedef void(PrinterFn)(std::ostream&, LogColor, const char*, ...); - auto& Out = GetOutputStream(); - PrinterFn* printer = (output_options_ & OO_Color) ? - (PrinterFn*)ColorPrintf : IgnoreColorPrint; - auto name_color = - (result.report_big_o || result.report_rms) ? COLOR_BLUE : COLOR_GREEN; - printer(Out, name_color, "%-*s ", name_field_width_, - result.benchmark_name().c_str()); - - if (result.error_occurred) { - printer(Out, COLOR_RED, "ERROR OCCURRED: \'%s\'", - result.error_message.c_str()); - printer(Out, COLOR_DEFAULT, "\n"); - return; - } - - const double real_time = result.GetAdjustedRealTime(); - const double cpu_time = result.GetAdjustedCPUTime(); - const std::string real_time_str = FormatTime(real_time); - const std::string cpu_time_str = FormatTime(cpu_time); - - - if (result.report_big_o) { - std::string big_o = GetBigOString(result.complexity); - printer(Out, COLOR_YELLOW, "%10.2f %-4s %10.2f %-4s ", real_time, big_o.c_str(), - cpu_time, big_o.c_str()); - } else if (result.report_rms) { - printer(Out, COLOR_YELLOW, "%10.0f %-4s %10.0f %-4s ", real_time * 100, "%", - cpu_time * 100, "%"); - } else { - const char* timeLabel = GetTimeUnitString(result.time_unit); - printer(Out, COLOR_YELLOW, "%s %-4s %s %-4s ", real_time_str.c_str(), timeLabel, - cpu_time_str.c_str(), timeLabel); - } - - if (!result.report_big_o && !result.report_rms) { - printer(Out, COLOR_CYAN, "%10lld", result.iterations); - } - - for (auto& c : result.counters) { - const std::size_t cNameLen = std::max(std::string::size_type(10), - c.first.length()); - auto const& s = HumanReadableNumber(c.second.value, c.second.oneK); - if (output_options_ & OO_Tabular) { - if (c.second.flags & Counter::kIsRate) { - printer(Out, COLOR_DEFAULT, " %*s/s", cNameLen - 2, s.c_str()); - } else { - printer(Out, COLOR_DEFAULT, " %*s", cNameLen, s.c_str()); - } - } else { - const char* unit = (c.second.flags & Counter::kIsRate) ? "/s" : ""; - printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), - unit); - } - } - - if (!result.report_label.empty()) { - printer(Out, COLOR_DEFAULT, " %s", result.report_label.c_str()); - } - - printer(Out, COLOR_DEFAULT, "\n"); -} - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/counter.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/counter.cc deleted file mode 100644 index cb604e060b..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/counter.cc +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "counter.h" - -namespace benchmark { -namespace internal { - -double Finish(Counter const& c, int64_t iterations, double cpu_time, - double num_threads) { - double v = c.value; - if (c.flags & Counter::kIsRate) { - v /= cpu_time; - } - if (c.flags & Counter::kAvgThreads) { - v /= num_threads; - } - if (c.flags & Counter::kIsIterationInvariant) { - v *= iterations; - } - if (c.flags & Counter::kAvgIterations) { - v /= iterations; - } - return v; -} - -void Finish(UserCounters* l, int64_t iterations, double cpu_time, double num_threads) { - for (auto& c : *l) { - c.second.value = Finish(c.second, iterations, cpu_time, num_threads); - } -} - -void Increment(UserCounters* l, UserCounters const& r) { - // add counters present in both or just in *l - for (auto& c : *l) { - auto it = r.find(c.first); - if (it != r.end()) { - c.second.value = c.second + it->second; - } - } - // add counters present in r, but not in *l - for (auto const& tc : r) { - auto it = l->find(tc.first); - if (it == l->end()) { - (*l)[tc.first] = tc.second; - } - } -} - -bool SameNames(UserCounters const& l, UserCounters const& r) { - if (&l == &r) return true; - if (l.size() != r.size()) { - return false; - } - for (auto const& c : l) { - if (r.find(c.first) == r.end()) { - return false; - } - } - return true; -} - -} // end namespace internal -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/counter.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/counter.h deleted file mode 100644 index d884e50aa1..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/counter.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark/benchmark.h" - -namespace benchmark { - -// these counter-related functions are hidden to reduce API surface. -namespace internal { -void Finish(UserCounters* l, int64_t iterations, double time, double num_threads); -void Increment(UserCounters* l, UserCounters const& r); -bool SameNames(UserCounters const& l, UserCounters const& r); -} // end namespace internal - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/csv_reporter.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/csv_reporter.cc deleted file mode 100644 index d2f1d27eb6..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/csv_reporter.cc +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark/benchmark.h" -#include "complexity.h" - -#include -#include -#include -#include -#include -#include - -#include "check.h" -#include "string_util.h" -#include "timers.h" - -// File format reference: http://edoceo.com/utilitas/csv-file-format. - -namespace benchmark { - -namespace { -std::vector elements = { - "name", "iterations", "real_time", "cpu_time", - "time_unit", "bytes_per_second", "items_per_second", "label", - "error_occurred", "error_message"}; -} // namespace - -bool CSVReporter::ReportContext(const Context& context) { - PrintBasicContext(&GetErrorStream(), context); - return true; -} - -void CSVReporter::ReportRuns(const std::vector& reports) { - std::ostream& Out = GetOutputStream(); - - if (!printed_header_) { - // save the names of all the user counters - for (const auto& run : reports) { - for (const auto& cnt : run.counters) { - if (cnt.first == "bytes_per_second" || cnt.first == "items_per_second") - continue; - user_counter_names_.insert(cnt.first); - } - } - - // print the header - for (auto B = elements.begin(); B != elements.end();) { - Out << *B++; - if (B != elements.end()) Out << ","; - } - for (auto B = user_counter_names_.begin(); - B != user_counter_names_.end();) { - Out << ",\"" << *B++ << "\""; - } - Out << "\n"; - - printed_header_ = true; - } else { - // check that all the current counters are saved in the name set - for (const auto& run : reports) { - for (const auto& cnt : run.counters) { - if (cnt.first == "bytes_per_second" || cnt.first == "items_per_second") - continue; - CHECK(user_counter_names_.find(cnt.first) != user_counter_names_.end()) - << "All counters must be present in each run. " - << "Counter named \"" << cnt.first - << "\" was not in a run after being added to the header"; - } - } - } - - // print results for each run - for (const auto& run : reports) { - PrintRunData(run); - } -} - -void CSVReporter::PrintRunData(const Run& run) { - std::ostream& Out = GetOutputStream(); - - // Field with embedded double-quote characters must be doubled and the field - // delimited with double-quotes. - std::string name = run.benchmark_name(); - ReplaceAll(&name, "\"", "\"\""); - Out << '"' << name << "\","; - if (run.error_occurred) { - Out << std::string(elements.size() - 3, ','); - Out << "true,"; - std::string msg = run.error_message; - ReplaceAll(&msg, "\"", "\"\""); - Out << '"' << msg << "\"\n"; - return; - } - - // Do not print iteration on bigO and RMS report - if (!run.report_big_o && !run.report_rms) { - Out << run.iterations; - } - Out << ","; - - Out << run.GetAdjustedRealTime() << ","; - Out << run.GetAdjustedCPUTime() << ","; - - // Do not print timeLabel on bigO and RMS report - if (run.report_big_o) { - Out << GetBigOString(run.complexity); - } else if (!run.report_rms) { - Out << GetTimeUnitString(run.time_unit); - } - Out << ","; - - if (run.counters.find("bytes_per_second") != run.counters.end()) { - Out << run.counters.at("bytes_per_second"); - } - Out << ","; - if (run.counters.find("items_per_second") != run.counters.end()) { - Out << run.counters.at("items_per_second"); - } - Out << ","; - if (!run.report_label.empty()) { - // Field with embedded double-quote characters must be doubled and the field - // delimited with double-quotes. - std::string label = run.report_label; - ReplaceAll(&label, "\"", "\"\""); - Out << "\"" << label << "\""; - } - Out << ",,"; // for error_occurred and error_message - - // Print user counters - for (const auto& ucn : user_counter_names_) { - auto it = run.counters.find(ucn); - if (it == run.counters.end()) { - Out << ","; - } else { - Out << "," << it->second; - } - } - Out << '\n'; -} - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/cycleclock.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/cycleclock.h deleted file mode 100644 index d5d62c4c7f..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/cycleclock.h +++ /dev/null @@ -1,192 +0,0 @@ -// ---------------------------------------------------------------------- -// CycleClock -// A CycleClock tells you the current time in Cycles. The "time" -// is actually time since power-on. This is like time() but doesn't -// involve a system call and is much more precise. -// -// NOTE: Not all cpu/platform/kernel combinations guarantee that this -// clock increments at a constant rate or is synchronized across all logical -// cpus in a system. -// -// If you need the above guarantees, please consider using a different -// API. There are efforts to provide an interface which provides a millisecond -// granularity and implemented as a memory read. A memory read is generally -// cheaper than the CycleClock for many architectures. -// -// Also, in some out of order CPU implementations, the CycleClock is not -// serializing. So if you're trying to count at cycles granularity, your -// data might be inaccurate due to out of order instruction execution. -// ---------------------------------------------------------------------- - -#ifndef BENCHMARK_CYCLECLOCK_H_ -#define BENCHMARK_CYCLECLOCK_H_ - -#include - -#include "benchmark/benchmark.h" -#include "internal_macros.h" - -#if defined(BENCHMARK_OS_MACOSX) -#include -#endif -// For MSVC, we want to use '_asm rdtsc' when possible (since it works -// with even ancient MSVC compilers), and when not possible the -// __rdtsc intrinsic, declared in . Unfortunately, in some -// environments, and have conflicting -// declarations of some other intrinsics, breaking compilation. -// Therefore, we simply declare __rdtsc ourselves. See also -// http://connect.microsoft.com/VisualStudio/feedback/details/262047 -#if defined(COMPILER_MSVC) && !defined(_M_IX86) -extern "C" uint64_t __rdtsc(); -#pragma intrinsic(__rdtsc) -#endif - -#if !defined(BENCHMARK_OS_WINDOWS) || defined(BENCHMARK_OS_MINGW) -#include -#include -#endif - -#ifdef BENCHMARK_OS_EMSCRIPTEN -#include -#endif - -namespace benchmark { -// NOTE: only i386 and x86_64 have been well tested. -// PPC, sparc, alpha, and ia64 are based on -// http://peter.kuscsik.com/wordpress/?p=14 -// with modifications by m3b. See also -// https://setisvn.ssl.berkeley.edu/svn/lib/fftw-3.0.1/kernel/cycle.h -namespace cycleclock { -// This should return the number of cycles since power-on. Thread-safe. -inline BENCHMARK_ALWAYS_INLINE int64_t Now() { -#if defined(BENCHMARK_OS_MACOSX) - // this goes at the top because we need ALL Macs, regardless of - // architecture, to return the number of "mach time units" that - // have passed since startup. See sysinfo.cc where - // InitializeSystemInfo() sets the supposed cpu clock frequency of - // macs to the number of mach time units per second, not actual - // CPU clock frequency (which can change in the face of CPU - // frequency scaling). Also note that when the Mac sleeps, this - // counter pauses; it does not continue counting, nor does it - // reset to zero. - return mach_absolute_time(); -#elif defined(BENCHMARK_OS_EMSCRIPTEN) - // this goes above x86-specific code because old versions of Emscripten - // define __x86_64__, although they have nothing to do with it. - return static_cast(emscripten_get_now() * 1e+6); -#elif defined(__i386__) - int64_t ret; - __asm__ volatile("rdtsc" : "=A"(ret)); - return ret; -#elif defined(__x86_64__) || defined(__amd64__) - uint64_t low, high; - __asm__ volatile("rdtsc" : "=a"(low), "=d"(high)); - return (high << 32) | low; -#elif defined(__powerpc__) || defined(__ppc__) - // This returns a time-base, which is not always precisely a cycle-count. - int64_t tbl, tbu0, tbu1; - asm("mftbu %0" : "=r"(tbu0)); - asm("mftb %0" : "=r"(tbl)); - asm("mftbu %0" : "=r"(tbu1)); - tbl &= -static_cast(tbu0 == tbu1); - // high 32 bits in tbu1; low 32 bits in tbl (tbu0 is garbage) - return (tbu1 << 32) | tbl; -#elif defined(__sparc__) - int64_t tick; - asm(".byte 0x83, 0x41, 0x00, 0x00"); - asm("mov %%g1, %0" : "=r"(tick)); - return tick; -#elif defined(__ia64__) - int64_t itc; - asm("mov %0 = ar.itc" : "=r"(itc)); - return itc; -#elif defined(COMPILER_MSVC) && defined(_M_IX86) - // Older MSVC compilers (like 7.x) don't seem to support the - // __rdtsc intrinsic properly, so I prefer to use _asm instead - // when I know it will work. Otherwise, I'll use __rdtsc and hope - // the code is being compiled with a non-ancient compiler. - _asm rdtsc -#elif defined(COMPILER_MSVC) - return __rdtsc(); -#elif defined(BENCHMARK_OS_NACL) - // Native Client validator on x86/x86-64 allows RDTSC instructions, - // and this case is handled above. Native Client validator on ARM - // rejects MRC instructions (used in the ARM-specific sequence below), - // so we handle it here. Portable Native Client compiles to - // architecture-agnostic bytecode, which doesn't provide any - // cycle counter access mnemonics. - - // Native Client does not provide any API to access cycle counter. - // Use clock_gettime(CLOCK_MONOTONIC, ...) instead of gettimeofday - // because is provides nanosecond resolution (which is noticable at - // least for PNaCl modules running on x86 Mac & Linux). - // Initialize to always return 0 if clock_gettime fails. - struct timespec ts = {0, 0}; - clock_gettime(CLOCK_MONOTONIC, &ts); - return static_cast(ts.tv_sec) * 1000000000 + ts.tv_nsec; -#elif defined(__aarch64__) - // System timer of ARMv8 runs at a different frequency than the CPU's. - // The frequency is fixed, typically in the range 1-50MHz. It can be - // read at CNTFRQ special register. We assume the OS has set up - // the virtual timer properly. - int64_t virtual_timer_value; - asm volatile("mrs %0, cntvct_el0" : "=r"(virtual_timer_value)); - return virtual_timer_value; -#elif defined(__ARM_ARCH) - // V6 is the earliest arch that has a standard cyclecount - // Native Client validator doesn't allow MRC instructions. -#if (__ARM_ARCH >= 6) - uint32_t pmccntr; - uint32_t pmuseren; - uint32_t pmcntenset; - // Read the user mode perf monitor counter access permissions. - asm volatile("mrc p15, 0, %0, c9, c14, 0" : "=r"(pmuseren)); - if (pmuseren & 1) { // Allows reading perfmon counters for user mode code. - asm volatile("mrc p15, 0, %0, c9, c12, 1" : "=r"(pmcntenset)); - if (pmcntenset & 0x80000000ul) { // Is it counting? - asm volatile("mrc p15, 0, %0, c9, c13, 0" : "=r"(pmccntr)); - // The counter is set up to count every 64th cycle - return static_cast(pmccntr) * 64; // Should optimize to << 6 - } - } -#endif - struct timeval tv; - gettimeofday(&tv, nullptr); - return static_cast(tv.tv_sec) * 1000000 + tv.tv_usec; -#elif defined(__mips__) - // mips apparently only allows rdtsc for superusers, so we fall - // back to gettimeofday. It's possible clock_gettime would be better. - struct timeval tv; - gettimeofday(&tv, nullptr); - return static_cast(tv.tv_sec) * 1000000 + tv.tv_usec; -#elif defined(__s390__) // Covers both s390 and s390x. - // Return the CPU clock. - uint64_t tsc; - asm("stck %0" : "=Q"(tsc) : : "cc"); - return tsc; -#elif defined(__riscv) // RISC-V - // Use RDCYCLE (and RDCYCLEH on riscv32) -#if __riscv_xlen == 32 - uint64_t cycles_low, cycles_hi0, cycles_hi1; - asm("rdcycleh %0" : "=r"(cycles_hi0)); - asm("rdcycle %0" : "=r"(cycles_lo)); - asm("rdcycleh %0" : "=r"(cycles_hi1)); - // This matches the PowerPC overflow detection, above - cycles_lo &= -static_cast(cycles_hi0 == cycles_hi1); - return (cycles_hi1 << 32) | cycles_lo; -#else - uint64_t cycles; - asm("rdcycle %0" : "=r"(cycles)); - return cycles; -#endif -#else -// The soft failover to a generic implementation is automatic only for ARM. -// For other platforms the developer is expected to make an attempt to create -// a fast implementation and use generic version if nothing better is available. -#error You need to define CycleTimer for your OS and CPU -#endif -} -} // end namespace cycleclock -} // end namespace benchmark - -#endif // BENCHMARK_CYCLECLOCK_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/internal_macros.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/internal_macros.h deleted file mode 100644 index 5dbf4fd275..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/internal_macros.h +++ /dev/null @@ -1,92 +0,0 @@ -#ifndef BENCHMARK_INTERNAL_MACROS_H_ -#define BENCHMARK_INTERNAL_MACROS_H_ - -#include "benchmark/benchmark.h" - -/* Needed to detect STL */ -#include - -// clang-format off - -#ifndef __has_feature -#define __has_feature(x) 0 -#endif - -#if defined(__clang__) - #if !defined(COMPILER_CLANG) - #define COMPILER_CLANG - #endif -#elif defined(_MSC_VER) - #if !defined(COMPILER_MSVC) - #define COMPILER_MSVC - #endif -#elif defined(__GNUC__) - #if !defined(COMPILER_GCC) - #define COMPILER_GCC - #endif -#endif - -#if __has_feature(cxx_attributes) - #define BENCHMARK_NORETURN [[noreturn]] -#elif defined(__GNUC__) - #define BENCHMARK_NORETURN __attribute__((noreturn)) -#elif defined(COMPILER_MSVC) - #define BENCHMARK_NORETURN __declspec(noreturn) -#else - #define BENCHMARK_NORETURN -#endif - -#if defined(__CYGWIN__) - #define BENCHMARK_OS_CYGWIN 1 -#elif defined(_WIN32) - #define BENCHMARK_OS_WINDOWS 1 - #if defined(__MINGW32__) - #define BENCHMARK_OS_MINGW 1 - #endif -#elif defined(__APPLE__) - #define BENCHMARK_OS_APPLE 1 - #include "TargetConditionals.h" - #if defined(TARGET_OS_MAC) - #define BENCHMARK_OS_MACOSX 1 - #if defined(TARGET_OS_IPHONE) - #define BENCHMARK_OS_IOS 1 - #endif - #endif -#elif defined(__FreeBSD__) - #define BENCHMARK_OS_FREEBSD 1 -#elif defined(__NetBSD__) - #define BENCHMARK_OS_NETBSD 1 -#elif defined(__OpenBSD__) - #define BENCHMARK_OS_OPENBSD 1 -#elif defined(__linux__) - #define BENCHMARK_OS_LINUX 1 -#elif defined(__native_client__) - #define BENCHMARK_OS_NACL 1 -#elif defined(__EMSCRIPTEN__) - #define BENCHMARK_OS_EMSCRIPTEN 1 -#elif defined(__rtems__) - #define BENCHMARK_OS_RTEMS 1 -#elif defined(__Fuchsia__) -#define BENCHMARK_OS_FUCHSIA 1 -#elif defined (__SVR4) && defined (__sun) -#define BENCHMARK_OS_SOLARIS 1 -#endif - -#if defined(__ANDROID__) && defined(__GLIBCXX__) -#define BENCHMARK_STL_ANDROID_GNUSTL 1 -#endif - -#if !__has_feature(cxx_exceptions) && !defined(__cpp_exceptions) \ - && !defined(__EXCEPTIONS) - #define BENCHMARK_HAS_NO_EXCEPTIONS -#endif - -#if defined(COMPILER_CLANG) || defined(COMPILER_GCC) - #define BENCHMARK_MAYBE_UNUSED __attribute__((unused)) -#else - #define BENCHMARK_MAYBE_UNUSED -#endif - -// clang-format on - -#endif // BENCHMARK_INTERNAL_MACROS_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/json_reporter.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/json_reporter.cc deleted file mode 100644 index 7d01e8e4e3..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/json_reporter.cc +++ /dev/null @@ -1,220 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark/benchmark.h" -#include "complexity.h" - -#include -#include -#include // for setprecision -#include -#include -#include -#include -#include - -#include "string_util.h" -#include "timers.h" - -namespace benchmark { - -namespace { - -std::string FormatKV(std::string const& key, std::string const& value) { - return StrFormat("\"%s\": \"%s\"", key.c_str(), value.c_str()); -} - -std::string FormatKV(std::string const& key, const char* value) { - return StrFormat("\"%s\": \"%s\"", key.c_str(), value); -} - -std::string FormatKV(std::string const& key, bool value) { - return StrFormat("\"%s\": %s", key.c_str(), value ? "true" : "false"); -} - -std::string FormatKV(std::string const& key, int64_t value) { - std::stringstream ss; - ss << '"' << key << "\": " << value; - return ss.str(); -} - -std::string FormatKV(std::string const& key, double value) { - std::stringstream ss; - ss << '"' << key << "\": "; - - const auto max_digits10 = std::numeric_limits::max_digits10; - const auto max_fractional_digits10 = max_digits10 - 1; - - ss << std::scientific << std::setprecision(max_fractional_digits10) << value; - return ss.str(); -} - -int64_t RoundDouble(double v) { return static_cast(v + 0.5); } - -} // end namespace - -bool JSONReporter::ReportContext(const Context& context) { - std::ostream& out = GetOutputStream(); - - out << "{\n"; - std::string inner_indent(2, ' '); - - // Open context block and print context information. - out << inner_indent << "\"context\": {\n"; - std::string indent(4, ' '); - - std::string walltime_value = LocalDateTimeString(); - out << indent << FormatKV("date", walltime_value) << ",\n"; - - out << indent << FormatKV("host_name", context.sys_info.name) << ",\n"; - - if (Context::executable_name) { - // windows uses backslash for its path separator, - // which must be escaped in JSON otherwise it blows up conforming JSON - // decoders - std::string executable_name = Context::executable_name; - ReplaceAll(&executable_name, "\\", "\\\\"); - out << indent << FormatKV("executable", executable_name) << ",\n"; - } - - CPUInfo const& info = context.cpu_info; - out << indent << FormatKV("num_cpus", static_cast(info.num_cpus)) - << ",\n"; - out << indent - << FormatKV("mhz_per_cpu", - RoundDouble(info.cycles_per_second / 1000000.0)) - << ",\n"; - out << indent << FormatKV("cpu_scaling_enabled", info.scaling_enabled) - << ",\n"; - - out << indent << "\"caches\": [\n"; - indent = std::string(6, ' '); - std::string cache_indent(8, ' '); - for (size_t i = 0; i < info.caches.size(); ++i) { - auto& CI = info.caches[i]; - out << indent << "{\n"; - out << cache_indent << FormatKV("type", CI.type) << ",\n"; - out << cache_indent << FormatKV("level", static_cast(CI.level)) - << ",\n"; - out << cache_indent - << FormatKV("size", static_cast(CI.size) * 1000u) << ",\n"; - out << cache_indent - << FormatKV("num_sharing", static_cast(CI.num_sharing)) - << "\n"; - out << indent << "}"; - if (i != info.caches.size() - 1) out << ","; - out << "\n"; - } - indent = std::string(4, ' '); - out << indent << "],\n"; - out << indent << "\"load_avg\": ["; - for (auto it = info.load_avg.begin(); it != info.load_avg.end();) { - out << *it++; - if (it != info.load_avg.end()) out << ","; - } - out << "],\n"; - -#if defined(NDEBUG) - const char build_type[] = "release"; -#else - const char build_type[] = "debug"; -#endif - out << indent << FormatKV("library_build_type", build_type) << "\n"; - // Close context block and open the list of benchmarks. - out << inner_indent << "},\n"; - out << inner_indent << "\"benchmarks\": [\n"; - return true; -} - -void JSONReporter::ReportRuns(std::vector const& reports) { - if (reports.empty()) { - return; - } - std::string indent(4, ' '); - std::ostream& out = GetOutputStream(); - if (!first_report_) { - out << ",\n"; - } - first_report_ = false; - - for (auto it = reports.begin(); it != reports.end(); ++it) { - out << indent << "{\n"; - PrintRunData(*it); - out << indent << '}'; - auto it_cp = it; - if (++it_cp != reports.end()) { - out << ",\n"; - } - } -} - -void JSONReporter::Finalize() { - // Close the list of benchmarks and the top level object. - GetOutputStream() << "\n ]\n}\n"; -} - -void JSONReporter::PrintRunData(Run const& run) { - std::string indent(6, ' '); - std::ostream& out = GetOutputStream(); - out << indent << FormatKV("name", run.benchmark_name()) << ",\n"; - out << indent << FormatKV("run_name", run.run_name) << ",\n"; - out << indent << FormatKV("run_type", [&run]() -> const char* { - switch (run.run_type) { - case BenchmarkReporter::Run::RT_Iteration: - return "iteration"; - case BenchmarkReporter::Run::RT_Aggregate: - return "aggregate"; - } - BENCHMARK_UNREACHABLE(); - }()) << ",\n"; - if (run.run_type == BenchmarkReporter::Run::RT_Aggregate) { - out << indent << FormatKV("aggregate_name", run.aggregate_name) << ",\n"; - } - if (run.error_occurred) { - out << indent << FormatKV("error_occurred", run.error_occurred) << ",\n"; - out << indent << FormatKV("error_message", run.error_message) << ",\n"; - } - if (!run.report_big_o && !run.report_rms) { - out << indent << FormatKV("iterations", run.iterations) << ",\n"; - out << indent << FormatKV("real_time", run.GetAdjustedRealTime()) << ",\n"; - out << indent << FormatKV("cpu_time", run.GetAdjustedCPUTime()); - out << ",\n" - << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit)); - } else if (run.report_big_o) { - out << indent << FormatKV("cpu_coefficient", run.GetAdjustedCPUTime()) - << ",\n"; - out << indent << FormatKV("real_coefficient", run.GetAdjustedRealTime()) - << ",\n"; - out << indent << FormatKV("big_o", GetBigOString(run.complexity)) << ",\n"; - out << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit)); - } else if (run.report_rms) { - out << indent << FormatKV("rms", run.GetAdjustedCPUTime()); - } - - for (auto& c : run.counters) { - out << ",\n" << indent << FormatKV(c.first, c.second); - } - - if (run.has_memory_result) { - out << ",\n" << indent << FormatKV("allocs_per_iter", run.allocs_per_iter); - out << ",\n" << indent << FormatKV("max_bytes_used", run.max_bytes_used); - } - - if (!run.report_label.empty()) { - out << ",\n" << indent << FormatKV("label", run.report_label); - } - out << '\n'; -} - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/log.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/log.h deleted file mode 100644 index 47d0c35c01..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/log.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef BENCHMARK_LOG_H_ -#define BENCHMARK_LOG_H_ - -#include -#include - -#include "benchmark/benchmark.h" - -namespace benchmark { -namespace internal { - -typedef std::basic_ostream&(EndLType)(std::basic_ostream&); - -class LogType { - friend LogType& GetNullLogInstance(); - friend LogType& GetErrorLogInstance(); - - // FIXME: Add locking to output. - template - friend LogType& operator<<(LogType&, Tp const&); - friend LogType& operator<<(LogType&, EndLType*); - - private: - LogType(std::ostream* out) : out_(out) {} - std::ostream* out_; - BENCHMARK_DISALLOW_COPY_AND_ASSIGN(LogType); -}; - -template -LogType& operator<<(LogType& log, Tp const& value) { - if (log.out_) { - *log.out_ << value; - } - return log; -} - -inline LogType& operator<<(LogType& log, EndLType* m) { - if (log.out_) { - *log.out_ << m; - } - return log; -} - -inline int& LogLevel() { - static int log_level = 0; - return log_level; -} - -inline LogType& GetNullLogInstance() { - static LogType log(nullptr); - return log; -} - -inline LogType& GetErrorLogInstance() { - static LogType log(&std::clog); - return log; -} - -inline LogType& GetLogInstanceForLevel(int level) { - if (level <= LogLevel()) { - return GetErrorLogInstance(); - } - return GetNullLogInstance(); -} - -} // end namespace internal -} // end namespace benchmark - -// clang-format off -#define VLOG(x) \ - (::benchmark::internal::GetLogInstanceForLevel(x) << "-- LOG(" << x << "):" \ - " ") -// clang-format on -#endif diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/mutex.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/mutex.h deleted file mode 100644 index 5f461d05a0..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/mutex.h +++ /dev/null @@ -1,155 +0,0 @@ -#ifndef BENCHMARK_MUTEX_H_ -#define BENCHMARK_MUTEX_H_ - -#include -#include - -#include "check.h" - -// Enable thread safety attributes only with clang. -// The attributes can be safely erased when compiling with other compilers. -#if defined(HAVE_THREAD_SAFETY_ATTRIBUTES) -#define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) -#else -#define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op -#endif - -#define CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(capability(x)) - -#define SCOPED_CAPABILITY THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable) - -#define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x)) - -#define PT_GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x)) - -#define ACQUIRED_BEFORE(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(__VA_ARGS__)) - -#define ACQUIRED_AFTER(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(acquired_after(__VA_ARGS__)) - -#define REQUIRES(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__)) - -#define REQUIRES_SHARED(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(requires_shared_capability(__VA_ARGS__)) - -#define ACQUIRE(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(acquire_capability(__VA_ARGS__)) - -#define ACQUIRE_SHARED(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(acquire_shared_capability(__VA_ARGS__)) - -#define RELEASE(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(release_capability(__VA_ARGS__)) - -#define RELEASE_SHARED(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(release_shared_capability(__VA_ARGS__)) - -#define TRY_ACQUIRE(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_capability(__VA_ARGS__)) - -#define TRY_ACQUIRE_SHARED(...) \ - THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_shared_capability(__VA_ARGS__)) - -#define EXCLUDES(...) THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__)) - -#define ASSERT_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(assert_capability(x)) - -#define ASSERT_SHARED_CAPABILITY(x) \ - THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_capability(x)) - -#define RETURN_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x)) - -#define NO_THREAD_SAFETY_ANALYSIS \ - THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis) - -namespace benchmark { - -typedef std::condition_variable Condition; - -// NOTE: Wrappers for std::mutex and std::unique_lock are provided so that -// we can annotate them with thread safety attributes and use the -// -Wthread-safety warning with clang. The standard library types cannot be -// used directly because they do not provided the required annotations. -class CAPABILITY("mutex") Mutex { - public: - Mutex() {} - - void lock() ACQUIRE() { mut_.lock(); } - void unlock() RELEASE() { mut_.unlock(); } - std::mutex& native_handle() { return mut_; } - - private: - std::mutex mut_; -}; - -class SCOPED_CAPABILITY MutexLock { - typedef std::unique_lock MutexLockImp; - - public: - MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle()) {} - ~MutexLock() RELEASE() {} - MutexLockImp& native_handle() { return ml_; } - - private: - MutexLockImp ml_; -}; - -class Barrier { - public: - Barrier(int num_threads) : running_threads_(num_threads) {} - - // Called by each thread - bool wait() EXCLUDES(lock_) { - bool last_thread = false; - { - MutexLock ml(lock_); - last_thread = createBarrier(ml); - } - if (last_thread) phase_condition_.notify_all(); - return last_thread; - } - - void removeThread() EXCLUDES(lock_) { - MutexLock ml(lock_); - --running_threads_; - if (entered_ != 0) phase_condition_.notify_all(); - } - - private: - Mutex lock_; - Condition phase_condition_; - int running_threads_; - - // State for barrier management - int phase_number_ = 0; - int entered_ = 0; // Number of threads that have entered this barrier - - // Enter the barrier and wait until all other threads have also - // entered the barrier. Returns iff this is the last thread to - // enter the barrier. - bool createBarrier(MutexLock& ml) REQUIRES(lock_) { - CHECK_LT(entered_, running_threads_); - entered_++; - if (entered_ < running_threads_) { - // Wait for all threads to enter - int phase_number_cp = phase_number_; - auto cb = [this, phase_number_cp]() { - return this->phase_number_ > phase_number_cp || - entered_ == running_threads_; // A thread has aborted in error - }; - phase_condition_.wait(ml.native_handle(), cb); - if (phase_number_ > phase_number_cp) return false; - // else (running_threads_ == entered_) and we are the last thread. - } - // Last thread has reached the barrier - phase_number_++; - entered_ = 0; - return true; - } -}; - -} // end namespace benchmark - -#endif // BENCHMARK_MUTEX_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/re.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/re.h deleted file mode 100644 index fbe25037b4..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/re.h +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef BENCHMARK_RE_H_ -#define BENCHMARK_RE_H_ - -#include "internal_macros.h" - -// clang-format off - -#if !defined(HAVE_STD_REGEX) && \ - !defined(HAVE_GNU_POSIX_REGEX) && \ - !defined(HAVE_POSIX_REGEX) - // No explicit regex selection; detect based on builtin hints. - #if defined(BENCHMARK_OS_LINUX) || defined(BENCHMARK_OS_APPLE) - #define HAVE_POSIX_REGEX 1 - #elif __cplusplus >= 199711L - #define HAVE_STD_REGEX 1 - #endif -#endif - -// Prefer C regex libraries when compiling w/o exceptions so that we can -// correctly report errors. -#if defined(BENCHMARK_HAS_NO_EXCEPTIONS) && \ - defined(BENCHMARK_HAVE_STD_REGEX) && \ - (defined(HAVE_GNU_POSIX_REGEX) || defined(HAVE_POSIX_REGEX)) - #undef HAVE_STD_REGEX -#endif - -#if defined(HAVE_STD_REGEX) - #include -#elif defined(HAVE_GNU_POSIX_REGEX) - #include -#elif defined(HAVE_POSIX_REGEX) - #include -#else -#error No regular expression backend was found! -#endif - -// clang-format on - -#include - -#include "check.h" - -namespace benchmark { - -// A wrapper around the POSIX regular expression API that provides automatic -// cleanup -class Regex { - public: - Regex() : init_(false) {} - - ~Regex(); - - // Compile a regular expression matcher from spec. Returns true on success. - // - // On failure (and if error is not nullptr), error is populated with a human - // readable error message if an error occurs. - bool Init(const std::string& spec, std::string* error); - - // Returns whether str matches the compiled regular expression. - bool Match(const std::string& str); - - private: - bool init_; -// Underlying regular expression object -#if defined(HAVE_STD_REGEX) - std::regex re_; -#elif defined(HAVE_POSIX_REGEX) || defined(HAVE_GNU_POSIX_REGEX) - regex_t re_; -#else -#error No regular expression backend implementation available -#endif -}; - -#if defined(HAVE_STD_REGEX) - -inline bool Regex::Init(const std::string& spec, std::string* error) { -#ifdef BENCHMARK_HAS_NO_EXCEPTIONS - ((void)error); // suppress unused warning -#else - try { -#endif - re_ = std::regex(spec, std::regex_constants::extended); - init_ = true; -#ifndef BENCHMARK_HAS_NO_EXCEPTIONS -} -catch (const std::regex_error& e) { - if (error) { - *error = e.what(); - } -} -#endif -return init_; -} - -inline Regex::~Regex() {} - -inline bool Regex::Match(const std::string& str) { - if (!init_) { - return false; - } - return std::regex_search(str, re_); -} - -#else -inline bool Regex::Init(const std::string& spec, std::string* error) { - int ec = regcomp(&re_, spec.c_str(), REG_EXTENDED | REG_NOSUB); - if (ec != 0) { - if (error) { - size_t needed = regerror(ec, &re_, nullptr, 0); - char* errbuf = new char[needed]; - regerror(ec, &re_, errbuf, needed); - - // regerror returns the number of bytes necessary to null terminate - // the string, so we move that when assigning to error. - CHECK_NE(needed, 0); - error->assign(errbuf, needed - 1); - - delete[] errbuf; - } - - return false; - } - - init_ = true; - return true; -} - -inline Regex::~Regex() { - if (init_) { - regfree(&re_); - } -} - -inline bool Regex::Match(const std::string& str) { - if (!init_) { - return false; - } - return regexec(&re_, str.c_str(), 0, nullptr, 0) == 0; -} -#endif - -} // end namespace benchmark - -#endif // BENCHMARK_RE_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/reporter.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/reporter.cc deleted file mode 100644 index 59bc5f7102..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/reporter.cc +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark/benchmark.h" -#include "timers.h" - -#include - -#include -#include -#include - -#include "check.h" -#include "string_util.h" - -namespace benchmark { - -BenchmarkReporter::BenchmarkReporter() - : output_stream_(&std::cout), error_stream_(&std::cerr) {} - -BenchmarkReporter::~BenchmarkReporter() {} - -void BenchmarkReporter::PrintBasicContext(std::ostream *out, - Context const &context) { - CHECK(out) << "cannot be null"; - auto &Out = *out; - - Out << LocalDateTimeString() << "\n"; - - if (context.executable_name) - Out << "Running " << context.executable_name << "\n"; - - const CPUInfo &info = context.cpu_info; - Out << "Run on (" << info.num_cpus << " X " - << (info.cycles_per_second / 1000000.0) << " MHz CPU " - << ((info.num_cpus > 1) ? "s" : "") << ")\n"; - if (info.caches.size() != 0) { - Out << "CPU Caches:\n"; - for (auto &CInfo : info.caches) { - Out << " L" << CInfo.level << " " << CInfo.type << " " - << (CInfo.size / 1000) << "K"; - if (CInfo.num_sharing != 0) - Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")"; - Out << "\n"; - } - } - if (!info.load_avg.empty()) { - Out << "Load Average: "; - for (auto It = info.load_avg.begin(); It != info.load_avg.end();) { - Out << StrFormat("%.2f", *It++); - if (It != info.load_avg.end()) Out << ", "; - } - Out << "\n"; - } - - if (info.scaling_enabled) { - Out << "***WARNING*** CPU scaling is enabled, the benchmark " - "real time measurements may be noisy and will incur extra " - "overhead.\n"; - } - -#ifndef NDEBUG - Out << "***WARNING*** Library was built as DEBUG. Timings may be " - "affected.\n"; -#endif -} - -// No initializer because it's already initialized to NULL. -const char *BenchmarkReporter::Context::executable_name; - -BenchmarkReporter::Context::Context() - : cpu_info(CPUInfo::Get()), sys_info(SystemInfo::Get()) {} - -std::string BenchmarkReporter::Run::benchmark_name() const { - std::string name = run_name; - if (run_type == RT_Aggregate) { - name += "_" + aggregate_name; - } - return name; -} - -double BenchmarkReporter::Run::GetAdjustedRealTime() const { - double new_time = real_accumulated_time * GetTimeUnitMultiplier(time_unit); - if (iterations != 0) new_time /= static_cast(iterations); - return new_time; -} - -double BenchmarkReporter::Run::GetAdjustedCPUTime() const { - double new_time = cpu_accumulated_time * GetTimeUnitMultiplier(time_unit); - if (iterations != 0) new_time /= static_cast(iterations); - return new_time; -} - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/sleep.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/sleep.cc deleted file mode 100644 index 1512ac90f7..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/sleep.cc +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "sleep.h" - -#include -#include -#include - -#include "internal_macros.h" - -#ifdef BENCHMARK_OS_WINDOWS -#include -#endif - -namespace benchmark { -#ifdef BENCHMARK_OS_WINDOWS -// Window's Sleep takes milliseconds argument. -void SleepForMilliseconds(int milliseconds) { Sleep(milliseconds); } -void SleepForSeconds(double seconds) { - SleepForMilliseconds(static_cast(kNumMillisPerSecond * seconds)); -} -#else // BENCHMARK_OS_WINDOWS -void SleepForMicroseconds(int microseconds) { - struct timespec sleep_time; - sleep_time.tv_sec = microseconds / kNumMicrosPerSecond; - sleep_time.tv_nsec = (microseconds % kNumMicrosPerSecond) * kNumNanosPerMicro; - while (nanosleep(&sleep_time, &sleep_time) != 0 && errno == EINTR) - ; // Ignore signals and wait for the full interval to elapse. -} - -void SleepForMilliseconds(int milliseconds) { - SleepForMicroseconds(milliseconds * kNumMicrosPerMilli); -} - -void SleepForSeconds(double seconds) { - SleepForMicroseconds(static_cast(seconds * kNumMicrosPerSecond)); -} -#endif // BENCHMARK_OS_WINDOWS -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/sleep.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/sleep.h deleted file mode 100644 index f98551afe2..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/sleep.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef BENCHMARK_SLEEP_H_ -#define BENCHMARK_SLEEP_H_ - -namespace benchmark { -const int kNumMillisPerSecond = 1000; -const int kNumMicrosPerMilli = 1000; -const int kNumMicrosPerSecond = kNumMillisPerSecond * 1000; -const int kNumNanosPerMicro = 1000; -const int kNumNanosPerSecond = kNumNanosPerMicro * kNumMicrosPerSecond; - -void SleepForMilliseconds(int milliseconds); -void SleepForSeconds(double seconds); -} // end namespace benchmark - -#endif // BENCHMARK_SLEEP_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/statistics.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/statistics.cc deleted file mode 100644 index e821aec18b..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/statistics.cc +++ /dev/null @@ -1,190 +0,0 @@ -// Copyright 2016 Ismael Jimenez Martinez. All rights reserved. -// Copyright 2017 Roman Lebedev. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "benchmark/benchmark.h" - -#include -#include -#include -#include -#include -#include "check.h" -#include "statistics.h" - -namespace benchmark { - -auto StatisticsSum = [](const std::vector& v) { - return std::accumulate(v.begin(), v.end(), 0.0); -}; - -double StatisticsMean(const std::vector& v) { - if (v.empty()) return 0.0; - return StatisticsSum(v) * (1.0 / v.size()); -} - -double StatisticsMedian(const std::vector& v) { - if (v.size() < 3) return StatisticsMean(v); - std::vector copy(v); - - auto center = copy.begin() + v.size() / 2; - std::nth_element(copy.begin(), center, copy.end()); - - // did we have an odd number of samples? - // if yes, then center is the median - // it no, then we are looking for the average between center and the value - // before - if (v.size() % 2 == 1) return *center; - auto center2 = copy.begin() + v.size() / 2 - 1; - std::nth_element(copy.begin(), center2, copy.end()); - return (*center + *center2) / 2.0; -} - -// Return the sum of the squares of this sample set -auto SumSquares = [](const std::vector& v) { - return std::inner_product(v.begin(), v.end(), v.begin(), 0.0); -}; - -auto Sqr = [](const double dat) { return dat * dat; }; -auto Sqrt = [](const double dat) { - // Avoid NaN due to imprecision in the calculations - if (dat < 0.0) return 0.0; - return std::sqrt(dat); -}; - -double StatisticsStdDev(const std::vector& v) { - const auto mean = StatisticsMean(v); - if (v.empty()) return mean; - - // Sample standard deviation is undefined for n = 1 - if (v.size() == 1) return 0.0; - - const double avg_squares = SumSquares(v) * (1.0 / v.size()); - return Sqrt(v.size() / (v.size() - 1.0) * (avg_squares - Sqr(mean))); -} - -std::vector ComputeStats( - const std::vector& reports) { - typedef BenchmarkReporter::Run Run; - std::vector results; - - auto error_count = - std::count_if(reports.begin(), reports.end(), - [](Run const& run) { return run.error_occurred; }); - - if (reports.size() - error_count < 2) { - // We don't report aggregated data if there was a single run. - return results; - } - - // Accumulators. - std::vector real_accumulated_time_stat; - std::vector cpu_accumulated_time_stat; - - real_accumulated_time_stat.reserve(reports.size()); - cpu_accumulated_time_stat.reserve(reports.size()); - - // All repetitions should be run with the same number of iterations so we - // can take this information from the first benchmark. - int64_t const run_iterations = reports.front().iterations; - // create stats for user counters - struct CounterStat { - Counter c; - std::vector s; - }; - std::map counter_stats; - for (Run const& r : reports) { - for (auto const& cnt : r.counters) { - auto it = counter_stats.find(cnt.first); - if (it == counter_stats.end()) { - counter_stats.insert({cnt.first, {cnt.second, std::vector{}}}); - it = counter_stats.find(cnt.first); - it->second.s.reserve(reports.size()); - } else { - CHECK_EQ(counter_stats[cnt.first].c.flags, cnt.second.flags); - } - } - } - - // Populate the accumulators. - for (Run const& run : reports) { - CHECK_EQ(reports[0].benchmark_name(), run.benchmark_name()); - CHECK_EQ(run_iterations, run.iterations); - if (run.error_occurred) continue; - real_accumulated_time_stat.emplace_back(run.real_accumulated_time); - cpu_accumulated_time_stat.emplace_back(run.cpu_accumulated_time); - // user counters - for (auto const& cnt : run.counters) { - auto it = counter_stats.find(cnt.first); - CHECK_NE(it, counter_stats.end()); - it->second.s.emplace_back(cnt.second); - } - } - - // Only add label if it is same for all runs - std::string report_label = reports[0].report_label; - for (std::size_t i = 1; i < reports.size(); i++) { - if (reports[i].report_label != report_label) { - report_label = ""; - break; - } - } - - const double iteration_rescale_factor = - double(reports.size()) / double(run_iterations); - - for (const auto& Stat : *reports[0].statistics) { - // Get the data from the accumulator to BenchmarkReporter::Run's. - Run data; - data.run_name = reports[0].benchmark_name(); - data.run_type = BenchmarkReporter::Run::RT_Aggregate; - data.aggregate_name = Stat.name_; - data.report_label = report_label; - - // It is incorrect to say that an aggregate is computed over - // run's iterations, because those iterations already got averaged. - // Similarly, if there are N repetitions with 1 iterations each, - // an aggregate will be computed over N measurements, not 1. - // Thus it is best to simply use the count of separate reports. - data.iterations = reports.size(); - - data.real_accumulated_time = Stat.compute_(real_accumulated_time_stat); - data.cpu_accumulated_time = Stat.compute_(cpu_accumulated_time_stat); - - // We will divide these times by data.iterations when reporting, but the - // data.iterations is not nessesairly the scale of these measurements, - // because in each repetition, these timers are sum over all the iterations. - // And if we want to say that the stats are over N repetitions and not - // M iterations, we need to multiply these by (N/M). - data.real_accumulated_time *= iteration_rescale_factor; - data.cpu_accumulated_time *= iteration_rescale_factor; - - data.time_unit = reports[0].time_unit; - - // user counters - for (auto const& kv : counter_stats) { - // Do *NOT* rescale the custom counters. They are already properly scaled. - const auto uc_stat = Stat.compute_(kv.second.s); - auto c = Counter(uc_stat, counter_stats[kv.first].c.flags, - counter_stats[kv.first].c.oneK); - data.counters[kv.first] = c; - } - - results.push_back(data); - } - - return results; -} - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/statistics.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/statistics.h deleted file mode 100644 index 7eccc85536..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/statistics.h +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2016 Ismael Jimenez Martinez. All rights reserved. -// Copyright 2017 Roman Lebedev. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef STATISTICS_H_ -#define STATISTICS_H_ - -#include - -#include "benchmark/benchmark.h" - -namespace benchmark { - -// Return a vector containing the mean, median and standard devation information -// (and any user-specified info) for the specified list of reports. If 'reports' -// contains less than two non-errored runs an empty vector is returned -std::vector ComputeStats( - const std::vector& reports); - -double StatisticsMean(const std::vector& v); -double StatisticsMedian(const std::vector& v); -double StatisticsStdDev(const std::vector& v); - -} // end namespace benchmark - -#endif // STATISTICS_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/string_util.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/string_util.cc deleted file mode 100644 index 05ac5b4ea3..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/string_util.cc +++ /dev/null @@ -1,261 +0,0 @@ -#include "string_util.h" - -#include -#include -#include -#include -#include -#include - -#include "arraysize.h" - -namespace benchmark { -namespace { - -// kilo, Mega, Giga, Tera, Peta, Exa, Zetta, Yotta. -const char kBigSIUnits[] = "kMGTPEZY"; -// Kibi, Mebi, Gibi, Tebi, Pebi, Exbi, Zebi, Yobi. -const char kBigIECUnits[] = "KMGTPEZY"; -// milli, micro, nano, pico, femto, atto, zepto, yocto. -const char kSmallSIUnits[] = "munpfazy"; - -// We require that all three arrays have the same size. -static_assert(arraysize(kBigSIUnits) == arraysize(kBigIECUnits), - "SI and IEC unit arrays must be the same size"); -static_assert(arraysize(kSmallSIUnits) == arraysize(kBigSIUnits), - "Small SI and Big SI unit arrays must be the same size"); - -static const int64_t kUnitsSize = arraysize(kBigSIUnits); - -void ToExponentAndMantissa(double val, double thresh, int precision, - double one_k, std::string* mantissa, - int64_t* exponent) { - std::stringstream mantissa_stream; - - if (val < 0) { - mantissa_stream << "-"; - val = -val; - } - - // Adjust threshold so that it never excludes things which can't be rendered - // in 'precision' digits. - const double adjusted_threshold = - std::max(thresh, 1.0 / std::pow(10.0, precision)); - const double big_threshold = adjusted_threshold * one_k; - const double small_threshold = adjusted_threshold; - // Values in ]simple_threshold,small_threshold[ will be printed as-is - const double simple_threshold = 0.01; - - if (val > big_threshold) { - // Positive powers - double scaled = val; - for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) { - scaled /= one_k; - if (scaled <= big_threshold) { - mantissa_stream << scaled; - *exponent = i + 1; - *mantissa = mantissa_stream.str(); - return; - } - } - mantissa_stream << val; - *exponent = 0; - } else if (val < small_threshold) { - // Negative powers - if (val < simple_threshold) { - double scaled = val; - for (size_t i = 0; i < arraysize(kSmallSIUnits); ++i) { - scaled *= one_k; - if (scaled >= small_threshold) { - mantissa_stream << scaled; - *exponent = -static_cast(i + 1); - *mantissa = mantissa_stream.str(); - return; - } - } - } - mantissa_stream << val; - *exponent = 0; - } else { - mantissa_stream << val; - *exponent = 0; - } - *mantissa = mantissa_stream.str(); -} - -std::string ExponentToPrefix(int64_t exponent, bool iec) { - if (exponent == 0) return ""; - - const int64_t index = (exponent > 0 ? exponent - 1 : -exponent - 1); - if (index >= kUnitsSize) return ""; - - const char* array = - (exponent > 0 ? (iec ? kBigIECUnits : kBigSIUnits) : kSmallSIUnits); - if (iec) - return array[index] + std::string("i"); - else - return std::string(1, array[index]); -} - -std::string ToBinaryStringFullySpecified(double value, double threshold, - int precision, double one_k = 1024.0) { - std::string mantissa; - int64_t exponent; - ToExponentAndMantissa(value, threshold, precision, one_k, &mantissa, - &exponent); - return mantissa + ExponentToPrefix(exponent, false); -} - -} // end namespace - -void AppendHumanReadable(int n, std::string* str) { - std::stringstream ss; - // Round down to the nearest SI prefix. - ss << ToBinaryStringFullySpecified(n, 1.0, 0); - *str += ss.str(); -} - -std::string HumanReadableNumber(double n, double one_k) { - // 1.1 means that figures up to 1.1k should be shown with the next unit down; - // this softens edge effects. - // 1 means that we should show one decimal place of precision. - return ToBinaryStringFullySpecified(n, 1.1, 1, one_k); -} - -std::string StrFormatImp(const char* msg, va_list args) { - // we might need a second shot at this, so pre-emptivly make a copy - va_list args_cp; - va_copy(args_cp, args); - - // TODO(ericwf): use std::array for first attempt to avoid one memory - // allocation guess what the size might be - std::array local_buff; - std::size_t size = local_buff.size(); - // 2015-10-08: vsnprintf is used instead of snd::vsnprintf due to a limitation - // in the android-ndk - auto ret = vsnprintf(local_buff.data(), size, msg, args_cp); - - va_end(args_cp); - - // handle empty expansion - if (ret == 0) return std::string{}; - if (static_cast(ret) < size) - return std::string(local_buff.data()); - - // we did not provide a long enough buffer on our first attempt. - // add 1 to size to account for null-byte in size cast to prevent overflow - size = static_cast(ret) + 1; - auto buff_ptr = std::unique_ptr(new char[size]); - // 2015-10-08: vsnprintf is used instead of snd::vsnprintf due to a limitation - // in the android-ndk - ret = vsnprintf(buff_ptr.get(), size, msg, args); - return std::string(buff_ptr.get()); -} - -std::string StrFormat(const char* format, ...) { - va_list args; - va_start(args, format); - std::string tmp = StrFormatImp(format, args); - va_end(args); - return tmp; -} - -void ReplaceAll(std::string* str, const std::string& from, - const std::string& to) { - std::size_t start = 0; - while ((start = str->find(from, start)) != std::string::npos) { - str->replace(start, from.length(), to); - start += to.length(); - } -} - -#ifdef BENCHMARK_STL_ANDROID_GNUSTL -/* - * GNU STL in Android NDK lacks support for some C++11 functions, including - * stoul, stoi, stod. We reimplement them here using C functions strtoul, - * strtol, strtod. Note that reimplemented functions are in benchmark:: - * namespace, not std:: namespace. - */ -unsigned long stoul(const std::string& str, size_t* pos, int base) { - /* Record previous errno */ - const int oldErrno = errno; - errno = 0; - - const char* strStart = str.c_str(); - char* strEnd = const_cast(strStart); - const unsigned long result = strtoul(strStart, &strEnd, base); - - const int strtoulErrno = errno; - /* Restore previous errno */ - errno = oldErrno; - - /* Check for errors and return */ - if (strtoulErrno == ERANGE) { - throw std::out_of_range( - "stoul failed: " + str + " is outside of range of unsigned long"); - } else if (strEnd == strStart || strtoulErrno != 0) { - throw std::invalid_argument( - "stoul failed: " + str + " is not an integer"); - } - if (pos != nullptr) { - *pos = static_cast(strEnd - strStart); - } - return result; -} - -int stoi(const std::string& str, size_t* pos, int base) { - /* Record previous errno */ - const int oldErrno = errno; - errno = 0; - - const char* strStart = str.c_str(); - char* strEnd = const_cast(strStart); - const long result = strtol(strStart, &strEnd, base); - - const int strtolErrno = errno; - /* Restore previous errno */ - errno = oldErrno; - - /* Check for errors and return */ - if (strtolErrno == ERANGE || long(int(result)) != result) { - throw std::out_of_range( - "stoul failed: " + str + " is outside of range of int"); - } else if (strEnd == strStart || strtolErrno != 0) { - throw std::invalid_argument( - "stoul failed: " + str + " is not an integer"); - } - if (pos != nullptr) { - *pos = static_cast(strEnd - strStart); - } - return int(result); -} - -double stod(const std::string& str, size_t* pos) { - /* Record previous errno */ - const int oldErrno = errno; - errno = 0; - - const char* strStart = str.c_str(); - char* strEnd = const_cast(strStart); - const double result = strtod(strStart, &strEnd); - - /* Restore previous errno */ - const int strtodErrno = errno; - errno = oldErrno; - - /* Check for errors and return */ - if (strtodErrno == ERANGE) { - throw std::out_of_range( - "stoul failed: " + str + " is outside of range of int"); - } else if (strEnd == strStart || strtodErrno != 0) { - throw std::invalid_argument( - "stoul failed: " + str + " is not an integer"); - } - if (pos != nullptr) { - *pos = static_cast(strEnd - strStart); - } - return result; -} -#endif - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/string_util.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/string_util.h deleted file mode 100644 index fc5f8b0304..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/string_util.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef BENCHMARK_STRING_UTIL_H_ -#define BENCHMARK_STRING_UTIL_H_ - -#include -#include -#include -#include "internal_macros.h" - -namespace benchmark { - -void AppendHumanReadable(int n, std::string* str); - -std::string HumanReadableNumber(double n, double one_k = 1024.0); - -#ifdef __GNUC__ -__attribute__((format(printf, 1, 2))) -#endif -std::string -StrFormat(const char* format, ...); - -inline std::ostream& StrCatImp(std::ostream& out) BENCHMARK_NOEXCEPT { - return out; -} - -template -inline std::ostream& StrCatImp(std::ostream& out, First&& f, Rest&&... rest) { - out << std::forward(f); - return StrCatImp(out, std::forward(rest)...); -} - -template -inline std::string StrCat(Args&&... args) { - std::ostringstream ss; - StrCatImp(ss, std::forward(args)...); - return ss.str(); -} - -void ReplaceAll(std::string* str, const std::string& from, - const std::string& to); - -#ifdef BENCHMARK_STL_ANDROID_GNUSTL -/* - * GNU STL in Android NDK lacks support for some C++11 functions, including - * stoul, stoi, stod. We reimplement them here using C functions strtoul, - * strtol, strtod. Note that reimplemented functions are in benchmark:: - * namespace, not std:: namespace. - */ -unsigned long stoul(const std::string& str, size_t* pos = nullptr, - int base = 10); -int stoi(const std::string& str, size_t* pos = nullptr, int base = 10); -double stod(const std::string& str, size_t* pos = nullptr); -#else -using std::stoul; -using std::stoi; -using std::stod; -#endif - -} // end namespace benchmark - -#endif // BENCHMARK_STRING_UTIL_H_ diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/sysinfo.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/sysinfo.cc deleted file mode 100644 index c0c07e5e62..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/sysinfo.cc +++ /dev/null @@ -1,650 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "internal_macros.h" - -#ifdef BENCHMARK_OS_WINDOWS -#include -#undef StrCat // Don't let StrCat in string_util.h be renamed to lstrcatA -#include -#include -#include -#else -#include -#ifndef BENCHMARK_OS_FUCHSIA -#include -#endif -#include -#include // this header must be included before 'sys/sysctl.h' to avoid compilation error on FreeBSD -#include -#if defined BENCHMARK_OS_FREEBSD || defined BENCHMARK_OS_MACOSX || \ - defined BENCHMARK_OS_NETBSD || defined BENCHMARK_OS_OPENBSD -#define BENCHMARK_HAS_SYSCTL -#include -#endif -#endif -#if defined(BENCHMARK_OS_SOLARIS) -#include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "check.h" -#include "cycleclock.h" -#include "internal_macros.h" -#include "log.h" -#include "sleep.h" -#include "string_util.h" - -namespace benchmark { -namespace { - -void PrintImp(std::ostream& out) { out << std::endl; } - -template -void PrintImp(std::ostream& out, First&& f, Rest&&... rest) { - out << std::forward(f); - PrintImp(out, std::forward(rest)...); -} - -template -BENCHMARK_NORETURN void PrintErrorAndDie(Args&&... args) { - PrintImp(std::cerr, std::forward(args)...); - std::exit(EXIT_FAILURE); -} - -#ifdef BENCHMARK_HAS_SYSCTL - -/// ValueUnion - A type used to correctly alias the byte-for-byte output of -/// `sysctl` with the result type it's to be interpreted as. -struct ValueUnion { - union DataT { - uint32_t uint32_value; - uint64_t uint64_value; - // For correct aliasing of union members from bytes. - char bytes[8]; - }; - using DataPtr = std::unique_ptr; - - // The size of the data union member + its trailing array size. - size_t Size; - DataPtr Buff; - - public: - ValueUnion() : Size(0), Buff(nullptr, &std::free) {} - - explicit ValueUnion(size_t BuffSize) - : Size(sizeof(DataT) + BuffSize), - Buff(::new (std::malloc(Size)) DataT(), &std::free) {} - - ValueUnion(ValueUnion&& other) = default; - - explicit operator bool() const { return bool(Buff); } - - char* data() const { return Buff->bytes; } - - std::string GetAsString() const { return std::string(data()); } - - int64_t GetAsInteger() const { - if (Size == sizeof(Buff->uint32_value)) - return static_cast(Buff->uint32_value); - else if (Size == sizeof(Buff->uint64_value)) - return static_cast(Buff->uint64_value); - BENCHMARK_UNREACHABLE(); - } - - uint64_t GetAsUnsigned() const { - if (Size == sizeof(Buff->uint32_value)) - return Buff->uint32_value; - else if (Size == sizeof(Buff->uint64_value)) - return Buff->uint64_value; - BENCHMARK_UNREACHABLE(); - } - - template - std::array GetAsArray() { - const int ArrSize = sizeof(T) * N; - CHECK_LE(ArrSize, Size); - std::array Arr; - std::memcpy(Arr.data(), data(), ArrSize); - return Arr; - } -}; - -ValueUnion GetSysctlImp(std::string const& Name) { -#if defined BENCHMARK_OS_OPENBSD - int mib[2]; - - mib[0] = CTL_HW; - if ((Name == "hw.ncpu") || (Name == "hw.cpuspeed")){ - ValueUnion buff(sizeof(int)); - - if (Name == "hw.ncpu") { - mib[1] = HW_NCPU; - } else { - mib[1] = HW_CPUSPEED; - } - - if (sysctl(mib, 2, buff.data(), &buff.Size, nullptr, 0) == -1) { - return ValueUnion(); - } - return buff; - } - return ValueUnion(); -#else - size_t CurBuffSize = 0; - if (sysctlbyname(Name.c_str(), nullptr, &CurBuffSize, nullptr, 0) == -1) - return ValueUnion(); - - ValueUnion buff(CurBuffSize); - if (sysctlbyname(Name.c_str(), buff.data(), &buff.Size, nullptr, 0) == 0) - return buff; - return ValueUnion(); -#endif -} - -BENCHMARK_MAYBE_UNUSED -bool GetSysctl(std::string const& Name, std::string* Out) { - Out->clear(); - auto Buff = GetSysctlImp(Name); - if (!Buff) return false; - Out->assign(Buff.data()); - return true; -} - -template ::value>::type> -bool GetSysctl(std::string const& Name, Tp* Out) { - *Out = 0; - auto Buff = GetSysctlImp(Name); - if (!Buff) return false; - *Out = static_cast(Buff.GetAsUnsigned()); - return true; -} - -template -bool GetSysctl(std::string const& Name, std::array* Out) { - auto Buff = GetSysctlImp(Name); - if (!Buff) return false; - *Out = Buff.GetAsArray(); - return true; -} -#endif - -template -bool ReadFromFile(std::string const& fname, ArgT* arg) { - *arg = ArgT(); - std::ifstream f(fname.c_str()); - if (!f.is_open()) return false; - f >> *arg; - return f.good(); -} - -bool CpuScalingEnabled(int num_cpus) { - // We don't have a valid CPU count, so don't even bother. - if (num_cpus <= 0) return false; -#ifndef BENCHMARK_OS_WINDOWS - // On Linux, the CPUfreq subsystem exposes CPU information as files on the - // local file system. If reading the exported files fails, then we may not be - // running on Linux, so we silently ignore all the read errors. - std::string res; - for (int cpu = 0; cpu < num_cpus; ++cpu) { - std::string governor_file = - StrCat("/sys/devices/system/cpu/cpu", cpu, "/cpufreq/scaling_governor"); - if (ReadFromFile(governor_file, &res) && res != "performance") return true; - } -#endif - return false; -} - -int CountSetBitsInCPUMap(std::string Val) { - auto CountBits = [](std::string Part) { - using CPUMask = std::bitset; - Part = "0x" + Part; - CPUMask Mask(benchmark::stoul(Part, nullptr, 16)); - return static_cast(Mask.count()); - }; - size_t Pos; - int total = 0; - while ((Pos = Val.find(',')) != std::string::npos) { - total += CountBits(Val.substr(0, Pos)); - Val = Val.substr(Pos + 1); - } - if (!Val.empty()) { - total += CountBits(Val); - } - return total; -} - -BENCHMARK_MAYBE_UNUSED -std::vector GetCacheSizesFromKVFS() { - std::vector res; - std::string dir = "/sys/devices/system/cpu/cpu0/cache/"; - int Idx = 0; - while (true) { - CPUInfo::CacheInfo info; - std::string FPath = StrCat(dir, "index", Idx++, "/"); - std::ifstream f(StrCat(FPath, "size").c_str()); - if (!f.is_open()) break; - std::string suffix; - f >> info.size; - if (f.fail()) - PrintErrorAndDie("Failed while reading file '", FPath, "size'"); - if (f.good()) { - f >> suffix; - if (f.bad()) - PrintErrorAndDie( - "Invalid cache size format: failed to read size suffix"); - else if (f && suffix != "K") - PrintErrorAndDie("Invalid cache size format: Expected bytes ", suffix); - else if (suffix == "K") - info.size *= 1000; - } - if (!ReadFromFile(StrCat(FPath, "type"), &info.type)) - PrintErrorAndDie("Failed to read from file ", FPath, "type"); - if (!ReadFromFile(StrCat(FPath, "level"), &info.level)) - PrintErrorAndDie("Failed to read from file ", FPath, "level"); - std::string map_str; - if (!ReadFromFile(StrCat(FPath, "shared_cpu_map"), &map_str)) - PrintErrorAndDie("Failed to read from file ", FPath, "shared_cpu_map"); - info.num_sharing = CountSetBitsInCPUMap(map_str); - res.push_back(info); - } - - return res; -} - -#ifdef BENCHMARK_OS_MACOSX -std::vector GetCacheSizesMacOSX() { - std::vector res; - std::array CacheCounts{{0, 0, 0, 0}}; - GetSysctl("hw.cacheconfig", &CacheCounts); - - struct { - std::string name; - std::string type; - int level; - uint64_t num_sharing; - } Cases[] = {{"hw.l1dcachesize", "Data", 1, CacheCounts[1]}, - {"hw.l1icachesize", "Instruction", 1, CacheCounts[1]}, - {"hw.l2cachesize", "Unified", 2, CacheCounts[2]}, - {"hw.l3cachesize", "Unified", 3, CacheCounts[3]}}; - for (auto& C : Cases) { - int val; - if (!GetSysctl(C.name, &val)) continue; - CPUInfo::CacheInfo info; - info.type = C.type; - info.level = C.level; - info.size = val; - info.num_sharing = static_cast(C.num_sharing); - res.push_back(std::move(info)); - } - return res; -} -#elif defined(BENCHMARK_OS_WINDOWS) -std::vector GetCacheSizesWindows() { - std::vector res; - DWORD buffer_size = 0; - using PInfo = SYSTEM_LOGICAL_PROCESSOR_INFORMATION; - using CInfo = CACHE_DESCRIPTOR; - - using UPtr = std::unique_ptr; - GetLogicalProcessorInformation(nullptr, &buffer_size); - UPtr buff((PInfo*)malloc(buffer_size), &std::free); - if (!GetLogicalProcessorInformation(buff.get(), &buffer_size)) - PrintErrorAndDie("Failed during call to GetLogicalProcessorInformation: ", - GetLastError()); - - PInfo* it = buff.get(); - PInfo* end = buff.get() + (buffer_size / sizeof(PInfo)); - - for (; it != end; ++it) { - if (it->Relationship != RelationCache) continue; - using BitSet = std::bitset; - BitSet B(it->ProcessorMask); - // To prevent duplicates, only consider caches where CPU 0 is specified - if (!B.test(0)) continue; - CInfo* Cache = &it->Cache; - CPUInfo::CacheInfo C; - C.num_sharing = static_cast(B.count()); - C.level = Cache->Level; - C.size = Cache->Size; - switch (Cache->Type) { - case CacheUnified: - C.type = "Unified"; - break; - case CacheInstruction: - C.type = "Instruction"; - break; - case CacheData: - C.type = "Data"; - break; - case CacheTrace: - C.type = "Trace"; - break; - default: - C.type = "Unknown"; - break; - } - res.push_back(C); - } - return res; -} -#endif - -std::vector GetCacheSizes() { -#ifdef BENCHMARK_OS_MACOSX - return GetCacheSizesMacOSX(); -#elif defined(BENCHMARK_OS_WINDOWS) - return GetCacheSizesWindows(); -#else - return GetCacheSizesFromKVFS(); -#endif -} - -std::string GetSystemName() { -#if defined(BENCHMARK_OS_WINDOWS) - std::string str; - const unsigned COUNT = MAX_COMPUTERNAME_LENGTH+1; - TCHAR hostname[COUNT] = {'\0'}; - DWORD DWCOUNT = COUNT; - if (!GetComputerName(hostname, &DWCOUNT)) - return std::string(""); -#ifndef UNICODE - str = std::string(hostname, DWCOUNT); -#else - //Using wstring_convert, Is deprecated in C++17 - using convert_type = std::codecvt_utf8; - std::wstring_convert converter; - std::wstring wStr(hostname, DWCOUNT); - str = converter.to_bytes(wStr); -#endif - return str; -#else // defined(BENCHMARK_OS_WINDOWS) -#ifdef BENCHMARK_OS_MACOSX //Mac Doesnt have HOST_NAME_MAX defined -#define HOST_NAME_MAX 64 -#endif - char hostname[HOST_NAME_MAX]; - int retVal = gethostname(hostname, HOST_NAME_MAX); - if (retVal != 0) return std::string(""); - return std::string(hostname); -#endif // Catch-all POSIX block. -} - -int GetNumCPUs() { -#ifdef BENCHMARK_HAS_SYSCTL - int NumCPU = -1; - if (GetSysctl("hw.ncpu", &NumCPU)) return NumCPU; - fprintf(stderr, "Err: %s\n", strerror(errno)); - std::exit(EXIT_FAILURE); -#elif defined(BENCHMARK_OS_WINDOWS) - SYSTEM_INFO sysinfo; - // Use memset as opposed to = {} to avoid GCC missing initializer false - // positives. - std::memset(&sysinfo, 0, sizeof(SYSTEM_INFO)); - GetSystemInfo(&sysinfo); - return sysinfo.dwNumberOfProcessors; // number of logical - // processors in the current - // group -#elif defined(BENCHMARK_OS_SOLARIS) - // Returns -1 in case of a failure. - int NumCPU = sysconf(_SC_NPROCESSORS_ONLN); - if (NumCPU < 0) { - fprintf(stderr, - "sysconf(_SC_NPROCESSORS_ONLN) failed with error: %s\n", - strerror(errno)); - } - return NumCPU; -#else - int NumCPUs = 0; - int MaxID = -1; - std::ifstream f("/proc/cpuinfo"); - if (!f.is_open()) { - std::cerr << "failed to open /proc/cpuinfo\n"; - return -1; - } - const std::string Key = "processor"; - std::string ln; - while (std::getline(f, ln)) { - if (ln.empty()) continue; - size_t SplitIdx = ln.find(':'); - std::string value; -#if defined(__s390__) - // s390 has another format in /proc/cpuinfo - // it needs to be parsed differently - if (SplitIdx != std::string::npos) value = ln.substr(Key.size()+1,SplitIdx-Key.size()-1); -#else - if (SplitIdx != std::string::npos) value = ln.substr(SplitIdx + 1); -#endif - if (ln.size() >= Key.size() && ln.compare(0, Key.size(), Key) == 0) { - NumCPUs++; - if (!value.empty()) { - int CurID = benchmark::stoi(value); - MaxID = std::max(CurID, MaxID); - } - } - } - if (f.bad()) { - std::cerr << "Failure reading /proc/cpuinfo\n"; - return -1; - } - if (!f.eof()) { - std::cerr << "Failed to read to end of /proc/cpuinfo\n"; - return -1; - } - f.close(); - - if ((MaxID + 1) != NumCPUs) { - fprintf(stderr, - "CPU ID assignments in /proc/cpuinfo seem messed up." - " This is usually caused by a bad BIOS.\n"); - } - return NumCPUs; -#endif - BENCHMARK_UNREACHABLE(); -} - -double GetCPUCyclesPerSecond() { -#if defined BENCHMARK_OS_LINUX || defined BENCHMARK_OS_CYGWIN - long freq; - - // If the kernel is exporting the tsc frequency use that. There are issues - // where cpuinfo_max_freq cannot be relied on because the BIOS may be - // exporintg an invalid p-state (on x86) or p-states may be used to put the - // processor in a new mode (turbo mode). Essentially, those frequencies - // cannot always be relied upon. The same reasons apply to /proc/cpuinfo as - // well. - if (ReadFromFile("/sys/devices/system/cpu/cpu0/tsc_freq_khz", &freq) - // If CPU scaling is in effect, we want to use the *maximum* frequency, - // not whatever CPU speed some random processor happens to be using now. - || ReadFromFile("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", - &freq)) { - // The value is in kHz (as the file name suggests). For example, on a - // 2GHz warpstation, the file contains the value "2000000". - return freq * 1000.0; - } - - const double error_value = -1; - double bogo_clock = error_value; - - std::ifstream f("/proc/cpuinfo"); - if (!f.is_open()) { - std::cerr << "failed to open /proc/cpuinfo\n"; - return error_value; - } - - auto startsWithKey = [](std::string const& Value, std::string const& Key) { - if (Key.size() > Value.size()) return false; - auto Cmp = [&](char X, char Y) { - return std::tolower(X) == std::tolower(Y); - }; - return std::equal(Key.begin(), Key.end(), Value.begin(), Cmp); - }; - - std::string ln; - while (std::getline(f, ln)) { - if (ln.empty()) continue; - size_t SplitIdx = ln.find(':'); - std::string value; - if (SplitIdx != std::string::npos) value = ln.substr(SplitIdx + 1); - // When parsing the "cpu MHz" and "bogomips" (fallback) entries, we only - // accept positive values. Some environments (virtual machines) report zero, - // which would cause infinite looping in WallTime_Init. - if (startsWithKey(ln, "cpu MHz")) { - if (!value.empty()) { - double cycles_per_second = benchmark::stod(value) * 1000000.0; - if (cycles_per_second > 0) return cycles_per_second; - } - } else if (startsWithKey(ln, "bogomips")) { - if (!value.empty()) { - bogo_clock = benchmark::stod(value) * 1000000.0; - if (bogo_clock < 0.0) bogo_clock = error_value; - } - } - } - if (f.bad()) { - std::cerr << "Failure reading /proc/cpuinfo\n"; - return error_value; - } - if (!f.eof()) { - std::cerr << "Failed to read to end of /proc/cpuinfo\n"; - return error_value; - } - f.close(); - // If we found the bogomips clock, but nothing better, we'll use it (but - // we're not happy about it); otherwise, fallback to the rough estimation - // below. - if (bogo_clock >= 0.0) return bogo_clock; - -#elif defined BENCHMARK_HAS_SYSCTL - constexpr auto* FreqStr = -#if defined(BENCHMARK_OS_FREEBSD) || defined(BENCHMARK_OS_NETBSD) - "machdep.tsc_freq"; -#elif defined BENCHMARK_OS_OPENBSD - "hw.cpuspeed"; -#else - "hw.cpufrequency"; -#endif - unsigned long long hz = 0; -#if defined BENCHMARK_OS_OPENBSD - if (GetSysctl(FreqStr, &hz)) return hz * 1000000; -#else - if (GetSysctl(FreqStr, &hz)) return hz; -#endif - fprintf(stderr, "Unable to determine clock rate from sysctl: %s: %s\n", - FreqStr, strerror(errno)); - -#elif defined BENCHMARK_OS_WINDOWS - // In NT, read MHz from the registry. If we fail to do so or we're in win9x - // then make a crude estimate. - DWORD data, data_size = sizeof(data); - if (IsWindowsXPOrGreater() && - SUCCEEDED( - SHGetValueA(HKEY_LOCAL_MACHINE, - "HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0", - "~MHz", nullptr, &data, &data_size))) - return static_cast((int64_t)data * - (int64_t)(1000 * 1000)); // was mhz -#elif defined (BENCHMARK_OS_SOLARIS) - kstat_ctl_t *kc = kstat_open(); - if (!kc) { - std::cerr << "failed to open /dev/kstat\n"; - return -1; - } - kstat_t *ksp = kstat_lookup(kc, (char*)"cpu_info", -1, (char*)"cpu_info0"); - if (!ksp) { - std::cerr << "failed to lookup in /dev/kstat\n"; - return -1; - } - if (kstat_read(kc, ksp, NULL) < 0) { - std::cerr << "failed to read from /dev/kstat\n"; - return -1; - } - kstat_named_t *knp = - (kstat_named_t*)kstat_data_lookup(ksp, (char*)"current_clock_Hz"); - if (!knp) { - std::cerr << "failed to lookup data in /dev/kstat\n"; - return -1; - } - if (knp->data_type != KSTAT_DATA_UINT64) { - std::cerr << "current_clock_Hz is of unexpected data type: " - << knp->data_type << "\n"; - return -1; - } - double clock_hz = knp->value.ui64; - kstat_close(kc); - return clock_hz; -#endif - // If we've fallen through, attempt to roughly estimate the CPU clock rate. - const int estimate_time_ms = 1000; - const auto start_ticks = cycleclock::Now(); - SleepForMilliseconds(estimate_time_ms); - return static_cast(cycleclock::Now() - start_ticks); -} - -std::vector GetLoadAvg() { -#if defined BENCHMARK_OS_FREEBSD || defined(BENCHMARK_OS_LINUX) || \ - defined BENCHMARK_OS_MACOSX || defined BENCHMARK_OS_NETBSD || \ - defined BENCHMARK_OS_OPENBSD - constexpr int kMaxSamples = 3; - std::vector res(kMaxSamples, 0.0); - const int nelem = getloadavg(res.data(), kMaxSamples); - if (nelem < 1) { - res.clear(); - } else { - res.resize(nelem); - } - return res; -#else - return {}; -#endif -} - -} // end namespace - -const CPUInfo& CPUInfo::Get() { - static const CPUInfo* info = new CPUInfo(); - return *info; -} - -CPUInfo::CPUInfo() - : num_cpus(GetNumCPUs()), - cycles_per_second(GetCPUCyclesPerSecond()), - caches(GetCacheSizes()), - scaling_enabled(CpuScalingEnabled(num_cpus)), - load_avg(GetLoadAvg()) {} - - -const SystemInfo& SystemInfo::Get() { - static const SystemInfo* info = new SystemInfo(); - return *info; -} - -SystemInfo::SystemInfo() : name(GetSystemName()) {} -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/thread_manager.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/thread_manager.h deleted file mode 100644 index 6e274c7ea6..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/thread_manager.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef BENCHMARK_THREAD_MANAGER_H -#define BENCHMARK_THREAD_MANAGER_H - -#include - -#include "benchmark/benchmark.h" -#include "mutex.h" - -namespace benchmark { -namespace internal { - -class ThreadManager { - public: - ThreadManager(int num_threads) - : alive_threads_(num_threads), start_stop_barrier_(num_threads) {} - - Mutex& GetBenchmarkMutex() const RETURN_CAPABILITY(benchmark_mutex_) { - return benchmark_mutex_; - } - - bool StartStopBarrier() EXCLUDES(end_cond_mutex_) { - return start_stop_barrier_.wait(); - } - - void NotifyThreadComplete() EXCLUDES(end_cond_mutex_) { - start_stop_barrier_.removeThread(); - if (--alive_threads_ == 0) { - MutexLock lock(end_cond_mutex_); - end_condition_.notify_all(); - } - } - - void WaitForAllThreads() EXCLUDES(end_cond_mutex_) { - MutexLock lock(end_cond_mutex_); - end_condition_.wait(lock.native_handle(), - [this]() { return alive_threads_ == 0; }); - } - - public: - struct Result { - int64_t iterations = 0; - double real_time_used = 0; - double cpu_time_used = 0; - double manual_time_used = 0; - int64_t complexity_n = 0; - std::string report_label_; - std::string error_message_; - bool has_error_ = false; - UserCounters counters; - }; - GUARDED_BY(GetBenchmarkMutex()) Result results; - - private: - mutable Mutex benchmark_mutex_; - std::atomic alive_threads_; - Barrier start_stop_barrier_; - Mutex end_cond_mutex_; - Condition end_condition_; -}; - -} // namespace internal -} // namespace benchmark - -#endif // BENCHMARK_THREAD_MANAGER_H diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/thread_timer.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/thread_timer.h deleted file mode 100644 index eaf108e017..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/thread_timer.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef BENCHMARK_THREAD_TIMER_H -#define BENCHMARK_THREAD_TIMER_H - -#include "check.h" -#include "timers.h" - -namespace benchmark { -namespace internal { - -class ThreadTimer { - public: - ThreadTimer() = default; - - // Called by each thread - void StartTimer() { - running_ = true; - start_real_time_ = ChronoClockNow(); - start_cpu_time_ = ThreadCPUUsage(); - } - - // Called by each thread - void StopTimer() { - CHECK(running_); - running_ = false; - real_time_used_ += ChronoClockNow() - start_real_time_; - // Floating point error can result in the subtraction producing a negative - // time. Guard against that. - cpu_time_used_ += std::max(ThreadCPUUsage() - start_cpu_time_, 0); - } - - // Called by each thread - void SetIterationTime(double seconds) { manual_time_used_ += seconds; } - - bool running() const { return running_; } - - // REQUIRES: timer is not running - double real_time_used() { - CHECK(!running_); - return real_time_used_; - } - - // REQUIRES: timer is not running - double cpu_time_used() { - CHECK(!running_); - return cpu_time_used_; - } - - // REQUIRES: timer is not running - double manual_time_used() { - CHECK(!running_); - return manual_time_used_; - } - - private: - bool running_ = false; // Is the timer running - double start_real_time_ = 0; // If running_ - double start_cpu_time_ = 0; // If running_ - - // Accumulated time so far (does not contain current slice if running_) - double real_time_used_ = 0; - double cpu_time_used_ = 0; - // Manually set iteration time. User sets this with SetIterationTime(seconds). - double manual_time_used_ = 0; -}; - -} // namespace internal -} // namespace benchmark - -#endif // BENCHMARK_THREAD_TIMER_H diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/timers.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/src/timers.cc deleted file mode 100644 index 7613ff92c6..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/timers.cc +++ /dev/null @@ -1,217 +0,0 @@ -// Copyright 2015 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "timers.h" -#include "internal_macros.h" - -#ifdef BENCHMARK_OS_WINDOWS -#include -#undef StrCat // Don't let StrCat in string_util.h be renamed to lstrcatA -#include -#include -#else -#include -#ifndef BENCHMARK_OS_FUCHSIA -#include -#endif -#include -#include // this header must be included before 'sys/sysctl.h' to avoid compilation error on FreeBSD -#include -#if defined BENCHMARK_OS_FREEBSD || defined BENCHMARK_OS_MACOSX -#include -#endif -#if defined(BENCHMARK_OS_MACOSX) -#include -#include -#include -#endif -#endif - -#ifdef BENCHMARK_OS_EMSCRIPTEN -#include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "check.h" -#include "log.h" -#include "sleep.h" -#include "string_util.h" - -namespace benchmark { - -// Suppress unused warnings on helper functions. -#if defined(__GNUC__) -#pragma GCC diagnostic ignored "-Wunused-function" -#endif - -namespace { -#if defined(BENCHMARK_OS_WINDOWS) -double MakeTime(FILETIME const& kernel_time, FILETIME const& user_time) { - ULARGE_INTEGER kernel; - ULARGE_INTEGER user; - kernel.HighPart = kernel_time.dwHighDateTime; - kernel.LowPart = kernel_time.dwLowDateTime; - user.HighPart = user_time.dwHighDateTime; - user.LowPart = user_time.dwLowDateTime; - return (static_cast(kernel.QuadPart) + - static_cast(user.QuadPart)) * - 1e-7; -} -#elif !defined(BENCHMARK_OS_FUCHSIA) -double MakeTime(struct rusage const& ru) { - return (static_cast(ru.ru_utime.tv_sec) + - static_cast(ru.ru_utime.tv_usec) * 1e-6 + - static_cast(ru.ru_stime.tv_sec) + - static_cast(ru.ru_stime.tv_usec) * 1e-6); -} -#endif -#if defined(BENCHMARK_OS_MACOSX) -double MakeTime(thread_basic_info_data_t const& info) { - return (static_cast(info.user_time.seconds) + - static_cast(info.user_time.microseconds) * 1e-6 + - static_cast(info.system_time.seconds) + - static_cast(info.system_time.microseconds) * 1e-6); -} -#endif -#if defined(CLOCK_PROCESS_CPUTIME_ID) || defined(CLOCK_THREAD_CPUTIME_ID) -double MakeTime(struct timespec const& ts) { - return ts.tv_sec + (static_cast(ts.tv_nsec) * 1e-9); -} -#endif - -BENCHMARK_NORETURN static void DiagnoseAndExit(const char* msg) { - std::cerr << "ERROR: " << msg << std::endl; - std::exit(EXIT_FAILURE); -} - -} // end namespace - -double ProcessCPUUsage() { -#if defined(BENCHMARK_OS_WINDOWS) - HANDLE proc = GetCurrentProcess(); - FILETIME creation_time; - FILETIME exit_time; - FILETIME kernel_time; - FILETIME user_time; - if (GetProcessTimes(proc, &creation_time, &exit_time, &kernel_time, - &user_time)) - return MakeTime(kernel_time, user_time); - DiagnoseAndExit("GetProccessTimes() failed"); -#elif defined(BENCHMARK_OS_EMSCRIPTEN) - // clock_gettime(CLOCK_PROCESS_CPUTIME_ID, ...) returns 0 on Emscripten. - // Use Emscripten-specific API. Reported CPU time would be exactly the - // same as total time, but this is ok because there aren't long-latency - // syncronous system calls in Emscripten. - return emscripten_get_now() * 1e-3; -#elif defined(CLOCK_PROCESS_CPUTIME_ID) && !defined(BENCHMARK_OS_MACOSX) - // FIXME We want to use clock_gettime, but its not available in MacOS 10.11. See - // https://github.com/google/benchmark/pull/292 - struct timespec spec; - if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &spec) == 0) - return MakeTime(spec); - DiagnoseAndExit("clock_gettime(CLOCK_PROCESS_CPUTIME_ID, ...) failed"); -#else - struct rusage ru; - if (getrusage(RUSAGE_SELF, &ru) == 0) return MakeTime(ru); - DiagnoseAndExit("getrusage(RUSAGE_SELF, ...) failed"); -#endif -} - -double ThreadCPUUsage() { -#if defined(BENCHMARK_OS_WINDOWS) - HANDLE this_thread = GetCurrentThread(); - FILETIME creation_time; - FILETIME exit_time; - FILETIME kernel_time; - FILETIME user_time; - GetThreadTimes(this_thread, &creation_time, &exit_time, &kernel_time, - &user_time); - return MakeTime(kernel_time, user_time); -#elif defined(BENCHMARK_OS_MACOSX) - // FIXME We want to use clock_gettime, but its not available in MacOS 10.11. See - // https://github.com/google/benchmark/pull/292 - mach_msg_type_number_t count = THREAD_BASIC_INFO_COUNT; - thread_basic_info_data_t info; - mach_port_t thread = pthread_mach_thread_np(pthread_self()); - if (thread_info(thread, THREAD_BASIC_INFO, (thread_info_t)&info, &count) == - KERN_SUCCESS) { - return MakeTime(info); - } - DiagnoseAndExit("ThreadCPUUsage() failed when evaluating thread_info"); -#elif defined(BENCHMARK_OS_EMSCRIPTEN) - // Emscripten doesn't support traditional threads - return ProcessCPUUsage(); -#elif defined(BENCHMARK_OS_RTEMS) - // RTEMS doesn't support CLOCK_THREAD_CPUTIME_ID. See - // https://github.com/RTEMS/rtems/blob/master/cpukit/posix/src/clockgettime.c - return ProcessCPUUsage(); -#elif defined(BENCHMARK_OS_SOLARIS) - struct rusage ru; - if (getrusage(RUSAGE_LWP, &ru) == 0) return MakeTime(ru); - DiagnoseAndExit("getrusage(RUSAGE_LWP, ...) failed"); -#elif defined(CLOCK_THREAD_CPUTIME_ID) - struct timespec ts; - if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) == 0) return MakeTime(ts); - DiagnoseAndExit("clock_gettime(CLOCK_THREAD_CPUTIME_ID, ...) failed"); -#else -#error Per-thread timing is not available on your system. -#endif -} - -namespace { - -std::string DateTimeString(bool local) { - typedef std::chrono::system_clock Clock; - std::time_t now = Clock::to_time_t(Clock::now()); - const std::size_t kStorageSize = 128; - char storage[kStorageSize]; - std::size_t written; - - if (local) { -#if defined(BENCHMARK_OS_WINDOWS) - written = - std::strftime(storage, sizeof(storage), "%x %X", ::localtime(&now)); -#else - std::tm timeinfo; - ::localtime_r(&now, &timeinfo); - written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); -#endif - } else { -#if defined(BENCHMARK_OS_WINDOWS) - written = std::strftime(storage, sizeof(storage), "%x %X", ::gmtime(&now)); -#else - std::tm timeinfo; - ::gmtime_r(&now, &timeinfo); - written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); -#endif - } - CHECK(written < kStorageSize); - ((void)written); // prevent unused variable in optimized mode. - return std::string(storage); -} - -} // end namespace - -std::string LocalDateTimeString() { return DateTimeString(true); } - -} // end namespace benchmark diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/src/timers.h b/libcudacxx/.upstream-tests/utils/google-benchmark/src/timers.h deleted file mode 100644 index 65606ccd93..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/src/timers.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef BENCHMARK_TIMERS_H -#define BENCHMARK_TIMERS_H - -#include -#include - -namespace benchmark { - -// Return the CPU usage of the current process -double ProcessCPUUsage(); - -// Return the CPU usage of the children of the current process -double ChildrenCPUUsage(); - -// Return the CPU usage of the current thread -double ThreadCPUUsage(); - -#if defined(HAVE_STEADY_CLOCK) -template -struct ChooseSteadyClock { - typedef std::chrono::high_resolution_clock type; -}; - -template <> -struct ChooseSteadyClock { - typedef std::chrono::steady_clock type; -}; -#endif - -struct ChooseClockType { -#if defined(HAVE_STEADY_CLOCK) - typedef ChooseSteadyClock<>::type type; -#else - typedef std::chrono::high_resolution_clock type; -#endif -}; - -inline double ChronoClockNow() { - typedef ChooseClockType::type ClockType; - using FpSeconds = std::chrono::duration; - return FpSeconds(ClockType::now().time_since_epoch()).count(); -} - -std::string LocalDateTimeString(); - -} // end namespace benchmark - -#endif // BENCHMARK_TIMERS_H diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/AssemblyTests.cmake b/libcudacxx/.upstream-tests/utils/google-benchmark/test/AssemblyTests.cmake deleted file mode 100644 index 3d078586f1..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/AssemblyTests.cmake +++ /dev/null @@ -1,46 +0,0 @@ - -include(split_list) - -set(ASM_TEST_FLAGS "") -check_cxx_compiler_flag(-O3 BENCHMARK_HAS_O3_FLAG) -if (BENCHMARK_HAS_O3_FLAG) - list(APPEND ASM_TEST_FLAGS -O3) -endif() - -check_cxx_compiler_flag(-g0 BENCHMARK_HAS_G0_FLAG) -if (BENCHMARK_HAS_G0_FLAG) - list(APPEND ASM_TEST_FLAGS -g0) -endif() - -check_cxx_compiler_flag(-fno-stack-protector BENCHMARK_HAS_FNO_STACK_PROTECTOR_FLAG) -if (BENCHMARK_HAS_FNO_STACK_PROTECTOR_FLAG) - list(APPEND ASM_TEST_FLAGS -fno-stack-protector) -endif() - -split_list(ASM_TEST_FLAGS) -string(TOUPPER "${CMAKE_CXX_COMPILER_ID}" ASM_TEST_COMPILER) - -macro(add_filecheck_test name) - cmake_parse_arguments(ARG "" "" "CHECK_PREFIXES" ${ARGV}) - add_library(${name} OBJECT ${name}.cc) - set_target_properties(${name} PROPERTIES COMPILE_FLAGS "-S ${ASM_TEST_FLAGS}") - set(ASM_OUTPUT_FILE "${CMAKE_CURRENT_BINARY_DIR}/${name}.s") - add_custom_target(copy_${name} ALL - COMMAND ${PROJECT_SOURCE_DIR}/tools/strip_asm.py - $ - ${ASM_OUTPUT_FILE} - BYPRODUCTS ${ASM_OUTPUT_FILE}) - add_dependencies(copy_${name} ${name}) - if (NOT ARG_CHECK_PREFIXES) - set(ARG_CHECK_PREFIXES "CHECK") - endif() - foreach(prefix ${ARG_CHECK_PREFIXES}) - add_test(NAME run_${name}_${prefix} - COMMAND - ${LLVM_FILECHECK_EXE} ${name}.cc - --input-file=${ASM_OUTPUT_FILE} - --check-prefixes=CHECK,CHECK-${ASM_TEST_COMPILER} - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) - endforeach() -endmacro() - diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/CMakeLists.txt b/libcudacxx/.upstream-tests/utils/google-benchmark/test/CMakeLists.txt deleted file mode 100644 index a7748111dc..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/CMakeLists.txt +++ /dev/null @@ -1,260 +0,0 @@ -# Enable the tests - -find_package(Threads REQUIRED) -include(CheckCXXCompilerFlag) - -# NOTE: Some tests use `` to perform the test. Therefore we must -# strip -DNDEBUG from the default CMake flags in DEBUG mode. -string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) -if( NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG" ) - add_definitions( -UNDEBUG ) - add_definitions(-DTEST_BENCHMARK_LIBRARY_HAS_NO_ASSERTIONS) - # Also remove /D NDEBUG to avoid MSVC warnings about conflicting defines. - foreach (flags_var_to_scrub - CMAKE_CXX_FLAGS_RELEASE - CMAKE_CXX_FLAGS_RELWITHDEBINFO - CMAKE_CXX_FLAGS_MINSIZEREL - CMAKE_C_FLAGS_RELEASE - CMAKE_C_FLAGS_RELWITHDEBINFO - CMAKE_C_FLAGS_MINSIZEREL) - string (REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " " - "${flags_var_to_scrub}" "${${flags_var_to_scrub}}") - endforeach() -endif() - -check_cxx_compiler_flag(-O3 BENCHMARK_HAS_O3_FLAG) -set(BENCHMARK_O3_FLAG "") -if (BENCHMARK_HAS_O3_FLAG) - set(BENCHMARK_O3_FLAG "-O3") -endif() - -# NOTE: These flags must be added after find_package(Threads REQUIRED) otherwise -# they will break the configuration check. -if (DEFINED BENCHMARK_CXX_LINKER_FLAGS) - list(APPEND CMAKE_EXE_LINKER_FLAGS ${BENCHMARK_CXX_LINKER_FLAGS}) -endif() - -add_library(output_test_helper STATIC output_test_helper.cc output_test.h) - -macro(compile_benchmark_test name) - add_executable(${name} "${name}.cc") - target_link_libraries(${name} benchmark ${CMAKE_THREAD_LIBS_INIT}) -endmacro(compile_benchmark_test) - -macro(compile_benchmark_test_with_main name) - add_executable(${name} "${name}.cc") - target_link_libraries(${name} benchmark_main) -endmacro(compile_benchmark_test_with_main) - -macro(compile_output_test name) - add_executable(${name} "${name}.cc" output_test.h) - target_link_libraries(${name} output_test_helper benchmark - ${BENCHMARK_CXX_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) -endmacro(compile_output_test) - -# Demonstration executable -compile_benchmark_test(benchmark_test) -add_test(benchmark benchmark_test --benchmark_min_time=0.01) - -compile_benchmark_test(filter_test) -macro(add_filter_test name filter expect) - add_test(${name} filter_test --benchmark_min_time=0.01 --benchmark_filter=${filter} ${expect}) - add_test(${name}_list_only filter_test --benchmark_list_tests --benchmark_filter=${filter} ${expect}) -endmacro(add_filter_test) - -add_filter_test(filter_simple "Foo" 3) -add_filter_test(filter_simple_negative "-Foo" 2) -add_filter_test(filter_suffix "BM_.*" 4) -add_filter_test(filter_suffix_negative "-BM_.*" 1) -add_filter_test(filter_regex_all ".*" 5) -add_filter_test(filter_regex_all_negative "-.*" 0) -add_filter_test(filter_regex_blank "" 5) -add_filter_test(filter_regex_blank_negative "-" 0) -add_filter_test(filter_regex_none "monkey" 0) -add_filter_test(filter_regex_none_negative "-monkey" 5) -add_filter_test(filter_regex_wildcard ".*Foo.*" 3) -add_filter_test(filter_regex_wildcard_negative "-.*Foo.*" 2) -add_filter_test(filter_regex_begin "^BM_.*" 4) -add_filter_test(filter_regex_begin_negative "-^BM_.*" 1) -add_filter_test(filter_regex_begin2 "^N" 1) -add_filter_test(filter_regex_begin2_negative "-^N" 4) -add_filter_test(filter_regex_end ".*Ba$" 1) -add_filter_test(filter_regex_end_negative "-.*Ba$" 4) - -compile_benchmark_test(options_test) -add_test(options_benchmarks options_test --benchmark_min_time=0.01) - -compile_benchmark_test(basic_test) -add_test(basic_benchmark basic_test --benchmark_min_time=0.01) - -compile_benchmark_test(diagnostics_test) -add_test(diagnostics_test diagnostics_test --benchmark_min_time=0.01) - -compile_benchmark_test(skip_with_error_test) -add_test(skip_with_error_test skip_with_error_test --benchmark_min_time=0.01) - -compile_benchmark_test(donotoptimize_test) -# Some of the issues with DoNotOptimize only occur when optimization is enabled -check_cxx_compiler_flag(-O3 BENCHMARK_HAS_O3_FLAG) -if (BENCHMARK_HAS_O3_FLAG) - set_target_properties(donotoptimize_test PROPERTIES COMPILE_FLAGS "-O3") -endif() -add_test(donotoptimize_test donotoptimize_test --benchmark_min_time=0.01) - -compile_benchmark_test(fixture_test) -add_test(fixture_test fixture_test --benchmark_min_time=0.01) - -compile_benchmark_test(register_benchmark_test) -add_test(register_benchmark_test register_benchmark_test --benchmark_min_time=0.01) - -compile_benchmark_test(map_test) -add_test(map_test map_test --benchmark_min_time=0.01) - -compile_benchmark_test(multiple_ranges_test) -add_test(multiple_ranges_test multiple_ranges_test --benchmark_min_time=0.01) - -compile_benchmark_test_with_main(link_main_test) -add_test(link_main_test link_main_test --benchmark_min_time=0.01) - -compile_output_test(reporter_output_test) -add_test(reporter_output_test reporter_output_test --benchmark_min_time=0.01) - -compile_output_test(templated_fixture_test) -add_test(templated_fixture_test templated_fixture_test --benchmark_min_time=0.01) - -compile_output_test(user_counters_test) -add_test(user_counters_test user_counters_test --benchmark_min_time=0.01) - -compile_output_test(report_aggregates_only_test) -add_test(report_aggregates_only_test report_aggregates_only_test --benchmark_min_time=0.01) - -compile_output_test(display_aggregates_only_test) -add_test(display_aggregates_only_test display_aggregates_only_test --benchmark_min_time=0.01) - -compile_output_test(user_counters_tabular_test) -add_test(user_counters_tabular_test user_counters_tabular_test --benchmark_counters_tabular=true --benchmark_min_time=0.01) - -compile_output_test(user_counters_thousands_test) -add_test(user_counters_thousands_test user_counters_thousands_test --benchmark_min_time=0.01) - -compile_output_test(memory_manager_test) -add_test(memory_manager_test memory_manager_test --benchmark_min_time=0.01) - -check_cxx_compiler_flag(-std=c++03 BENCHMARK_HAS_CXX03_FLAG) -if (BENCHMARK_HAS_CXX03_FLAG) - compile_benchmark_test(cxx03_test) - set_target_properties(cxx03_test - PROPERTIES - COMPILE_FLAGS "-std=c++03") - # libstdc++ provides different definitions within between dialects. When - # LTO is enabled and -Werror is specified GCC diagnoses this ODR violation - # causing the test to fail to compile. To prevent this we explicitly disable - # the warning. - check_cxx_compiler_flag(-Wno-odr BENCHMARK_HAS_WNO_ODR) - if (BENCHMARK_ENABLE_LTO AND BENCHMARK_HAS_WNO_ODR) - set_target_properties(cxx03_test - PROPERTIES - LINK_FLAGS "-Wno-odr") - endif() - add_test(cxx03 cxx03_test --benchmark_min_time=0.01) -endif() - -# Attempt to work around flaky test failures when running on Appveyor servers. -if (DEFINED ENV{APPVEYOR}) - set(COMPLEXITY_MIN_TIME "0.5") -else() - set(COMPLEXITY_MIN_TIME "0.01") -endif() -compile_output_test(complexity_test) -add_test(complexity_benchmark complexity_test --benchmark_min_time=${COMPLEXITY_MIN_TIME}) - -############################################################################### -# GoogleTest Unit Tests -############################################################################### - -if (BENCHMARK_ENABLE_GTEST_TESTS) - macro(compile_gtest name) - add_executable(${name} "${name}.cc") - if (TARGET googletest) - add_dependencies(${name} googletest) - endif() - if (GTEST_INCLUDE_DIRS) - target_include_directories(${name} PRIVATE ${GTEST_INCLUDE_DIRS}) - endif() - target_link_libraries(${name} benchmark - ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) - endmacro(compile_gtest) - - macro(add_gtest name) - compile_gtest(${name}) - add_test(${name} ${name}) - endmacro() - - add_gtest(benchmark_gtest) - add_gtest(statistics_gtest) - add_gtest(string_util_gtest) -endif(BENCHMARK_ENABLE_GTEST_TESTS) - -############################################################################### -# Assembly Unit Tests -############################################################################### - -if (BENCHMARK_ENABLE_ASSEMBLY_TESTS) - if (NOT LLVM_FILECHECK_EXE) - message(FATAL_ERROR "LLVM FileCheck is required when including this file") - endif() - include(AssemblyTests.cmake) - add_filecheck_test(donotoptimize_assembly_test) - add_filecheck_test(state_assembly_test) - add_filecheck_test(clobber_memory_assembly_test) -endif() - - - -############################################################################### -# Code Coverage Configuration -############################################################################### - -# Add the coverage command(s) -if(CMAKE_BUILD_TYPE) - string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_LOWER) -endif() -if (${CMAKE_BUILD_TYPE_LOWER} MATCHES "coverage") - find_program(GCOV gcov) - find_program(LCOV lcov) - find_program(GENHTML genhtml) - find_program(CTEST ctest) - if (GCOV AND LCOV AND GENHTML AND CTEST AND HAVE_CXX_FLAG_COVERAGE) - add_custom_command( - OUTPUT ${CMAKE_BINARY_DIR}/lcov/index.html - COMMAND ${LCOV} -q -z -d . - COMMAND ${LCOV} -q --no-external -c -b "${libcudacxx_SOURCE_DIR}" -d . -o before.lcov -i - COMMAND ${CTEST} --force-new-ctest-process - COMMAND ${LCOV} -q --no-external -c -b "${libcudacxx_SOURCE_DIR}" -d . -o after.lcov - COMMAND ${LCOV} -q -a before.lcov -a after.lcov --output-file final.lcov - COMMAND ${LCOV} -q -r final.lcov "'${libcudacxx_SOURCE_DIR}/test/*'" -o final.lcov - COMMAND ${GENHTML} final.lcov -o lcov --demangle-cpp --sort -p "${CMAKE_BINARY_DIR}" -t benchmark - DEPENDS filter_test benchmark_test options_test basic_test fixture_test cxx03_test complexity_test - WORKING_DIRECTORY ${CMAKE_BINARY_DIR} - COMMENT "Running LCOV" - ) - add_custom_target(coverage - DEPENDS ${CMAKE_BINARY_DIR}/lcov/index.html - COMMENT "LCOV report at lcov/index.html" - ) - message(STATUS "Coverage command added") - else() - if (HAVE_CXX_FLAG_COVERAGE) - set(CXX_FLAG_COVERAGE_MESSAGE supported) - else() - set(CXX_FLAG_COVERAGE_MESSAGE unavailable) - endif() - message(WARNING - "Coverage not available:\n" - " gcov: ${GCOV}\n" - " lcov: ${LCOV}\n" - " genhtml: ${GENHTML}\n" - " ctest: ${CTEST}\n" - " --coverage flag: ${CXX_FLAG_COVERAGE_MESSAGE}") - endif() -endif() diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/basic_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/basic_test.cc deleted file mode 100644 index d07fbc00b1..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/basic_test.cc +++ /dev/null @@ -1,136 +0,0 @@ - -#include "benchmark/benchmark.h" - -#define BASIC_BENCHMARK_TEST(x) BENCHMARK(x)->Arg(8)->Arg(512)->Arg(8192) - -void BM_empty(benchmark::State& state) { - for (auto _ : state) { - benchmark::DoNotOptimize(state.iterations()); - } -} -BENCHMARK(BM_empty); -BENCHMARK(BM_empty)->ThreadPerCpu(); - -void BM_spin_empty(benchmark::State& state) { - for (auto _ : state) { - for (int x = 0; x < state.range(0); ++x) { - benchmark::DoNotOptimize(x); - } - } -} -BASIC_BENCHMARK_TEST(BM_spin_empty); -BASIC_BENCHMARK_TEST(BM_spin_empty)->ThreadPerCpu(); - -void BM_spin_pause_before(benchmark::State& state) { - for (int i = 0; i < state.range(0); ++i) { - benchmark::DoNotOptimize(i); - } - for (auto _ : state) { - for (int i = 0; i < state.range(0); ++i) { - benchmark::DoNotOptimize(i); - } - } -} -BASIC_BENCHMARK_TEST(BM_spin_pause_before); -BASIC_BENCHMARK_TEST(BM_spin_pause_before)->ThreadPerCpu(); - -void BM_spin_pause_during(benchmark::State& state) { - for (auto _ : state) { - state.PauseTiming(); - for (int i = 0; i < state.range(0); ++i) { - benchmark::DoNotOptimize(i); - } - state.ResumeTiming(); - for (int i = 0; i < state.range(0); ++i) { - benchmark::DoNotOptimize(i); - } - } -} -BASIC_BENCHMARK_TEST(BM_spin_pause_during); -BASIC_BENCHMARK_TEST(BM_spin_pause_during)->ThreadPerCpu(); - -void BM_pause_during(benchmark::State& state) { - for (auto _ : state) { - state.PauseTiming(); - state.ResumeTiming(); - } -} -BENCHMARK(BM_pause_during); -BENCHMARK(BM_pause_during)->ThreadPerCpu(); -BENCHMARK(BM_pause_during)->UseRealTime(); -BENCHMARK(BM_pause_during)->UseRealTime()->ThreadPerCpu(); - -void BM_spin_pause_after(benchmark::State& state) { - for (auto _ : state) { - for (int i = 0; i < state.range(0); ++i) { - benchmark::DoNotOptimize(i); - } - } - for (int i = 0; i < state.range(0); ++i) { - benchmark::DoNotOptimize(i); - } -} -BASIC_BENCHMARK_TEST(BM_spin_pause_after); -BASIC_BENCHMARK_TEST(BM_spin_pause_after)->ThreadPerCpu(); - -void BM_spin_pause_before_and_after(benchmark::State& state) { - for (int i = 0; i < state.range(0); ++i) { - benchmark::DoNotOptimize(i); - } - for (auto _ : state) { - for (int i = 0; i < state.range(0); ++i) { - benchmark::DoNotOptimize(i); - } - } - for (int i = 0; i < state.range(0); ++i) { - benchmark::DoNotOptimize(i); - } -} -BASIC_BENCHMARK_TEST(BM_spin_pause_before_and_after); -BASIC_BENCHMARK_TEST(BM_spin_pause_before_and_after)->ThreadPerCpu(); - -void BM_empty_stop_start(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_empty_stop_start); -BENCHMARK(BM_empty_stop_start)->ThreadPerCpu(); - - -void BM_KeepRunning(benchmark::State& state) { - size_t iter_count = 0; - assert(iter_count == state.iterations()); - while (state.KeepRunning()) { - ++iter_count; - } - assert(iter_count == state.iterations()); -} -BENCHMARK(BM_KeepRunning); - -void BM_KeepRunningBatch(benchmark::State& state) { - // Choose a prime batch size to avoid evenly dividing max_iterations. - const size_t batch_size = 101; - size_t iter_count = 0; - while (state.KeepRunningBatch(batch_size)) { - iter_count += batch_size; - } - assert(state.iterations() == iter_count); -} -BENCHMARK(BM_KeepRunningBatch); - -void BM_RangedFor(benchmark::State& state) { - size_t iter_count = 0; - for (auto _ : state) { - ++iter_count; - } - assert(iter_count == state.max_iterations); -} -BENCHMARK(BM_RangedFor); - -// Ensure that StateIterator provides all the necessary typedefs required to -// instantiate std::iterator_traits. -static_assert(std::is_same< - typename std::iterator_traits::value_type, - typename benchmark::State::StateIterator::value_type>::value, ""); - -BENCHMARK_MAIN(); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/benchmark_gtest.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/benchmark_gtest.cc deleted file mode 100644 index 10683b433a..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/benchmark_gtest.cc +++ /dev/null @@ -1,33 +0,0 @@ -#include - -#include "../src/benchmark_register.h" -#include "gmock/gmock.h" -#include "gtest/gtest.h" - -namespace { - -TEST(AddRangeTest, Simple) { - std::vector dst; - AddRange(&dst, 1, 2, 2); - EXPECT_THAT(dst, testing::ElementsAre(1, 2)); -} - -TEST(AddRangeTest, Simple64) { - std::vector dst; - AddRange(&dst, static_cast(1), static_cast(2), 2); - EXPECT_THAT(dst, testing::ElementsAre(1, 2)); -} - -TEST(AddRangeTest, Advanced) { - std::vector dst; - AddRange(&dst, 5, 15, 2); - EXPECT_THAT(dst, testing::ElementsAre(5, 8, 15)); -} - -TEST(AddRangeTest, Advanced64) { - std::vector dst; - AddRange(&dst, static_cast(5), static_cast(15), 2); - EXPECT_THAT(dst, testing::ElementsAre(5, 8, 15)); -} - -} // end namespace diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/benchmark_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/benchmark_test.cc deleted file mode 100644 index 3cd4f5565f..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/benchmark_test.cc +++ /dev/null @@ -1,245 +0,0 @@ -#include "benchmark/benchmark.h" - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(__GNUC__) -#define BENCHMARK_NOINLINE __attribute__((noinline)) -#else -#define BENCHMARK_NOINLINE -#endif - -namespace { - -int BENCHMARK_NOINLINE Factorial(uint32_t n) { - return (n == 1) ? 1 : n * Factorial(n - 1); -} - -double CalculatePi(int depth) { - double pi = 0.0; - for (int i = 0; i < depth; ++i) { - double numerator = static_cast(((i % 2) * 2) - 1); - double denominator = static_cast((2 * i) - 1); - pi += numerator / denominator; - } - return (pi - 1.0) * 4; -} - -std::set ConstructRandomSet(int64_t size) { - std::set s; - for (int i = 0; i < size; ++i) s.insert(s.end(), i); - return s; -} - -std::mutex test_vector_mu; -std::vector* test_vector = nullptr; - -} // end namespace - -static void BM_Factorial(benchmark::State& state) { - int fac_42 = 0; - for (auto _ : state) fac_42 = Factorial(8); - // Prevent compiler optimizations - std::stringstream ss; - ss << fac_42; - state.SetLabel(ss.str()); -} -BENCHMARK(BM_Factorial); -BENCHMARK(BM_Factorial)->UseRealTime(); - -static void BM_CalculatePiRange(benchmark::State& state) { - double pi = 0.0; - for (auto _ : state) pi = CalculatePi(static_cast(state.range(0))); - std::stringstream ss; - ss << pi; - state.SetLabel(ss.str()); -} -BENCHMARK_RANGE(BM_CalculatePiRange, 1, 1024 * 1024); - -static void BM_CalculatePi(benchmark::State& state) { - static const int depth = 1024; - for (auto _ : state) { - benchmark::DoNotOptimize(CalculatePi(static_cast(depth))); - } -} -BENCHMARK(BM_CalculatePi)->Threads(8); -BENCHMARK(BM_CalculatePi)->ThreadRange(1, 32); -BENCHMARK(BM_CalculatePi)->ThreadPerCpu(); - -static void BM_SetInsert(benchmark::State& state) { - std::set data; - for (auto _ : state) { - state.PauseTiming(); - data = ConstructRandomSet(state.range(0)); - state.ResumeTiming(); - for (int j = 0; j < state.range(1); ++j) data.insert(rand()); - } - state.SetItemsProcessed(state.iterations() * state.range(1)); - state.SetBytesProcessed(state.iterations() * state.range(1) * sizeof(int)); -} - -// Test many inserts at once to reduce the total iterations needed. Otherwise, the slower, -// non-timed part of each iteration will make the benchmark take forever. -BENCHMARK(BM_SetInsert)->Ranges({{1 << 10, 8 << 10}, {128, 512}}); - -template -static void BM_Sequential(benchmark::State& state) { - ValueType v = 42; - for (auto _ : state) { - Container c; - for (int64_t i = state.range(0); --i;) c.push_back(v); - } - const int64_t items_processed = state.iterations() * state.range(0); - state.SetItemsProcessed(items_processed); - state.SetBytesProcessed(items_processed * sizeof(v)); -} -BENCHMARK_TEMPLATE2(BM_Sequential, std::vector, int) - ->Range(1 << 0, 1 << 10); -BENCHMARK_TEMPLATE(BM_Sequential, std::list)->Range(1 << 0, 1 << 10); -// Test the variadic version of BENCHMARK_TEMPLATE in C++11 and beyond. -#ifdef BENCHMARK_HAS_CXX11 -BENCHMARK_TEMPLATE(BM_Sequential, std::vector, int)->Arg(512); -#endif - -static void BM_StringCompare(benchmark::State& state) { - size_t len = static_cast(state.range(0)); - std::string s1(len, '-'); - std::string s2(len, '-'); - for (auto _ : state) benchmark::DoNotOptimize(s1.compare(s2)); -} -BENCHMARK(BM_StringCompare)->Range(1, 1 << 20); - -static void BM_SetupTeardown(benchmark::State& state) { - if (state.thread_index == 0) { - // No need to lock test_vector_mu here as this is running single-threaded. - test_vector = new std::vector(); - } - int i = 0; - for (auto _ : state) { - std::lock_guard l(test_vector_mu); - if (i % 2 == 0) - test_vector->push_back(i); - else - test_vector->pop_back(); - ++i; - } - if (state.thread_index == 0) { - delete test_vector; - } -} -BENCHMARK(BM_SetupTeardown)->ThreadPerCpu(); - -static void BM_LongTest(benchmark::State& state) { - double tracker = 0.0; - for (auto _ : state) { - for (int i = 0; i < state.range(0); ++i) - benchmark::DoNotOptimize(tracker += i); - } -} -BENCHMARK(BM_LongTest)->Range(1 << 16, 1 << 28); - -static void BM_ParallelMemset(benchmark::State& state) { - int64_t size = state.range(0) / static_cast(sizeof(int)); - int thread_size = static_cast(size) / state.threads; - int from = thread_size * state.thread_index; - int to = from + thread_size; - - if (state.thread_index == 0) { - test_vector = new std::vector(static_cast(size)); - } - - for (auto _ : state) { - for (int i = from; i < to; i++) { - // No need to lock test_vector_mu as ranges - // do not overlap between threads. - benchmark::DoNotOptimize(test_vector->at(i) = 1); - } - } - - if (state.thread_index == 0) { - delete test_vector; - } -} -BENCHMARK(BM_ParallelMemset)->Arg(10 << 20)->ThreadRange(1, 4); - -static void BM_ManualTiming(benchmark::State& state) { - int64_t slept_for = 0; - int64_t microseconds = state.range(0); - std::chrono::duration sleep_duration{ - static_cast(microseconds)}; - - for (auto _ : state) { - auto start = std::chrono::high_resolution_clock::now(); - // Simulate some useful workload with a sleep - std::this_thread::sleep_for( - std::chrono::duration_cast(sleep_duration)); - auto end = std::chrono::high_resolution_clock::now(); - - auto elapsed = - std::chrono::duration_cast>(end - start); - - state.SetIterationTime(elapsed.count()); - slept_for += microseconds; - } - state.SetItemsProcessed(slept_for); -} -BENCHMARK(BM_ManualTiming)->Range(1, 1 << 14)->UseRealTime(); -BENCHMARK(BM_ManualTiming)->Range(1, 1 << 14)->UseManualTime(); - -#ifdef BENCHMARK_HAS_CXX11 - -template -void BM_with_args(benchmark::State& state, Args&&...) { - for (auto _ : state) { - } -} -BENCHMARK_CAPTURE(BM_with_args, int_test, 42, 43, 44); -BENCHMARK_CAPTURE(BM_with_args, string_and_pair_test, std::string("abc"), - std::pair(42, 3.8)); - -void BM_non_template_args(benchmark::State& state, int, double) { - while(state.KeepRunning()) {} -} -BENCHMARK_CAPTURE(BM_non_template_args, basic_test, 0, 0); - -#endif // BENCHMARK_HAS_CXX11 - -static void BM_DenseThreadRanges(benchmark::State& st) { - switch (st.range(0)) { - case 1: - assert(st.threads == 1 || st.threads == 2 || st.threads == 3); - break; - case 2: - assert(st.threads == 1 || st.threads == 3 || st.threads == 4); - break; - case 3: - assert(st.threads == 5 || st.threads == 8 || st.threads == 11 || - st.threads == 14); - break; - default: - assert(false && "Invalid test case number"); - } - while (st.KeepRunning()) { - } -} -BENCHMARK(BM_DenseThreadRanges)->Arg(1)->DenseThreadRange(1, 3); -BENCHMARK(BM_DenseThreadRanges)->Arg(2)->DenseThreadRange(1, 4, 2); -BENCHMARK(BM_DenseThreadRanges)->Arg(3)->DenseThreadRange(5, 14, 3); - -BENCHMARK_MAIN(); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/clobber_memory_assembly_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/clobber_memory_assembly_test.cc deleted file mode 100644 index f41911a39c..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/clobber_memory_assembly_test.cc +++ /dev/null @@ -1,64 +0,0 @@ -#include - -#ifdef __clang__ -#pragma clang diagnostic ignored "-Wreturn-type" -#endif - -extern "C" { - -extern int ExternInt; -extern int ExternInt2; -extern int ExternInt3; - -} - -// CHECK-LABEL: test_basic: -extern "C" void test_basic() { - int x; - benchmark::DoNotOptimize(&x); - x = 101; - benchmark::ClobberMemory(); - // CHECK: leaq [[DEST:[^,]+]], %rax - // CHECK: movl $101, [[DEST]] - // CHECK: ret -} - -// CHECK-LABEL: test_redundant_store: -extern "C" void test_redundant_store() { - ExternInt = 3; - benchmark::ClobberMemory(); - ExternInt = 51; - // CHECK-DAG: ExternInt - // CHECK-DAG: movl $3 - // CHECK: movl $51 -} - -// CHECK-LABEL: test_redundant_read: -extern "C" void test_redundant_read() { - int x; - benchmark::DoNotOptimize(&x); - x = ExternInt; - benchmark::ClobberMemory(); - x = ExternInt2; - // CHECK: leaq [[DEST:[^,]+]], %rax - // CHECK: ExternInt(%rip) - // CHECK: movl %eax, [[DEST]] - // CHECK-NOT: ExternInt2 - // CHECK: ret -} - -// CHECK-LABEL: test_redundant_read2: -extern "C" void test_redundant_read2() { - int x; - benchmark::DoNotOptimize(&x); - x = ExternInt; - benchmark::ClobberMemory(); - x = ExternInt2; - benchmark::ClobberMemory(); - // CHECK: leaq [[DEST:[^,]+]], %rax - // CHECK: ExternInt(%rip) - // CHECK: movl %eax, [[DEST]] - // CHECK: ExternInt2(%rip) - // CHECK: movl %eax, [[DEST]] - // CHECK: ret -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/complexity_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/complexity_test.cc deleted file mode 100644 index 323ddfe7ac..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/complexity_test.cc +++ /dev/null @@ -1,183 +0,0 @@ -#undef NDEBUG -#include -#include -#include -#include -#include -#include "benchmark/benchmark.h" -#include "output_test.h" - -namespace { - -#define ADD_COMPLEXITY_CASES(...) \ - int CONCAT(dummy, __LINE__) = AddComplexityTest(__VA_ARGS__) - -int AddComplexityTest(std::string test_name, std::string big_o_test_name, - std::string rms_test_name, std::string big_o) { - SetSubstitutions({{"%name", test_name}, - {"%bigo_name", big_o_test_name}, - {"%rms_name", rms_test_name}, - {"%bigo_str", "[ ]* %float " + big_o}, - {"%bigo", big_o}, - {"%rms", "[ ]*[0-9]+ %"}}); - AddCases( - TC_ConsoleOut, - {{"^%bigo_name %bigo_str %bigo_str[ ]*$"}, - {"^%bigo_name", MR_Not}, // Assert we we didn't only matched a name. - {"^%rms_name %rms %rms[ ]*$", MR_Next}}); - AddCases(TC_JSONOut, {{"\"name\": \"%bigo_name\",$"}, - {"\"run_name\": \"%name\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"BigO\",$", MR_Next}, - {"\"cpu_coefficient\": %float,$", MR_Next}, - {"\"real_coefficient\": %float,$", MR_Next}, - {"\"big_o\": \"%bigo\",$", MR_Next}, - {"\"time_unit\": \"ns\"$", MR_Next}, - {"}", MR_Next}, - {"\"name\": \"%rms_name\",$"}, - {"\"run_name\": \"%name\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"RMS\",$", MR_Next}, - {"\"rms\": %float$", MR_Next}, - {"}", MR_Next}}); - AddCases(TC_CSVOut, {{"^\"%bigo_name\",,%float,%float,%bigo,,,,,$"}, - {"^\"%bigo_name\"", MR_Not}, - {"^\"%rms_name\",,%float,%float,,,,,,$", MR_Next}}); - return 0; -} - -} // end namespace - -// ========================================================================= // -// --------------------------- Testing BigO O(1) --------------------------- // -// ========================================================================= // - -void BM_Complexity_O1(benchmark::State& state) { - for (auto _ : state) { - for (int i = 0; i < 1024; ++i) { - benchmark::DoNotOptimize(&i); - } - } - state.SetComplexityN(state.range(0)); -} -BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1); -BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(); -BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity([](int64_t) { - return 1.0; -}); - -const char *one_test_name = "BM_Complexity_O1"; -const char *big_o_1_test_name = "BM_Complexity_O1_BigO"; -const char *rms_o_1_test_name = "BM_Complexity_O1_RMS"; -const char *enum_big_o_1 = "\\([0-9]+\\)"; -// FIXME: Tolerate both '(1)' and 'lgN' as output when the complexity is auto -// deduced. -// See https://github.com/google/benchmark/issues/272 -const char *auto_big_o_1 = "(\\([0-9]+\\))|(lgN)"; -const char *lambda_big_o_1 = "f\\(N\\)"; - -// Add enum tests -ADD_COMPLEXITY_CASES(one_test_name, big_o_1_test_name, rms_o_1_test_name, - enum_big_o_1); - -// Add auto enum tests -ADD_COMPLEXITY_CASES(one_test_name, big_o_1_test_name, rms_o_1_test_name, - auto_big_o_1); - -// Add lambda tests -ADD_COMPLEXITY_CASES(one_test_name, big_o_1_test_name, rms_o_1_test_name, - lambda_big_o_1); - -// ========================================================================= // -// --------------------------- Testing BigO O(N) --------------------------- // -// ========================================================================= // - -std::vector ConstructRandomVector(int64_t size) { - std::vector v; - v.reserve(static_cast(size)); - for (int i = 0; i < size; ++i) { - v.push_back(static_cast(std::rand() % size)); - } - return v; -} - -void BM_Complexity_O_N(benchmark::State& state) { - auto v = ConstructRandomVector(state.range(0)); - // Test worst case scenario (item not in vector) - const int64_t item_not_in_vector = state.range(0) * 2; - for (auto _ : state) { - benchmark::DoNotOptimize(std::find(v.begin(), v.end(), item_not_in_vector)); - } - state.SetComplexityN(state.range(0)); -} -BENCHMARK(BM_Complexity_O_N) - ->RangeMultiplier(2) - ->Range(1 << 10, 1 << 16) - ->Complexity(benchmark::oN); -BENCHMARK(BM_Complexity_O_N) - ->RangeMultiplier(2) - ->Range(1 << 10, 1 << 16) - ->Complexity([](int64_t n) -> double { return static_cast(n); }); -BENCHMARK(BM_Complexity_O_N) - ->RangeMultiplier(2) - ->Range(1 << 10, 1 << 16) - ->Complexity(); - -const char *n_test_name = "BM_Complexity_O_N"; -const char *big_o_n_test_name = "BM_Complexity_O_N_BigO"; -const char *rms_o_n_test_name = "BM_Complexity_O_N_RMS"; -const char *enum_auto_big_o_n = "N"; -const char *lambda_big_o_n = "f\\(N\\)"; - -// Add enum tests -ADD_COMPLEXITY_CASES(n_test_name, big_o_n_test_name, rms_o_n_test_name, - enum_auto_big_o_n); - -// Add lambda tests -ADD_COMPLEXITY_CASES(n_test_name, big_o_n_test_name, rms_o_n_test_name, - lambda_big_o_n); - -// ========================================================================= // -// ------------------------- Testing BigO O(N*lgN) ------------------------- // -// ========================================================================= // - -static void BM_Complexity_O_N_log_N(benchmark::State& state) { - auto v = ConstructRandomVector(state.range(0)); - for (auto _ : state) { - std::sort(v.begin(), v.end()); - } - state.SetComplexityN(state.range(0)); -} -static const double kLog2E = 1.44269504088896340736; -BENCHMARK(BM_Complexity_O_N_log_N) - ->RangeMultiplier(2) - ->Range(1 << 10, 1 << 16) - ->Complexity(benchmark::oNLogN); -BENCHMARK(BM_Complexity_O_N_log_N) - ->RangeMultiplier(2) - ->Range(1 << 10, 1 << 16) - ->Complexity([](int64_t n) { return kLog2E * n * log(static_cast(n)); }); -BENCHMARK(BM_Complexity_O_N_log_N) - ->RangeMultiplier(2) - ->Range(1 << 10, 1 << 16) - ->Complexity(); - -const char *n_lg_n_test_name = "BM_Complexity_O_N_log_N"; -const char *big_o_n_lg_n_test_name = "BM_Complexity_O_N_log_N_BigO"; -const char *rms_o_n_lg_n_test_name = "BM_Complexity_O_N_log_N_RMS"; -const char *enum_auto_big_o_n_lg_n = "NlgN"; -const char *lambda_big_o_n_lg_n = "f\\(N\\)"; - -// Add enum tests -ADD_COMPLEXITY_CASES(n_lg_n_test_name, big_o_n_lg_n_test_name, - rms_o_n_lg_n_test_name, enum_auto_big_o_n_lg_n); - -// Add lambda tests -ADD_COMPLEXITY_CASES(n_lg_n_test_name, big_o_n_lg_n_test_name, - rms_o_n_lg_n_test_name, lambda_big_o_n_lg_n); - -// ========================================================================= // -// --------------------------- TEST CASES END ------------------------------ // -// ========================================================================= // - -int main(int argc, char *argv[]) { RunOutputTests(argc, argv); } diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/cxx03_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/cxx03_test.cc deleted file mode 100644 index baa9ed9262..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/cxx03_test.cc +++ /dev/null @@ -1,63 +0,0 @@ -#undef NDEBUG -#include -#include - -#include "benchmark/benchmark.h" - -#if __cplusplus >= 201103L -#error C++11 or greater detected. Should be C++03. -#endif - -#ifdef BENCHMARK_HAS_CXX11 -#error C++11 or greater detected by the library. BENCHMARK_HAS_CXX11 is defined. -#endif - -void BM_empty(benchmark::State& state) { - while (state.KeepRunning()) { - volatile std::size_t x = state.iterations(); - ((void)x); - } -} -BENCHMARK(BM_empty); - -// The new C++11 interface for args/ranges requires initializer list support. -// Therefore we provide the old interface to support C++03. -void BM_old_arg_range_interface(benchmark::State& state) { - assert((state.range(0) == 1 && state.range(1) == 2) || - (state.range(0) == 5 && state.range(1) == 6)); - while (state.KeepRunning()) { - } -} -BENCHMARK(BM_old_arg_range_interface)->ArgPair(1, 2)->RangePair(5, 5, 6, 6); - -template -void BM_template2(benchmark::State& state) { - BM_empty(state); -} -BENCHMARK_TEMPLATE2(BM_template2, int, long); - -template -void BM_template1(benchmark::State& state) { - BM_empty(state); -} -BENCHMARK_TEMPLATE(BM_template1, long); -BENCHMARK_TEMPLATE1(BM_template1, int); - -template -struct BM_Fixture : public ::benchmark::Fixture { -}; - -BENCHMARK_TEMPLATE_F(BM_Fixture, BM_template1, long)(benchmark::State& state) { - BM_empty(state); -} -BENCHMARK_TEMPLATE1_F(BM_Fixture, BM_template2, int)(benchmark::State& state) { - BM_empty(state); -} - -void BM_counters(benchmark::State& state) { - BM_empty(state); - state.counters["Foo"] = 2; -} -BENCHMARK(BM_counters); - -BENCHMARK_MAIN(); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/diagnostics_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/diagnostics_test.cc deleted file mode 100644 index dd64a33655..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/diagnostics_test.cc +++ /dev/null @@ -1,80 +0,0 @@ -// Testing: -// State::PauseTiming() -// State::ResumeTiming() -// Test that CHECK's within these function diagnose when they are called -// outside of the KeepRunning() loop. -// -// NOTE: Users should NOT include or use src/check.h. This is only done in -// order to test library internals. - -#include -#include - -#include "../src/check.h" -#include "benchmark/benchmark.h" - -#if defined(__GNUC__) && !defined(__EXCEPTIONS) -#define TEST_HAS_NO_EXCEPTIONS -#endif - -void TestHandler() { -#ifndef TEST_HAS_NO_EXCEPTIONS - throw std::logic_error(""); -#else - std::abort(); -#endif -} - -void try_invalid_pause_resume(benchmark::State& state) { -#if !defined(TEST_BENCHMARK_LIBRARY_HAS_NO_ASSERTIONS) && !defined(TEST_HAS_NO_EXCEPTIONS) - try { - state.PauseTiming(); - std::abort(); - } catch (std::logic_error const&) { - } - try { - state.ResumeTiming(); - std::abort(); - } catch (std::logic_error const&) { - } -#else - (void)state; // avoid unused warning -#endif -} - -void BM_diagnostic_test(benchmark::State& state) { - static bool called_once = false; - - if (called_once == false) try_invalid_pause_resume(state); - - for (auto _ : state) { - benchmark::DoNotOptimize(state.iterations()); - } - - if (called_once == false) try_invalid_pause_resume(state); - - called_once = true; -} -BENCHMARK(BM_diagnostic_test); - - -void BM_diagnostic_test_keep_running(benchmark::State& state) { - static bool called_once = false; - - if (called_once == false) try_invalid_pause_resume(state); - - while(state.KeepRunning()) { - benchmark::DoNotOptimize(state.iterations()); - } - - if (called_once == false) try_invalid_pause_resume(state); - - called_once = true; -} -BENCHMARK(BM_diagnostic_test_keep_running); - -int main(int argc, char* argv[]) { - benchmark::internal::GetAbortHandler() = &TestHandler; - benchmark::Initialize(&argc, argv); - benchmark::RunSpecifiedBenchmarks(); -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/display_aggregates_only_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/display_aggregates_only_test.cc deleted file mode 100644 index 3c36d3f03c..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/display_aggregates_only_test.cc +++ /dev/null @@ -1,43 +0,0 @@ - -#undef NDEBUG -#include -#include - -#include "benchmark/benchmark.h" -#include "output_test.h" - -// Ok this test is super ugly. We want to check what happens with the file -// reporter in the presence of DisplayAggregatesOnly(). -// We do not care about console output, the normal tests check that already. - -void BM_SummaryRepeat(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_SummaryRepeat)->Repetitions(3)->DisplayAggregatesOnly(); - -int main(int argc, char* argv[]) { - const std::string output = GetFileReporterOutput(argc, argv); - - if (SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3") != 6 || - SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3\"") != 3 || - SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_mean\"") != 1 || - SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_median\"") != - 1 || - SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"") != - 1) { - std::cout << "Precondition mismatch. Expected to only find 6 " - "occurrences of \"BM_SummaryRepeat/repeats:3\" substring:\n" - "\"name\": \"BM_SummaryRepeat/repeats:3\", " - "\"name\": \"BM_SummaryRepeat/repeats:3\", " - "\"name\": \"BM_SummaryRepeat/repeats:3\", " - "\"name\": \"BM_SummaryRepeat/repeats:3_mean\", " - "\"name\": \"BM_SummaryRepeat/repeats:3_median\", " - "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"\nThe entire " - "output:\n"; - std::cout << output; - return 1; - } - - return 0; -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/donotoptimize_assembly_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/donotoptimize_assembly_test.cc deleted file mode 100644 index d4b0bab70e..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/donotoptimize_assembly_test.cc +++ /dev/null @@ -1,163 +0,0 @@ -#include - -#ifdef __clang__ -#pragma clang diagnostic ignored "-Wreturn-type" -#endif - -extern "C" { - -extern int ExternInt; -extern int ExternInt2; -extern int ExternInt3; - -inline int Add42(int x) { return x + 42; } - -struct NotTriviallyCopyable { - NotTriviallyCopyable(); - explicit NotTriviallyCopyable(int x) : value(x) {} - NotTriviallyCopyable(NotTriviallyCopyable const&); - int value; -}; - -struct Large { - int value; - int data[2]; -}; - -} -// CHECK-LABEL: test_with_rvalue: -extern "C" void test_with_rvalue() { - benchmark::DoNotOptimize(Add42(0)); - // CHECK: movl $42, %eax - // CHECK: ret -} - -// CHECK-LABEL: test_with_large_rvalue: -extern "C" void test_with_large_rvalue() { - benchmark::DoNotOptimize(Large{ExternInt, {ExternInt, ExternInt}}); - // CHECK: ExternInt(%rip) - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG:[a-z]+]] - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG]]) - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG]]) - // CHECK: ret -} - -// CHECK-LABEL: test_with_non_trivial_rvalue: -extern "C" void test_with_non_trivial_rvalue() { - benchmark::DoNotOptimize(NotTriviallyCopyable(ExternInt)); - // CHECK: mov{{l|q}} ExternInt(%rip) - // CHECK: ret -} - -// CHECK-LABEL: test_with_lvalue: -extern "C" void test_with_lvalue() { - int x = 101; - benchmark::DoNotOptimize(x); - // CHECK-GNU: movl $101, %eax - // CHECK-CLANG: movl $101, -{{[0-9]+}}(%[[REG:[a-z]+]]) - // CHECK: ret -} - -// CHECK-LABEL: test_with_large_lvalue: -extern "C" void test_with_large_lvalue() { - Large L{ExternInt, {ExternInt, ExternInt}}; - benchmark::DoNotOptimize(L); - // CHECK: ExternInt(%rip) - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG:[a-z]+]]) - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG]]) - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG]]) - // CHECK: ret -} - -// CHECK-LABEL: test_with_non_trivial_lvalue: -extern "C" void test_with_non_trivial_lvalue() { - NotTriviallyCopyable NTC(ExternInt); - benchmark::DoNotOptimize(NTC); - // CHECK: ExternInt(%rip) - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG:[a-z]+]]) - // CHECK: ret -} - -// CHECK-LABEL: test_with_const_lvalue: -extern "C" void test_with_const_lvalue() { - const int x = 123; - benchmark::DoNotOptimize(x); - // CHECK: movl $123, %eax - // CHECK: ret -} - -// CHECK-LABEL: test_with_large_const_lvalue: -extern "C" void test_with_large_const_lvalue() { - const Large L{ExternInt, {ExternInt, ExternInt}}; - benchmark::DoNotOptimize(L); - // CHECK: ExternInt(%rip) - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG:[a-z]+]]) - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG]]) - // CHECK: movl %eax, -{{[0-9]+}}(%[[REG]]) - // CHECK: ret -} - -// CHECK-LABEL: test_with_non_trivial_const_lvalue: -extern "C" void test_with_non_trivial_const_lvalue() { - const NotTriviallyCopyable Obj(ExternInt); - benchmark::DoNotOptimize(Obj); - // CHECK: mov{{q|l}} ExternInt(%rip) - // CHECK: ret -} - -// CHECK-LABEL: test_div_by_two: -extern "C" int test_div_by_two(int input) { - int divisor = 2; - benchmark::DoNotOptimize(divisor); - return input / divisor; - // CHECK: movl $2, [[DEST:.*]] - // CHECK: idivl [[DEST]] - // CHECK: ret -} - -// CHECK-LABEL: test_inc_integer: -extern "C" int test_inc_integer() { - int x = 0; - for (int i=0; i < 5; ++i) - benchmark::DoNotOptimize(++x); - // CHECK: movl $1, [[DEST:.*]] - // CHECK: {{(addl \$1,|incl)}} [[DEST]] - // CHECK: {{(addl \$1,|incl)}} [[DEST]] - // CHECK: {{(addl \$1,|incl)}} [[DEST]] - // CHECK: {{(addl \$1,|incl)}} [[DEST]] - // CHECK-CLANG: movl [[DEST]], %eax - // CHECK: ret - return x; -} - -// CHECK-LABEL: test_pointer_rvalue -extern "C" void test_pointer_rvalue() { - // CHECK: movl $42, [[DEST:.*]] - // CHECK: leaq [[DEST]], %rax - // CHECK-CLANG: movq %rax, -{{[0-9]+}}(%[[REG:[a-z]+]]) - // CHECK: ret - int x = 42; - benchmark::DoNotOptimize(&x); -} - -// CHECK-LABEL: test_pointer_const_lvalue: -extern "C" void test_pointer_const_lvalue() { - // CHECK: movl $42, [[DEST:.*]] - // CHECK: leaq [[DEST]], %rax - // CHECK-CLANG: movq %rax, -{{[0-9]+}}(%[[REG:[a-z]+]]) - // CHECK: ret - int x = 42; - int * const xp = &x; - benchmark::DoNotOptimize(xp); -} - -// CHECK-LABEL: test_pointer_lvalue: -extern "C" void test_pointer_lvalue() { - // CHECK: movl $42, [[DEST:.*]] - // CHECK: leaq [[DEST]], %rax - // CHECK-CLANG: movq %rax, -{{[0-9]+}}(%[[REG:[a-z+]+]]) - // CHECK: ret - int x = 42; - int *xp = &x; - benchmark::DoNotOptimize(xp); -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/donotoptimize_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/donotoptimize_test.cc deleted file mode 100644 index 2ce92d1c72..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/donotoptimize_test.cc +++ /dev/null @@ -1,52 +0,0 @@ -#include "benchmark/benchmark.h" - -#include - -namespace { -#if defined(__GNUC__) -std::uint64_t double_up(const std::uint64_t x) __attribute__((const)); -#endif -std::uint64_t double_up(const std::uint64_t x) { return x * 2; } -} - -// Using DoNotOptimize on types like BitRef seem to cause a lot of problems -// with the inline assembly on both GCC and Clang. -struct BitRef { - int index; - unsigned char &byte; - -public: - static BitRef Make() { - static unsigned char arr[2] = {}; - BitRef b(1, arr[0]); - return b; - } -private: - BitRef(int i, unsigned char& b) : index(i), byte(b) {} -}; - -int main(int, char*[]) { - // this test verifies compilation of DoNotOptimize() for some types - - char buffer8[8] = ""; - benchmark::DoNotOptimize(buffer8); - - char buffer20[20] = ""; - benchmark::DoNotOptimize(buffer20); - - char buffer1024[1024] = ""; - benchmark::DoNotOptimize(buffer1024); - benchmark::DoNotOptimize(&buffer1024[0]); - - int x = 123; - benchmark::DoNotOptimize(x); - benchmark::DoNotOptimize(&x); - benchmark::DoNotOptimize(x += 42); - - benchmark::DoNotOptimize(double_up(x)); - - // These tests are to e - benchmark::DoNotOptimize(BitRef::Make()); - BitRef lval = BitRef::Make(); - benchmark::DoNotOptimize(lval); -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/filter_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/filter_test.cc deleted file mode 100644 index 0e27065c15..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/filter_test.cc +++ /dev/null @@ -1,104 +0,0 @@ -#include "benchmark/benchmark.h" - -#include -#include -#include -#include - -#include -#include -#include -#include - -namespace { - -class TestReporter : public benchmark::ConsoleReporter { - public: - virtual bool ReportContext(const Context& context) { - return ConsoleReporter::ReportContext(context); - }; - - virtual void ReportRuns(const std::vector& report) { - ++count_; - ConsoleReporter::ReportRuns(report); - }; - - TestReporter() : count_(0) {} - - virtual ~TestReporter() {} - - size_t GetCount() const { return count_; } - - private: - mutable size_t count_; -}; - -} // end namespace - -static void NoPrefix(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(NoPrefix); - -static void BM_Foo(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_Foo); - -static void BM_Bar(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_Bar); - -static void BM_FooBar(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_FooBar); - -static void BM_FooBa(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_FooBa); - -int main(int argc, char **argv) { - bool list_only = false; - for (int i = 0; i < argc; ++i) - list_only |= std::string(argv[i]).find("--benchmark_list_tests") != - std::string::npos; - - benchmark::Initialize(&argc, argv); - - TestReporter test_reporter; - const size_t returned_count = - benchmark::RunSpecifiedBenchmarks(&test_reporter); - - if (argc == 2) { - // Make sure we ran all of the tests - std::stringstream ss(argv[1]); - size_t expected_return; - ss >> expected_return; - - if (returned_count != expected_return) { - std::cerr << "ERROR: Expected " << expected_return - << " tests to match the filter but returned_count = " - << returned_count << std::endl; - return -1; - } - - const size_t expected_reports = list_only ? 0 : expected_return; - const size_t reports_count = test_reporter.GetCount(); - if (reports_count != expected_reports) { - std::cerr << "ERROR: Expected " << expected_reports - << " tests to be run but reported_count = " << reports_count - << std::endl; - return -1; - } - } - - return 0; -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/fixture_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/fixture_test.cc deleted file mode 100644 index 1462b10f02..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/fixture_test.cc +++ /dev/null @@ -1,49 +0,0 @@ - -#include "benchmark/benchmark.h" - -#include -#include - -class MyFixture : public ::benchmark::Fixture { - public: - void SetUp(const ::benchmark::State& state) { - if (state.thread_index == 0) { - assert(data.get() == nullptr); - data.reset(new int(42)); - } - } - - void TearDown(const ::benchmark::State& state) { - if (state.thread_index == 0) { - assert(data.get() != nullptr); - data.reset(); - } - } - - ~MyFixture() { assert(data == nullptr); } - - std::unique_ptr data; -}; - -BENCHMARK_F(MyFixture, Foo)(benchmark::State &st) { - assert(data.get() != nullptr); - assert(*data == 42); - for (auto _ : st) { - } -} - -BENCHMARK_DEFINE_F(MyFixture, Bar)(benchmark::State& st) { - if (st.thread_index == 0) { - assert(data.get() != nullptr); - assert(*data == 42); - } - for (auto _ : st) { - assert(data.get() != nullptr); - assert(*data == 42); - } - st.SetItemsProcessed(st.range(0)); -} -BENCHMARK_REGISTER_F(MyFixture, Bar)->Arg(42); -BENCHMARK_REGISTER_F(MyFixture, Bar)->Arg(42)->ThreadPerCpu(); - -BENCHMARK_MAIN(); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/link_main_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/link_main_test.cc deleted file mode 100644 index 241ad5c390..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/link_main_test.cc +++ /dev/null @@ -1,8 +0,0 @@ -#include "benchmark/benchmark.h" - -void BM_empty(benchmark::State& state) { - for (auto _ : state) { - benchmark::DoNotOptimize(state.iterations()); - } -} -BENCHMARK(BM_empty); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/map_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/map_test.cc deleted file mode 100644 index dbf7982a36..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/map_test.cc +++ /dev/null @@ -1,57 +0,0 @@ -#include "benchmark/benchmark.h" - -#include -#include - -namespace { - -std::map ConstructRandomMap(int size) { - std::map m; - for (int i = 0; i < size; ++i) { - m.insert(std::make_pair(std::rand() % size, std::rand() % size)); - } - return m; -} - -} // namespace - -// Basic version. -static void BM_MapLookup(benchmark::State& state) { - const int size = static_cast(state.range(0)); - std::map m; - for (auto _ : state) { - state.PauseTiming(); - m = ConstructRandomMap(size); - state.ResumeTiming(); - for (int i = 0; i < size; ++i) { - benchmark::DoNotOptimize(m.find(std::rand() % size)); - } - } - state.SetItemsProcessed(state.iterations() * size); -} -BENCHMARK(BM_MapLookup)->Range(1 << 3, 1 << 12); - -// Using fixtures. -class MapFixture : public ::benchmark::Fixture { - public: - void SetUp(const ::benchmark::State& st) { - m = ConstructRandomMap(static_cast(st.range(0))); - } - - void TearDown(const ::benchmark::State&) { m.clear(); } - - std::map m; -}; - -BENCHMARK_DEFINE_F(MapFixture, Lookup)(benchmark::State& state) { - const int size = static_cast(state.range(0)); - for (auto _ : state) { - for (int i = 0; i < size; ++i) { - benchmark::DoNotOptimize(m.find(std::rand() % size)); - } - } - state.SetItemsProcessed(state.iterations() * size); -} -BENCHMARK_REGISTER_F(MapFixture, Lookup)->Range(1 << 3, 1 << 12); - -BENCHMARK_MAIN(); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/memory_manager_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/memory_manager_test.cc deleted file mode 100644 index 94be608379..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/memory_manager_test.cc +++ /dev/null @@ -1,42 +0,0 @@ -#include - -#include "../src/check.h" -#include "benchmark/benchmark.h" -#include "output_test.h" - -class TestMemoryManager : public benchmark::MemoryManager { - void Start() {} - void Stop(Result* result) { - result->num_allocs = 42; - result->max_bytes_used = 42000; - } -}; - -void BM_empty(benchmark::State& state) { - for (auto _ : state) { - benchmark::DoNotOptimize(state.iterations()); - } -} -BENCHMARK(BM_empty); - -ADD_CASES(TC_ConsoleOut, {{"^BM_empty %console_report$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_empty\",$"}, - {"\"run_name\": \"BM_empty\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"allocs_per_iter\": %float,$", MR_Next}, - {"\"max_bytes_used\": 42000$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_empty\",%csv_report$"}}); - - -int main(int argc, char *argv[]) { - std::unique_ptr mm(new TestMemoryManager()); - - benchmark::RegisterMemoryManager(mm.get()); - RunOutputTests(argc, argv); - benchmark::RegisterMemoryManager(nullptr); -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/multiple_ranges_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/multiple_ranges_test.cc deleted file mode 100644 index c64acabc25..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/multiple_ranges_test.cc +++ /dev/null @@ -1,97 +0,0 @@ -#include "benchmark/benchmark.h" - -#include -#include -#include -#include - -class MultipleRangesFixture : public ::benchmark::Fixture { - public: - MultipleRangesFixture() - : expectedValues({{1, 3, 5}, - {1, 3, 8}, - {1, 3, 15}, - {2, 3, 5}, - {2, 3, 8}, - {2, 3, 15}, - {1, 4, 5}, - {1, 4, 8}, - {1, 4, 15}, - {2, 4, 5}, - {2, 4, 8}, - {2, 4, 15}, - {1, 7, 5}, - {1, 7, 8}, - {1, 7, 15}, - {2, 7, 5}, - {2, 7, 8}, - {2, 7, 15}, - {7, 6, 3}}) {} - - void SetUp(const ::benchmark::State& state) { - std::vector ranges = {state.range(0), state.range(1), - state.range(2)}; - - assert(expectedValues.find(ranges) != expectedValues.end()); - - actualValues.insert(ranges); - } - - // NOTE: This is not TearDown as we want to check after _all_ runs are - // complete. - virtual ~MultipleRangesFixture() { - assert(actualValues.size() == expectedValues.size()); - if (actualValues.size() != expectedValues.size()) { - std::cout << "EXPECTED\n"; - for (auto v : expectedValues) { - std::cout << "{"; - for (int64_t iv : v) { - std::cout << iv << ", "; - } - std::cout << "}\n"; - } - std::cout << "ACTUAL\n"; - for (auto v : actualValues) { - std::cout << "{"; - for (int64_t iv : v) { - std::cout << iv << ", "; - } - std::cout << "}\n"; - } - } - } - - std::set> expectedValues; - std::set> actualValues; -}; - -BENCHMARK_DEFINE_F(MultipleRangesFixture, Empty)(benchmark::State& state) { - for (auto _ : state) { - int64_t product = state.range(0) * state.range(1) * state.range(2); - for (int64_t x = 0; x < product; x++) { - benchmark::DoNotOptimize(x); - } - } -} - -BENCHMARK_REGISTER_F(MultipleRangesFixture, Empty) - ->RangeMultiplier(2) - ->Ranges({{1, 2}, {3, 7}, {5, 15}}) - ->Args({7, 6, 3}); - -void BM_CheckDefaultArgument(benchmark::State& state) { - // Test that the 'range()' without an argument is the same as 'range(0)'. - assert(state.range() == state.range(0)); - assert(state.range() != state.range(1)); - for (auto _ : state) { - } -} -BENCHMARK(BM_CheckDefaultArgument)->Ranges({{1, 5}, {6, 10}}); - -static void BM_MultipleRanges(benchmark::State& st) { - for (auto _ : st) { - } -} -BENCHMARK(BM_MultipleRanges)->Ranges({{5, 5}, {6, 6}}); - -BENCHMARK_MAIN(); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/options_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/options_test.cc deleted file mode 100644 index fdec69174e..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/options_test.cc +++ /dev/null @@ -1,65 +0,0 @@ -#include "benchmark/benchmark.h" -#include -#include - -#if defined(NDEBUG) -#undef NDEBUG -#endif -#include - -void BM_basic(benchmark::State& state) { - for (auto _ : state) { - } -} - -void BM_basic_slow(benchmark::State& state) { - std::chrono::milliseconds sleep_duration(state.range(0)); - for (auto _ : state) { - std::this_thread::sleep_for( - std::chrono::duration_cast(sleep_duration)); - } -} - -BENCHMARK(BM_basic); -BENCHMARK(BM_basic)->Arg(42); -BENCHMARK(BM_basic_slow)->Arg(10)->Unit(benchmark::kNanosecond); -BENCHMARK(BM_basic_slow)->Arg(100)->Unit(benchmark::kMicrosecond); -BENCHMARK(BM_basic_slow)->Arg(1000)->Unit(benchmark::kMillisecond); -BENCHMARK(BM_basic)->Range(1, 8); -BENCHMARK(BM_basic)->RangeMultiplier(2)->Range(1, 8); -BENCHMARK(BM_basic)->DenseRange(10, 15); -BENCHMARK(BM_basic)->Args({42, 42}); -BENCHMARK(BM_basic)->Ranges({{64, 512}, {64, 512}}); -BENCHMARK(BM_basic)->MinTime(0.7); -BENCHMARK(BM_basic)->UseRealTime(); -BENCHMARK(BM_basic)->ThreadRange(2, 4); -BENCHMARK(BM_basic)->ThreadPerCpu(); -BENCHMARK(BM_basic)->Repetitions(3); - -void CustomArgs(benchmark::internal::Benchmark* b) { - for (int i = 0; i < 10; ++i) { - b->Arg(i); - } -} - -BENCHMARK(BM_basic)->Apply(CustomArgs); - -void BM_explicit_iteration_count(benchmark::State& state) { - // Test that benchmarks specified with an explicit iteration count are - // only run once. - static bool invoked_before = false; - assert(!invoked_before); - invoked_before = true; - - // Test that the requested iteration count is respected. - assert(state.max_iterations == 42); - size_t actual_iterations = 0; - for (auto _ : state) - ++actual_iterations; - assert(state.iterations() == state.max_iterations); - assert(state.iterations() == 42); - -} -BENCHMARK(BM_explicit_iteration_count)->Iterations(42); - -BENCHMARK_MAIN(); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/output_test.h b/libcudacxx/.upstream-tests/utils/google-benchmark/test/output_test.h deleted file mode 100644 index 9385761b21..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/output_test.h +++ /dev/null @@ -1,213 +0,0 @@ -#ifndef TEST_OUTPUT_TEST_H -#define TEST_OUTPUT_TEST_H - -#undef NDEBUG -#include -#include -#include -#include -#include -#include -#include - -#include "../src/re.h" -#include "benchmark/benchmark.h" - -#define CONCAT2(x, y) x##y -#define CONCAT(x, y) CONCAT2(x, y) - -#define ADD_CASES(...) int CONCAT(dummy, __LINE__) = ::AddCases(__VA_ARGS__) - -#define SET_SUBSTITUTIONS(...) \ - int CONCAT(dummy, __LINE__) = ::SetSubstitutions(__VA_ARGS__) - -enum MatchRules { - MR_Default, // Skip non-matching lines until a match is found. - MR_Next, // Match must occur on the next line. - MR_Not // No line between the current position and the next match matches - // the regex -}; - -struct TestCase { - TestCase(std::string re, int rule = MR_Default); - - std::string regex_str; - int match_rule; - std::string substituted_regex; - std::shared_ptr regex; -}; - -enum TestCaseID { - TC_ConsoleOut, - TC_ConsoleErr, - TC_JSONOut, - TC_JSONErr, - TC_CSVOut, - TC_CSVErr, - - TC_NumID // PRIVATE -}; - -// Add a list of test cases to be run against the output specified by -// 'ID' -int AddCases(TestCaseID ID, std::initializer_list il); - -// Add or set a list of substitutions to be performed on constructed regex's -// See 'output_test_helper.cc' for a list of default substitutions. -int SetSubstitutions( - std::initializer_list> il); - -// Run all output tests. -void RunOutputTests(int argc, char* argv[]); - -// Count the number of 'pat' substrings in the 'haystack' string. -int SubstrCnt(const std::string& haystack, const std::string& pat); - -// Run registered benchmarks with file reporter enabled, and return the content -// outputted by the file reporter. -std::string GetFileReporterOutput(int argc, char* argv[]); - -// ========================================================================= // -// ------------------------- Results checking ------------------------------ // -// ========================================================================= // - -// Call this macro to register a benchmark for checking its results. This -// should be all that's needed. It subscribes a function to check the (CSV) -// results of a benchmark. This is done only after verifying that the output -// strings are really as expected. -// bm_name_pattern: a name or a regex pattern which will be matched against -// all the benchmark names. Matching benchmarks -// will be the subject of a call to checker_function -// checker_function: should be of type ResultsCheckFn (see below) -#define CHECK_BENCHMARK_RESULTS(bm_name_pattern, checker_function) \ - size_t CONCAT(dummy, __LINE__) = AddChecker(bm_name_pattern, checker_function) - -struct Results; -typedef std::function ResultsCheckFn; - -size_t AddChecker(const char* bm_name_pattern, ResultsCheckFn fn); - -// Class holding the results of a benchmark. -// It is passed in calls to checker functions. -struct Results { - // the benchmark name - std::string name; - // the benchmark fields - std::map values; - - Results(const std::string& n) : name(n) {} - - int NumThreads() const; - - double NumIterations() const; - - typedef enum { kCpuTime, kRealTime } BenchmarkTime; - - // get cpu_time or real_time in seconds - double GetTime(BenchmarkTime which) const; - - // get the real_time duration of the benchmark in seconds. - // it is better to use fuzzy float checks for this, as the float - // ASCII formatting is lossy. - double DurationRealTime() const { - return NumIterations() * GetTime(kRealTime); - } - // get the cpu_time duration of the benchmark in seconds - double DurationCPUTime() const { - return NumIterations() * GetTime(kCpuTime); - } - - // get the string for a result by name, or nullptr if the name - // is not found - const std::string* Get(const char* entry_name) const { - auto it = values.find(entry_name); - if (it == values.end()) return nullptr; - return &it->second; - } - - // get a result by name, parsed as a specific type. - // NOTE: for counters, use GetCounterAs instead. - template - T GetAs(const char* entry_name) const; - - // counters are written as doubles, so they have to be read first - // as a double, and only then converted to the asked type. - template - T GetCounterAs(const char* entry_name) const { - double dval = GetAs(entry_name); - T tval = static_cast(dval); - return tval; - } -}; - -template -T Results::GetAs(const char* entry_name) const { - auto* sv = Get(entry_name); - CHECK(sv != nullptr && !sv->empty()); - std::stringstream ss; - ss << *sv; - T out; - ss >> out; - CHECK(!ss.fail()); - return out; -} - -//---------------------------------- -// Macros to help in result checking. Do not use them with arguments causing -// side-effects. - -// clang-format off - -#define _CHECK_RESULT_VALUE(entry, getfn, var_type, var_name, relationship, value) \ - CONCAT(CHECK_, relationship) \ - (entry.getfn< var_type >(var_name), (value)) << "\n" \ - << __FILE__ << ":" << __LINE__ << ": " << (entry).name << ":\n" \ - << __FILE__ << ":" << __LINE__ << ": " \ - << "expected (" << #var_type << ")" << (var_name) \ - << "=" << (entry).getfn< var_type >(var_name) \ - << " to be " #relationship " to " << (value) << "\n" - -// check with tolerance. eps_factor is the tolerance window, which is -// interpreted relative to value (eg, 0.1 means 10% of value). -#define _CHECK_FLOAT_RESULT_VALUE(entry, getfn, var_type, var_name, relationship, value, eps_factor) \ - CONCAT(CHECK_FLOAT_, relationship) \ - (entry.getfn< var_type >(var_name), (value), (eps_factor) * (value)) << "\n" \ - << __FILE__ << ":" << __LINE__ << ": " << (entry).name << ":\n" \ - << __FILE__ << ":" << __LINE__ << ": " \ - << "expected (" << #var_type << ")" << (var_name) \ - << "=" << (entry).getfn< var_type >(var_name) \ - << " to be " #relationship " to " << (value) << "\n" \ - << __FILE__ << ":" << __LINE__ << ": " \ - << "with tolerance of " << (eps_factor) * (value) \ - << " (" << (eps_factor)*100. << "%), " \ - << "but delta was " << ((entry).getfn< var_type >(var_name) - (value)) \ - << " (" << (((entry).getfn< var_type >(var_name) - (value)) \ - / \ - ((value) > 1.e-5 || value < -1.e-5 ? value : 1.e-5)*100.) \ - << "%)" - -#define CHECK_RESULT_VALUE(entry, var_type, var_name, relationship, value) \ - _CHECK_RESULT_VALUE(entry, GetAs, var_type, var_name, relationship, value) - -#define CHECK_COUNTER_VALUE(entry, var_type, var_name, relationship, value) \ - _CHECK_RESULT_VALUE(entry, GetCounterAs, var_type, var_name, relationship, value) - -#define CHECK_FLOAT_RESULT_VALUE(entry, var_name, relationship, value, eps_factor) \ - _CHECK_FLOAT_RESULT_VALUE(entry, GetAs, double, var_name, relationship, value, eps_factor) - -#define CHECK_FLOAT_COUNTER_VALUE(entry, var_name, relationship, value, eps_factor) \ - _CHECK_FLOAT_RESULT_VALUE(entry, GetCounterAs, double, var_name, relationship, value, eps_factor) - -// clang-format on - -// ========================================================================= // -// --------------------------- Misc Utilities ------------------------------ // -// ========================================================================= // - -namespace { - -const char* const dec_re = "[0-9]*[.]?[0-9]+([eE][-+][0-9]+)?"; - -} // end namespace - -#endif // TEST_OUTPUT_TEST_H diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/output_test_helper.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/output_test_helper.cc deleted file mode 100644 index 5dc951d2bc..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/output_test_helper.cc +++ /dev/null @@ -1,505 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "../src/benchmark_api_internal.h" -#include "../src/check.h" // NOTE: check.h is for internal use only! -#include "../src/re.h" // NOTE: re.h is for internal use only -#include "output_test.h" - -// ========================================================================= // -// ------------------------------ Internals -------------------------------- // -// ========================================================================= // -namespace internal { -namespace { - -using TestCaseList = std::vector; - -// Use a vector because the order elements are added matters during iteration. -// std::map/unordered_map don't guarantee that. -// For example: -// SetSubstitutions({{"%HelloWorld", "Hello"}, {"%Hello", "Hi"}}); -// Substitute("%HelloWorld") // Always expands to Hello. -using SubMap = std::vector>; - -TestCaseList& GetTestCaseList(TestCaseID ID) { - // Uses function-local statics to ensure initialization occurs - // before first use. - static TestCaseList lists[TC_NumID]; - return lists[ID]; -} - -SubMap& GetSubstitutions() { - // Don't use 'dec_re' from header because it may not yet be initialized. - // clang-format off - static std::string safe_dec_re = "[0-9]*[.]?[0-9]+([eE][-+][0-9]+)?"; - static std::string time_re = "([0-9]+[.])?[0-9]+"; - static SubMap map = { - {"%float", "[0-9]*[.]?[0-9]+([eE][-+][0-9]+)?"}, - // human-readable float - {"%hrfloat", "[0-9]*[.]?[0-9]+([eE][-+][0-9]+)?[kMGTPEZYmunpfazy]?"}, - {"%int", "[ ]*[0-9]+"}, - {" %s ", "[ ]+"}, - {"%time", "[ ]*" + time_re + "[ ]+ns"}, - {"%console_report", "[ ]*" + time_re + "[ ]+ns [ ]*" + time_re + "[ ]+ns [ ]*[0-9]+"}, - {"%console_time_only_report", "[ ]*" + time_re + "[ ]+ns [ ]*" + time_re + "[ ]+ns"}, - {"%console_us_report", "[ ]*" + time_re + "[ ]+us [ ]*" + time_re + "[ ]+us [ ]*[0-9]+"}, - {"%console_us_time_only_report", "[ ]*" + time_re + "[ ]+us [ ]*" + time_re + "[ ]+us"}, - {"%csv_header", - "name,iterations,real_time,cpu_time,time_unit,bytes_per_second," - "items_per_second,label,error_occurred,error_message"}, - {"%csv_report", "[0-9]+," + safe_dec_re + "," + safe_dec_re + ",ns,,,,,"}, - {"%csv_us_report", "[0-9]+," + safe_dec_re + "," + safe_dec_re + ",us,,,,,"}, - {"%csv_bytes_report", - "[0-9]+," + safe_dec_re + "," + safe_dec_re + ",ns," + safe_dec_re + ",,,,"}, - {"%csv_items_report", - "[0-9]+," + safe_dec_re + "," + safe_dec_re + ",ns,," + safe_dec_re + ",,,"}, - {"%csv_bytes_items_report", - "[0-9]+," + safe_dec_re + "," + safe_dec_re + ",ns," + safe_dec_re + - "," + safe_dec_re + ",,,"}, - {"%csv_label_report_begin", "[0-9]+," + safe_dec_re + "," + safe_dec_re + ",ns,,,"}, - {"%csv_label_report_end", ",,"}}; - // clang-format on - return map; -} - -std::string PerformSubstitutions(std::string source) { - SubMap const& subs = GetSubstitutions(); - using SizeT = std::string::size_type; - for (auto const& KV : subs) { - SizeT pos; - SizeT next_start = 0; - while ((pos = source.find(KV.first, next_start)) != std::string::npos) { - next_start = pos + KV.second.size(); - source.replace(pos, KV.first.size(), KV.second); - } - } - return source; -} - -void CheckCase(std::stringstream& remaining_output, TestCase const& TC, - TestCaseList const& not_checks) { - std::string first_line; - bool on_first = true; - std::string line; - while (remaining_output.eof() == false) { - CHECK(remaining_output.good()); - std::getline(remaining_output, line); - if (on_first) { - first_line = line; - on_first = false; - } - for (const auto& NC : not_checks) { - CHECK(!NC.regex->Match(line)) - << "Unexpected match for line \"" << line << "\" for MR_Not regex \"" - << NC.regex_str << "\"" - << "\n actual regex string \"" << TC.substituted_regex << "\"" - << "\n started matching near: " << first_line; - } - if (TC.regex->Match(line)) return; - CHECK(TC.match_rule != MR_Next) - << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str - << "\"" - << "\n actual regex string \"" << TC.substituted_regex << "\"" - << "\n started matching near: " << first_line; - } - CHECK(remaining_output.eof() == false) - << "End of output reached before match for regex \"" << TC.regex_str - << "\" was found" - << "\n actual regex string \"" << TC.substituted_regex << "\"" - << "\n started matching near: " << first_line; -} - -void CheckCases(TestCaseList const& checks, std::stringstream& output) { - std::vector not_checks; - for (size_t i = 0; i < checks.size(); ++i) { - const auto& TC = checks[i]; - if (TC.match_rule == MR_Not) { - not_checks.push_back(TC); - continue; - } - CheckCase(output, TC, not_checks); - not_checks.clear(); - } -} - -class TestReporter : public benchmark::BenchmarkReporter { - public: - TestReporter(std::vector reps) - : reporters_(reps) {} - - virtual bool ReportContext(const Context& context) { - bool last_ret = false; - bool first = true; - for (auto rep : reporters_) { - bool new_ret = rep->ReportContext(context); - CHECK(first || new_ret == last_ret) - << "Reports return different values for ReportContext"; - first = false; - last_ret = new_ret; - } - (void)first; - return last_ret; - } - - void ReportRuns(const std::vector& report) { - for (auto rep : reporters_) rep->ReportRuns(report); - } - void Finalize() { - for (auto rep : reporters_) rep->Finalize(); - } - - private: - std::vector reporters_; -}; -} // namespace - -} // end namespace internal - -// ========================================================================= // -// -------------------------- Results checking ----------------------------- // -// ========================================================================= // - -namespace internal { - -// Utility class to manage subscribers for checking benchmark results. -// It works by parsing the CSV output to read the results. -class ResultsChecker { - public: - struct PatternAndFn : public TestCase { // reusing TestCase for its regexes - PatternAndFn(const std::string& rx, ResultsCheckFn fn_) - : TestCase(rx), fn(fn_) {} - ResultsCheckFn fn; - }; - - std::vector check_patterns; - std::vector results; - std::vector field_names; - - void Add(const std::string& entry_pattern, ResultsCheckFn fn); - - void CheckResults(std::stringstream& output); - - private: - void SetHeader_(const std::string& csv_header); - void SetValues_(const std::string& entry_csv_line); - - std::vector SplitCsv_(const std::string& line); -}; - -// store the static ResultsChecker in a function to prevent initialization -// order problems -ResultsChecker& GetResultsChecker() { - static ResultsChecker rc; - return rc; -} - -// add a results checker for a benchmark -void ResultsChecker::Add(const std::string& entry_pattern, ResultsCheckFn fn) { - check_patterns.emplace_back(entry_pattern, fn); -} - -// check the results of all subscribed benchmarks -void ResultsChecker::CheckResults(std::stringstream& output) { - // first reset the stream to the start - { - auto start = std::stringstream::pos_type(0); - // clear before calling tellg() - output.clear(); - // seek to zero only when needed - if (output.tellg() > start) output.seekg(start); - // and just in case - output.clear(); - } - // now go over every line and publish it to the ResultsChecker - std::string line; - bool on_first = true; - while (output.eof() == false) { - CHECK(output.good()); - std::getline(output, line); - if (on_first) { - SetHeader_(line); // this is important - on_first = false; - continue; - } - SetValues_(line); - } - // finally we can call the subscribed check functions - for (const auto& p : check_patterns) { - VLOG(2) << "--------------------------------\n"; - VLOG(2) << "checking for benchmarks matching " << p.regex_str << "...\n"; - for (const auto& r : results) { - if (!p.regex->Match(r.name)) { - VLOG(2) << p.regex_str << " is not matched by " << r.name << "\n"; - continue; - } else { - VLOG(2) << p.regex_str << " is matched by " << r.name << "\n"; - } - VLOG(1) << "Checking results of " << r.name << ": ... \n"; - p.fn(r); - VLOG(1) << "Checking results of " << r.name << ": OK.\n"; - } - } -} - -// prepare for the names in this header -void ResultsChecker::SetHeader_(const std::string& csv_header) { - field_names = SplitCsv_(csv_header); -} - -// set the values for a benchmark -void ResultsChecker::SetValues_(const std::string& entry_csv_line) { - if (entry_csv_line.empty()) return; // some lines are empty - CHECK(!field_names.empty()); - auto vals = SplitCsv_(entry_csv_line); - CHECK_EQ(vals.size(), field_names.size()); - results.emplace_back(vals[0]); // vals[0] is the benchmark name - auto& entry = results.back(); - for (size_t i = 1, e = vals.size(); i < e; ++i) { - entry.values[field_names[i]] = vals[i]; - } -} - -// a quick'n'dirty csv splitter (eliminating quotes) -std::vector ResultsChecker::SplitCsv_(const std::string& line) { - std::vector out; - if (line.empty()) return out; - if (!field_names.empty()) out.reserve(field_names.size()); - size_t prev = 0, pos = line.find_first_of(','), curr = pos; - while (pos != line.npos) { - CHECK(curr > 0); - if (line[prev] == '"') ++prev; - if (line[curr - 1] == '"') --curr; - out.push_back(line.substr(prev, curr - prev)); - prev = pos + 1; - pos = line.find_first_of(',', pos + 1); - curr = pos; - } - curr = line.size(); - if (line[prev] == '"') ++prev; - if (line[curr - 1] == '"') --curr; - out.push_back(line.substr(prev, curr - prev)); - return out; -} - -} // end namespace internal - -size_t AddChecker(const char* bm_name, ResultsCheckFn fn) { - auto& rc = internal::GetResultsChecker(); - rc.Add(bm_name, fn); - return rc.results.size(); -} - -int Results::NumThreads() const { - auto pos = name.find("/threads:"); - if (pos == name.npos) return 1; - auto end = name.find('/', pos + 9); - std::stringstream ss; - ss << name.substr(pos + 9, end); - int num = 1; - ss >> num; - CHECK(!ss.fail()); - return num; -} - -double Results::NumIterations() const { - return GetAs("iterations"); -} - -double Results::GetTime(BenchmarkTime which) const { - CHECK(which == kCpuTime || which == kRealTime); - const char* which_str = which == kCpuTime ? "cpu_time" : "real_time"; - double val = GetAs(which_str); - auto unit = Get("time_unit"); - CHECK(unit); - if (*unit == "ns") { - return val * 1.e-9; - } else if (*unit == "us") { - return val * 1.e-6; - } else if (*unit == "ms") { - return val * 1.e-3; - } else if (*unit == "s") { - return val; - } else { - CHECK(1 == 0) << "unknown time unit: " << *unit; - return 0; - } -} - -// ========================================================================= // -// -------------------------- Public API Definitions------------------------ // -// ========================================================================= // - -TestCase::TestCase(std::string re, int rule) - : regex_str(std::move(re)), - match_rule(rule), - substituted_regex(internal::PerformSubstitutions(regex_str)), - regex(std::make_shared()) { - std::string err_str; - regex->Init(substituted_regex, &err_str); - CHECK(err_str.empty()) << "Could not construct regex \"" << substituted_regex - << "\"" - << "\n originally \"" << regex_str << "\"" - << "\n got error: " << err_str; -} - -int AddCases(TestCaseID ID, std::initializer_list il) { - auto& L = internal::GetTestCaseList(ID); - L.insert(L.end(), il); - return 0; -} - -int SetSubstitutions( - std::initializer_list> il) { - auto& subs = internal::GetSubstitutions(); - for (auto KV : il) { - bool exists = false; - KV.second = internal::PerformSubstitutions(KV.second); - for (auto& EKV : subs) { - if (EKV.first == KV.first) { - EKV.second = std::move(KV.second); - exists = true; - break; - } - } - if (!exists) subs.push_back(std::move(KV)); - } - return 0; -} - -void RunOutputTests(int argc, char* argv[]) { - using internal::GetTestCaseList; - benchmark::Initialize(&argc, argv); - auto options = benchmark::internal::GetOutputOptions(/*force_no_color*/ true); - benchmark::ConsoleReporter CR(options); - benchmark::JSONReporter JR; - benchmark::CSVReporter CSVR; - struct ReporterTest { - const char* name; - std::vector& output_cases; - std::vector& error_cases; - benchmark::BenchmarkReporter& reporter; - std::stringstream out_stream; - std::stringstream err_stream; - - ReporterTest(const char* n, std::vector& out_tc, - std::vector& err_tc, - benchmark::BenchmarkReporter& br) - : name(n), output_cases(out_tc), error_cases(err_tc), reporter(br) { - reporter.SetOutputStream(&out_stream); - reporter.SetErrorStream(&err_stream); - } - } TestCases[] = { - {"ConsoleReporter", GetTestCaseList(TC_ConsoleOut), - GetTestCaseList(TC_ConsoleErr), CR}, - {"JSONReporter", GetTestCaseList(TC_JSONOut), GetTestCaseList(TC_JSONErr), - JR}, - {"CSVReporter", GetTestCaseList(TC_CSVOut), GetTestCaseList(TC_CSVErr), - CSVR}, - }; - - // Create the test reporter and run the benchmarks. - std::cout << "Running benchmarks...\n"; - internal::TestReporter test_rep({&CR, &JR, &CSVR}); - benchmark::RunSpecifiedBenchmarks(&test_rep); - - for (auto& rep_test : TestCases) { - std::string msg = std::string("\nTesting ") + rep_test.name + " Output\n"; - std::string banner(msg.size() - 1, '-'); - std::cout << banner << msg << banner << "\n"; - - std::cerr << rep_test.err_stream.str(); - std::cout << rep_test.out_stream.str(); - - internal::CheckCases(rep_test.error_cases, rep_test.err_stream); - internal::CheckCases(rep_test.output_cases, rep_test.out_stream); - - std::cout << "\n"; - } - - // now that we know the output is as expected, we can dispatch - // the checks to subscribees. - auto& csv = TestCases[2]; - // would use == but gcc spits a warning - CHECK(std::strcmp(csv.name, "CSVReporter") == 0); - internal::GetResultsChecker().CheckResults(csv.out_stream); -} - -int SubstrCnt(const std::string& haystack, const std::string& pat) { - if (pat.length() == 0) return 0; - int count = 0; - for (size_t offset = haystack.find(pat); offset != std::string::npos; - offset = haystack.find(pat, offset + pat.length())) - ++count; - return count; -} - -static char ToHex(int ch) { - return ch < 10 ? static_cast('0' + ch) - : static_cast('a' + (ch - 10)); -} - -static char RandomHexChar() { - static std::mt19937 rd{std::random_device{}()}; - static std::uniform_int_distribution mrand{0, 15}; - return ToHex(mrand(rd)); -} - -static std::string GetRandomFileName() { - std::string model = "test.%%%%%%"; - for (auto & ch : model) { - if (ch == '%') - ch = RandomHexChar(); - } - return model; -} - -static bool FileExists(std::string const& name) { - std::ifstream in(name.c_str()); - return in.good(); -} - -static std::string GetTempFileName() { - // This function attempts to avoid race conditions where two tests - // create the same file at the same time. However, it still introduces races - // similar to tmpnam. - int retries = 3; - while (--retries) { - std::string name = GetRandomFileName(); - if (!FileExists(name)) - return name; - } - std::cerr << "Failed to create unique temporary file name" << std::endl; - std::abort(); -} - -std::string GetFileReporterOutput(int argc, char* argv[]) { - std::vector new_argv(argv, argv + argc); - assert(static_cast(argc) == new_argv.size()); - - std::string tmp_file_name = GetTempFileName(); - std::cout << "Will be using this as the tmp file: " << tmp_file_name << '\n'; - - std::string tmp = "--benchmark_out="; - tmp += tmp_file_name; - new_argv.emplace_back(const_cast(tmp.c_str())); - - argc = int(new_argv.size()); - - benchmark::Initialize(&argc, new_argv.data()); - benchmark::RunSpecifiedBenchmarks(); - - // Read the output back from the file, and delete the file. - std::ifstream tmp_stream(tmp_file_name); - std::string output = std::string((std::istreambuf_iterator(tmp_stream)), - std::istreambuf_iterator()); - std::remove(tmp_file_name.c_str()); - - return output; -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/register_benchmark_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/register_benchmark_test.cc deleted file mode 100644 index 3ac5b21fb3..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/register_benchmark_test.cc +++ /dev/null @@ -1,184 +0,0 @@ - -#undef NDEBUG -#include -#include - -#include "../src/check.h" // NOTE: check.h is for internal use only! -#include "benchmark/benchmark.h" - -namespace { - -class TestReporter : public benchmark::ConsoleReporter { - public: - virtual void ReportRuns(const std::vector& report) { - all_runs_.insert(all_runs_.end(), begin(report), end(report)); - ConsoleReporter::ReportRuns(report); - } - - std::vector all_runs_; -}; - -struct TestCase { - std::string name; - const char* label; - // Note: not explicit as we rely on it being converted through ADD_CASES. - TestCase(const char* xname) : TestCase(xname, nullptr) {} - TestCase(const char* xname, const char* xlabel) - : name(xname), label(xlabel) {} - - typedef benchmark::BenchmarkReporter::Run Run; - - void CheckRun(Run const& run) const { - // clang-format off - CHECK(name == run.benchmark_name()) << "expected " << name << " got " - << run.benchmark_name(); - if (label) { - CHECK(run.report_label == label) << "expected " << label << " got " - << run.report_label; - } else { - CHECK(run.report_label == ""); - } - // clang-format on - } -}; - -std::vector ExpectedResults; - -int AddCases(std::initializer_list const& v) { - for (auto N : v) { - ExpectedResults.push_back(N); - } - return 0; -} - -#define CONCAT(x, y) CONCAT2(x, y) -#define CONCAT2(x, y) x##y -#define ADD_CASES(...) int CONCAT(dummy, __LINE__) = AddCases({__VA_ARGS__}) - -} // end namespace - -typedef benchmark::internal::Benchmark* ReturnVal; - -//----------------------------------------------------------------------------// -// Test RegisterBenchmark with no additional arguments -//----------------------------------------------------------------------------// -void BM_function(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_function); -ReturnVal dummy = benchmark::RegisterBenchmark( - "BM_function_manual_registration", BM_function); -ADD_CASES({"BM_function"}, {"BM_function_manual_registration"}); - -//----------------------------------------------------------------------------// -// Test RegisterBenchmark with additional arguments -// Note: GCC <= 4.8 do not support this form of RegisterBenchmark because they -// reject the variadic pack expansion of lambda captures. -//----------------------------------------------------------------------------// -#ifndef BENCHMARK_HAS_NO_VARIADIC_REGISTER_BENCHMARK - -void BM_extra_args(benchmark::State& st, const char* label) { - for (auto _ : st) { - } - st.SetLabel(label); -} -int RegisterFromFunction() { - std::pair cases[] = { - {"test1", "One"}, {"test2", "Two"}, {"test3", "Three"}}; - for (auto const& c : cases) - benchmark::RegisterBenchmark(c.first, &BM_extra_args, c.second); - return 0; -} -int dummy2 = RegisterFromFunction(); -ADD_CASES({"test1", "One"}, {"test2", "Two"}, {"test3", "Three"}); - -#endif // BENCHMARK_HAS_NO_VARIADIC_REGISTER_BENCHMARK - -//----------------------------------------------------------------------------// -// Test RegisterBenchmark with different callable types -//----------------------------------------------------------------------------// - -struct CustomFixture { - void operator()(benchmark::State& st) { - for (auto _ : st) { - } - } -}; - -void TestRegistrationAtRuntime() { -#ifdef BENCHMARK_HAS_CXX11 - { - CustomFixture fx; - benchmark::RegisterBenchmark("custom_fixture", fx); - AddCases({"custom_fixture"}); - } -#endif -#ifndef BENCHMARK_HAS_NO_VARIADIC_REGISTER_BENCHMARK - { - const char* x = "42"; - auto capturing_lam = [=](benchmark::State& st) { - for (auto _ : st) { - } - st.SetLabel(x); - }; - benchmark::RegisterBenchmark("lambda_benchmark", capturing_lam); - AddCases({{"lambda_benchmark", x}}); - } -#endif -} - -// Test that all benchmarks, registered at either during static init or runtime, -// are run and the results are passed to the reported. -void RunTestOne() { - TestRegistrationAtRuntime(); - - TestReporter test_reporter; - benchmark::RunSpecifiedBenchmarks(&test_reporter); - - typedef benchmark::BenchmarkReporter::Run Run; - auto EB = ExpectedResults.begin(); - - for (Run const& run : test_reporter.all_runs_) { - assert(EB != ExpectedResults.end()); - EB->CheckRun(run); - ++EB; - } - assert(EB == ExpectedResults.end()); -} - -// Test that ClearRegisteredBenchmarks() clears all previously registered -// benchmarks. -// Also test that new benchmarks can be registered and ran afterwards. -void RunTestTwo() { - assert(ExpectedResults.size() != 0 && - "must have at least one registered benchmark"); - ExpectedResults.clear(); - benchmark::ClearRegisteredBenchmarks(); - - TestReporter test_reporter; - size_t num_ran = benchmark::RunSpecifiedBenchmarks(&test_reporter); - assert(num_ran == 0); - assert(test_reporter.all_runs_.begin() == test_reporter.all_runs_.end()); - - TestRegistrationAtRuntime(); - num_ran = benchmark::RunSpecifiedBenchmarks(&test_reporter); - assert(num_ran == ExpectedResults.size()); - - typedef benchmark::BenchmarkReporter::Run Run; - auto EB = ExpectedResults.begin(); - - for (Run const& run : test_reporter.all_runs_) { - assert(EB != ExpectedResults.end()); - EB->CheckRun(run); - ++EB; - } - assert(EB == ExpectedResults.end()); -} - -int main(int argc, char* argv[]) { - benchmark::Initialize(&argc, argv); - - RunTestOne(); - RunTestTwo(); -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/report_aggregates_only_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/report_aggregates_only_test.cc deleted file mode 100644 index 9646b9be53..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/report_aggregates_only_test.cc +++ /dev/null @@ -1,39 +0,0 @@ - -#undef NDEBUG -#include -#include - -#include "benchmark/benchmark.h" -#include "output_test.h" - -// Ok this test is super ugly. We want to check what happens with the file -// reporter in the presence of ReportAggregatesOnly(). -// We do not care about console output, the normal tests check that already. - -void BM_SummaryRepeat(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_SummaryRepeat)->Repetitions(3)->ReportAggregatesOnly(); - -int main(int argc, char* argv[]) { - const std::string output = GetFileReporterOutput(argc, argv); - - if (SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3") != 3 || - SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_mean\"") != 1 || - SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_median\"") != - 1 || - SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"") != - 1) { - std::cout << "Precondition mismatch. Expected to only find three " - "occurrences of \"BM_SummaryRepeat/repeats:3\" substring:\n" - "\"name\": \"BM_SummaryRepeat/repeats:3_mean\", " - "\"name\": \"BM_SummaryRepeat/repeats:3_median\", " - "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"\nThe entire " - "output:\n"; - std::cout << output; - return 1; - } - - return 0; -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/reporter_output_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/reporter_output_test.cc deleted file mode 100644 index ec6d51b359..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/reporter_output_test.cc +++ /dev/null @@ -1,604 +0,0 @@ - -#undef NDEBUG -#include - -#include "benchmark/benchmark.h" -#include "output_test.h" - -// ========================================================================= // -// ---------------------- Testing Prologue Output -------------------------- // -// ========================================================================= // - -ADD_CASES(TC_ConsoleOut, {{"^[-]+$", MR_Next}, - {"^Benchmark %s Time %s CPU %s Iterations$", MR_Next}, - {"^[-]+$", MR_Next}}); -static int AddContextCases() { - AddCases(TC_ConsoleErr, - { - {"%int[-/]%int[-/]%int %int:%int:%int$", MR_Default}, - {"Running .*/reporter_output_test(\\.exe)?$", MR_Next}, - {"Run on \\(%int X %float MHz CPU s?\\)", MR_Next}, - }); - AddCases(TC_JSONOut, - {{"^\\{", MR_Default}, - {"\"context\":", MR_Next}, - {"\"date\": \"", MR_Next}, - {"\"host_name\":", MR_Next}, - {"\"executable\": \".*(/|\\\\)reporter_output_test(\\.exe)?\",", - MR_Next}, - {"\"num_cpus\": %int,$", MR_Next}, - {"\"mhz_per_cpu\": %float,$", MR_Next}, - {"\"cpu_scaling_enabled\": ", MR_Next}, - {"\"caches\": \\[$", MR_Next}}); - auto const& Info = benchmark::CPUInfo::Get(); - auto const& Caches = Info.caches; - if (!Caches.empty()) { - AddCases(TC_ConsoleErr, {{"CPU Caches:$", MR_Next}}); - } - for (size_t I = 0; I < Caches.size(); ++I) { - std::string num_caches_str = - Caches[I].num_sharing != 0 ? " \\(x%int\\)$" : "$"; - AddCases( - TC_ConsoleErr, - {{"L%int (Data|Instruction|Unified) %intK" + num_caches_str, MR_Next}}); - AddCases(TC_JSONOut, {{"\\{$", MR_Next}, - {"\"type\": \"", MR_Next}, - {"\"level\": %int,$", MR_Next}, - {"\"size\": %int,$", MR_Next}, - {"\"num_sharing\": %int$", MR_Next}, - {"}[,]{0,1}$", MR_Next}}); - } - AddCases(TC_JSONOut, {{"],$"}}); - auto const& LoadAvg = Info.load_avg; - if (!LoadAvg.empty()) { - AddCases(TC_ConsoleErr, - {{"Load Average: (%float, ){0,2}%float$", MR_Next}}); - } - AddCases(TC_JSONOut, {{"\"load_avg\": \\[(%float,?){0,3}],$", MR_Next}}); - return 0; -} -int dummy_register = AddContextCases(); -ADD_CASES(TC_CSVOut, {{"%csv_header"}}); - -// ========================================================================= // -// ------------------------ Testing Basic Output --------------------------- // -// ========================================================================= // - -void BM_basic(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_basic); - -ADD_CASES(TC_ConsoleOut, {{"^BM_basic %console_report$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_basic\",$"}, - {"\"run_name\": \"BM_basic\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\"$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_basic\",%csv_report$"}}); - -// ========================================================================= // -// ------------------------ Testing Bytes per Second Output ---------------- // -// ========================================================================= // - -void BM_bytes_per_second(benchmark::State& state) { - for (auto _ : state) { - } - state.SetBytesProcessed(1); -} -BENCHMARK(BM_bytes_per_second); - -ADD_CASES(TC_ConsoleOut, {{"^BM_bytes_per_second %console_report " - "bytes_per_second=%float[kM]{0,1}/s$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_bytes_per_second\",$"}, - {"\"run_name\": \"BM_bytes_per_second\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bytes_per_second\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_bytes_per_second\",%csv_bytes_report$"}}); - -// ========================================================================= // -// ------------------------ Testing Items per Second Output ---------------- // -// ========================================================================= // - -void BM_items_per_second(benchmark::State& state) { - for (auto _ : state) { - } - state.SetItemsProcessed(1); -} -BENCHMARK(BM_items_per_second); - -ADD_CASES(TC_ConsoleOut, {{"^BM_items_per_second %console_report " - "items_per_second=%float[kM]{0,1}/s$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_items_per_second\",$"}, - {"\"run_name\": \"BM_items_per_second\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"items_per_second\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_items_per_second\",%csv_items_report$"}}); - -// ========================================================================= // -// ------------------------ Testing Label Output --------------------------- // -// ========================================================================= // - -void BM_label(benchmark::State& state) { - for (auto _ : state) { - } - state.SetLabel("some label"); -} -BENCHMARK(BM_label); - -ADD_CASES(TC_ConsoleOut, {{"^BM_label %console_report some label$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_label\",$"}, - {"\"run_name\": \"BM_label\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"label\": \"some label\"$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_label\",%csv_label_report_begin\"some " - "label\"%csv_label_report_end$"}}); - -// ========================================================================= // -// ------------------------ Testing Error Output --------------------------- // -// ========================================================================= // - -void BM_error(benchmark::State& state) { - state.SkipWithError("message"); - for (auto _ : state) { - } -} -BENCHMARK(BM_error); -ADD_CASES(TC_ConsoleOut, {{"^BM_error[ ]+ERROR OCCURRED: 'message'$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_error\",$"}, - {"\"run_name\": \"BM_error\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"error_occurred\": true,$", MR_Next}, - {"\"error_message\": \"message\",$", MR_Next}}); - -ADD_CASES(TC_CSVOut, {{"^\"BM_error\",,,,,,,,true,\"message\"$"}}); - -// ========================================================================= // -// ------------------------ Testing No Arg Name Output ----------------------- -// // -// ========================================================================= // - -void BM_no_arg_name(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_no_arg_name)->Arg(3); -ADD_CASES(TC_ConsoleOut, {{"^BM_no_arg_name/3 %console_report$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_no_arg_name/3\",$"}, - {"\"run_name\": \"BM_no_arg_name/3\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_no_arg_name/3\",%csv_report$"}}); - -// ========================================================================= // -// ------------------------ Testing Arg Name Output ----------------------- // -// ========================================================================= // - -void BM_arg_name(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_arg_name)->ArgName("first")->Arg(3); -ADD_CASES(TC_ConsoleOut, {{"^BM_arg_name/first:3 %console_report$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_arg_name/first:3\",$"}, - {"\"run_name\": \"BM_arg_name/first:3\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_arg_name/first:3\",%csv_report$"}}); - -// ========================================================================= // -// ------------------------ Testing Arg Names Output ----------------------- // -// ========================================================================= // - -void BM_arg_names(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_arg_names)->Args({2, 5, 4})->ArgNames({"first", "", "third"}); -ADD_CASES(TC_ConsoleOut, - {{"^BM_arg_names/first:2/5/third:4 %console_report$"}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_arg_names/first:2/5/third:4\",$"}, - {"\"run_name\": \"BM_arg_names/first:2/5/third:4\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_arg_names/first:2/5/third:4\",%csv_report$"}}); - -// ========================================================================= // -// ------------------------ Testing Big Args Output ------------------------ // -// ========================================================================= // - -void BM_BigArgs(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_BigArgs)->RangeMultiplier(2)->Range(1U << 30U, 1U << 31U); -ADD_CASES(TC_ConsoleOut, {{"^BM_BigArgs/1073741824 %console_report$"}, - {"^BM_BigArgs/2147483648 %console_report$"}}); - -// ========================================================================= // -// ----------------------- Testing Complexity Output ----------------------- // -// ========================================================================= // - -void BM_Complexity_O1(benchmark::State& state) { - for (auto _ : state) { - } - state.SetComplexityN(state.range(0)); -} -BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1); -SET_SUBSTITUTIONS({{"%bigOStr", "[ ]* %float \\([0-9]+\\)"}, - {"%RMS", "[ ]*[0-9]+ %"}}); -ADD_CASES(TC_ConsoleOut, {{"^BM_Complexity_O1_BigO %bigOStr %bigOStr[ ]*$"}, - {"^BM_Complexity_O1_RMS %RMS %RMS[ ]*$"}}); - -// ========================================================================= // -// ----------------------- Testing Aggregate Output ------------------------ // -// ========================================================================= // - -// Test that non-aggregate data is printed by default -void BM_Repeat(benchmark::State& state) { - for (auto _ : state) { - } -} -// need two repetitions min to be able to output any aggregate output -BENCHMARK(BM_Repeat)->Repetitions(2); -ADD_CASES(TC_ConsoleOut, - {{"^BM_Repeat/repeats:2 %console_report$"}, - {"^BM_Repeat/repeats:2 %console_report$"}, - {"^BM_Repeat/repeats:2_mean %console_time_only_report [ ]*2$"}, - {"^BM_Repeat/repeats:2_median %console_time_only_report [ ]*2$"}, - {"^BM_Repeat/repeats:2_stddev %console_time_only_report [ ]*2$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_Repeat/repeats:2\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:2\"", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:2\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:2\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:2_mean\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:2\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"mean\",$", MR_Next}, - {"\"iterations\": 2,$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:2_median\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:2\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"median\",$", MR_Next}, - {"\"iterations\": 2,$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:2_stddev\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:2\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"stddev\",$", MR_Next}, - {"\"iterations\": 2,$", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Repeat/repeats:2\",%csv_report$"}, - {"^\"BM_Repeat/repeats:2\",%csv_report$"}, - {"^\"BM_Repeat/repeats:2_mean\",%csv_report$"}, - {"^\"BM_Repeat/repeats:2_median\",%csv_report$"}, - {"^\"BM_Repeat/repeats:2_stddev\",%csv_report$"}}); -// but for two repetitions, mean and median is the same, so let's repeat.. -BENCHMARK(BM_Repeat)->Repetitions(3); -ADD_CASES(TC_ConsoleOut, - {{"^BM_Repeat/repeats:3 %console_report$"}, - {"^BM_Repeat/repeats:3 %console_report$"}, - {"^BM_Repeat/repeats:3 %console_report$"}, - {"^BM_Repeat/repeats:3_mean %console_time_only_report [ ]*3$"}, - {"^BM_Repeat/repeats:3_median %console_time_only_report [ ]*3$"}, - {"^BM_Repeat/repeats:3_stddev %console_time_only_report [ ]*3$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_Repeat/repeats:3\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:3\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:3\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:3\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:3\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:3\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:3_mean\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:3\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"mean\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:3_median\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:3\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"median\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:3_stddev\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:3\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"stddev\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Repeat/repeats:3\",%csv_report$"}, - {"^\"BM_Repeat/repeats:3\",%csv_report$"}, - {"^\"BM_Repeat/repeats:3\",%csv_report$"}, - {"^\"BM_Repeat/repeats:3_mean\",%csv_report$"}, - {"^\"BM_Repeat/repeats:3_median\",%csv_report$"}, - {"^\"BM_Repeat/repeats:3_stddev\",%csv_report$"}}); -// median differs between even/odd number of repetitions, so just to be sure -BENCHMARK(BM_Repeat)->Repetitions(4); -ADD_CASES(TC_ConsoleOut, - {{"^BM_Repeat/repeats:4 %console_report$"}, - {"^BM_Repeat/repeats:4 %console_report$"}, - {"^BM_Repeat/repeats:4 %console_report$"}, - {"^BM_Repeat/repeats:4 %console_report$"}, - {"^BM_Repeat/repeats:4_mean %console_time_only_report [ ]*4$"}, - {"^BM_Repeat/repeats:4_median %console_time_only_report [ ]*4$"}, - {"^BM_Repeat/repeats:4_stddev %console_time_only_report [ ]*4$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_Repeat/repeats:4\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:4\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:4\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:4\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:4\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:4\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:4\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:4\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:4_mean\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:4\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"mean\",$", MR_Next}, - {"\"iterations\": 4,$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:4_median\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:4\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"median\",$", MR_Next}, - {"\"iterations\": 4,$", MR_Next}, - {"\"name\": \"BM_Repeat/repeats:4_stddev\",$"}, - {"\"run_name\": \"BM_Repeat/repeats:4\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"stddev\",$", MR_Next}, - {"\"iterations\": 4,$", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Repeat/repeats:4\",%csv_report$"}, - {"^\"BM_Repeat/repeats:4\",%csv_report$"}, - {"^\"BM_Repeat/repeats:4\",%csv_report$"}, - {"^\"BM_Repeat/repeats:4\",%csv_report$"}, - {"^\"BM_Repeat/repeats:4_mean\",%csv_report$"}, - {"^\"BM_Repeat/repeats:4_median\",%csv_report$"}, - {"^\"BM_Repeat/repeats:4_stddev\",%csv_report$"}}); - -// Test that a non-repeated test still prints non-aggregate results even when -// only-aggregate reports have been requested -void BM_RepeatOnce(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_RepeatOnce)->Repetitions(1)->ReportAggregatesOnly(); -ADD_CASES(TC_ConsoleOut, {{"^BM_RepeatOnce/repeats:1 %console_report$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_RepeatOnce/repeats:1\",$"}, - {"\"run_name\": \"BM_RepeatOnce/repeats:1\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_RepeatOnce/repeats:1\",%csv_report$"}}); - -// Test that non-aggregate data is not reported -void BM_SummaryRepeat(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_SummaryRepeat)->Repetitions(3)->ReportAggregatesOnly(); -ADD_CASES( - TC_ConsoleOut, - {{".*BM_SummaryRepeat/repeats:3 ", MR_Not}, - {"^BM_SummaryRepeat/repeats:3_mean %console_time_only_report [ ]*3$"}, - {"^BM_SummaryRepeat/repeats:3_median %console_time_only_report [ ]*3$"}, - {"^BM_SummaryRepeat/repeats:3_stddev %console_time_only_report [ ]*3$"}}); -ADD_CASES(TC_JSONOut, - {{".*BM_SummaryRepeat/repeats:3 ", MR_Not}, - {"\"name\": \"BM_SummaryRepeat/repeats:3_mean\",$"}, - {"\"run_name\": \"BM_SummaryRepeat/repeats:3\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"mean\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"name\": \"BM_SummaryRepeat/repeats:3_median\",$"}, - {"\"run_name\": \"BM_SummaryRepeat/repeats:3\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"median\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"name\": \"BM_SummaryRepeat/repeats:3_stddev\",$"}, - {"\"run_name\": \"BM_SummaryRepeat/repeats:3\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"stddev\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}}); -ADD_CASES(TC_CSVOut, {{".*BM_SummaryRepeat/repeats:3 ", MR_Not}, - {"^\"BM_SummaryRepeat/repeats:3_mean\",%csv_report$"}, - {"^\"BM_SummaryRepeat/repeats:3_median\",%csv_report$"}, - {"^\"BM_SummaryRepeat/repeats:3_stddev\",%csv_report$"}}); - -// Test that non-aggregate data is not displayed. -// NOTE: this test is kinda bad. we are only testing the display output. -// But we don't check that the file output still contains everything... -void BM_SummaryDisplay(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_SummaryDisplay)->Repetitions(2)->DisplayAggregatesOnly(); -ADD_CASES( - TC_ConsoleOut, - {{".*BM_SummaryDisplay/repeats:2 ", MR_Not}, - {"^BM_SummaryDisplay/repeats:2_mean %console_time_only_report [ ]*2$"}, - {"^BM_SummaryDisplay/repeats:2_median %console_time_only_report [ ]*2$"}, - {"^BM_SummaryDisplay/repeats:2_stddev %console_time_only_report [ ]*2$"}}); -ADD_CASES(TC_JSONOut, - {{".*BM_SummaryDisplay/repeats:2 ", MR_Not}, - {"\"name\": \"BM_SummaryDisplay/repeats:2_mean\",$"}, - {"\"run_name\": \"BM_SummaryDisplay/repeats:2\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"mean\",$", MR_Next}, - {"\"iterations\": 2,$", MR_Next}, - {"\"name\": \"BM_SummaryDisplay/repeats:2_median\",$"}, - {"\"run_name\": \"BM_SummaryDisplay/repeats:2\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"median\",$", MR_Next}, - {"\"iterations\": 2,$", MR_Next}, - {"\"name\": \"BM_SummaryDisplay/repeats:2_stddev\",$"}, - {"\"run_name\": \"BM_SummaryDisplay/repeats:2\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"stddev\",$", MR_Next}, - {"\"iterations\": 2,$", MR_Next}}); -ADD_CASES(TC_CSVOut, - {{".*BM_SummaryDisplay/repeats:2 ", MR_Not}, - {"^\"BM_SummaryDisplay/repeats:2_mean\",%csv_report$"}, - {"^\"BM_SummaryDisplay/repeats:2_median\",%csv_report$"}, - {"^\"BM_SummaryDisplay/repeats:2_stddev\",%csv_report$"}}); - -// Test repeats with custom time unit. -void BM_RepeatTimeUnit(benchmark::State& state) { - for (auto _ : state) { - } -} -BENCHMARK(BM_RepeatTimeUnit) - ->Repetitions(3) - ->ReportAggregatesOnly() - ->Unit(benchmark::kMicrosecond); -ADD_CASES( - TC_ConsoleOut, - {{".*BM_RepeatTimeUnit/repeats:3 ", MR_Not}, - {"^BM_RepeatTimeUnit/repeats:3_mean %console_us_time_only_report [ ]*3$"}, - {"^BM_RepeatTimeUnit/repeats:3_median %console_us_time_only_report [ " - "]*3$"}, - {"^BM_RepeatTimeUnit/repeats:3_stddev %console_us_time_only_report [ " - "]*3$"}}); -ADD_CASES(TC_JSONOut, - {{".*BM_RepeatTimeUnit/repeats:3 ", MR_Not}, - {"\"name\": \"BM_RepeatTimeUnit/repeats:3_mean\",$"}, - {"\"run_name\": \"BM_RepeatTimeUnit/repeats:3\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"mean\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"time_unit\": \"us\",?$"}, - {"\"name\": \"BM_RepeatTimeUnit/repeats:3_median\",$"}, - {"\"run_name\": \"BM_RepeatTimeUnit/repeats:3\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"median\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"time_unit\": \"us\",?$"}, - {"\"name\": \"BM_RepeatTimeUnit/repeats:3_stddev\",$"}, - {"\"run_name\": \"BM_RepeatTimeUnit/repeats:3\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"stddev\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"time_unit\": \"us\",?$"}}); -ADD_CASES(TC_CSVOut, - {{".*BM_RepeatTimeUnit/repeats:3 ", MR_Not}, - {"^\"BM_RepeatTimeUnit/repeats:3_mean\",%csv_us_report$"}, - {"^\"BM_RepeatTimeUnit/repeats:3_median\",%csv_us_report$"}, - {"^\"BM_RepeatTimeUnit/repeats:3_stddev\",%csv_us_report$"}}); - -// ========================================================================= // -// -------------------- Testing user-provided statistics ------------------- // -// ========================================================================= // - -const auto UserStatistics = [](const std::vector& v) { - return v.back(); -}; -void BM_UserStats(benchmark::State& state) { - for (auto _ : state) { - state.SetIterationTime(150 / 10e8); - } -} -// clang-format off -BENCHMARK(BM_UserStats) - ->Repetitions(3) - ->Iterations(5) - ->UseManualTime() - ->ComputeStatistics("", UserStatistics); -// clang-format on - -// check that user-provided stats is calculated, and is after the default-ones -// empty string as name is intentional, it would sort before anything else -ADD_CASES(TC_ConsoleOut, {{"^BM_UserStats/iterations:5/repeats:3/manual_time [ " - "]* 150 ns %time [ ]*5$"}, - {"^BM_UserStats/iterations:5/repeats:3/manual_time [ " - "]* 150 ns %time [ ]*5$"}, - {"^BM_UserStats/iterations:5/repeats:3/manual_time [ " - "]* 150 ns %time [ ]*5$"}, - {"^BM_UserStats/iterations:5/repeats:3/" - "manual_time_mean [ ]* 150 ns %time [ ]*3$"}, - {"^BM_UserStats/iterations:5/repeats:3/" - "manual_time_median [ ]* 150 ns %time [ ]*3$"}, - {"^BM_UserStats/iterations:5/repeats:3/" - "manual_time_stddev [ ]* 0.000 ns %time [ ]*3$"}, - {"^BM_UserStats/iterations:5/repeats:3/manual_time_ " - "[ ]* 150 ns %time [ ]*3$"}}); -ADD_CASES( - TC_JSONOut, - {{"\"name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$"}, - {"\"run_name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$", - MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": 5,$", MR_Next}, - {"\"real_time\": 1\\.5(0)*e\\+(0)*2,$", MR_Next}, - {"\"name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$"}, - {"\"run_name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$", - MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": 5,$", MR_Next}, - {"\"real_time\": 1\\.5(0)*e\\+(0)*2,$", MR_Next}, - {"\"name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$"}, - {"\"run_name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$", - MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": 5,$", MR_Next}, - {"\"real_time\": 1\\.5(0)*e\\+(0)*2,$", MR_Next}, - {"\"name\": \"BM_UserStats/iterations:5/repeats:3/manual_time_mean\",$"}, - {"\"run_name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$", - MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"mean\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"real_time\": 1\\.5(0)*e\\+(0)*2,$", MR_Next}, - {"\"name\": \"BM_UserStats/iterations:5/repeats:3/manual_time_median\",$"}, - {"\"run_name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$", - MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"median\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"real_time\": 1\\.5(0)*e\\+(0)*2,$", MR_Next}, - {"\"name\": \"BM_UserStats/iterations:5/repeats:3/manual_time_stddev\",$"}, - {"\"run_name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$", - MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"stddev\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"name\": \"BM_UserStats/iterations:5/repeats:3/manual_time_\",$"}, - {"\"run_name\": \"BM_UserStats/iterations:5/repeats:3/manual_time\",$", - MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"\",$", MR_Next}, - {"\"iterations\": 3,$", MR_Next}, - {"\"real_time\": 1\\.5(0)*e\\+(0)*2,$", MR_Next}}); -ADD_CASES( - TC_CSVOut, - {{"^\"BM_UserStats/iterations:5/repeats:3/manual_time\",%csv_report$"}, - {"^\"BM_UserStats/iterations:5/repeats:3/manual_time\",%csv_report$"}, - {"^\"BM_UserStats/iterations:5/repeats:3/manual_time\",%csv_report$"}, - {"^\"BM_UserStats/iterations:5/repeats:3/manual_time_mean\",%csv_report$"}, - {"^\"BM_UserStats/iterations:5/repeats:3/" - "manual_time_median\",%csv_report$"}, - {"^\"BM_UserStats/iterations:5/repeats:3/" - "manual_time_stddev\",%csv_report$"}, - {"^\"BM_UserStats/iterations:5/repeats:3/manual_time_\",%csv_report$"}}); - -// ========================================================================= // -// --------------------------- TEST CASES END ------------------------------ // -// ========================================================================= // - -int main(int argc, char* argv[]) { RunOutputTests(argc, argv); } diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/skip_with_error_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/skip_with_error_test.cc deleted file mode 100644 index 06579772ff..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/skip_with_error_test.cc +++ /dev/null @@ -1,189 +0,0 @@ - -#undef NDEBUG -#include -#include - -#include "../src/check.h" // NOTE: check.h is for internal use only! -#include "benchmark/benchmark.h" - -namespace { - -class TestReporter : public benchmark::ConsoleReporter { - public: - virtual bool ReportContext(const Context& context) { - return ConsoleReporter::ReportContext(context); - }; - - virtual void ReportRuns(const std::vector& report) { - all_runs_.insert(all_runs_.end(), begin(report), end(report)); - ConsoleReporter::ReportRuns(report); - } - - TestReporter() {} - virtual ~TestReporter() {} - - mutable std::vector all_runs_; -}; - -struct TestCase { - std::string name; - bool error_occurred; - std::string error_message; - - typedef benchmark::BenchmarkReporter::Run Run; - - void CheckRun(Run const& run) const { - CHECK(name == run.benchmark_name()) - << "expected " << name << " got " << run.benchmark_name(); - CHECK(error_occurred == run.error_occurred); - CHECK(error_message == run.error_message); - if (error_occurred) { - // CHECK(run.iterations == 0); - } else { - CHECK(run.iterations != 0); - } - } -}; - -std::vector ExpectedResults; - -int AddCases(const char* base_name, std::initializer_list const& v) { - for (auto TC : v) { - TC.name = base_name + TC.name; - ExpectedResults.push_back(std::move(TC)); - } - return 0; -} - -#define CONCAT(x, y) CONCAT2(x, y) -#define CONCAT2(x, y) x##y -#define ADD_CASES(...) int CONCAT(dummy, __LINE__) = AddCases(__VA_ARGS__) - -} // end namespace - -void BM_error_before_running(benchmark::State& state) { - state.SkipWithError("error message"); - while (state.KeepRunning()) { - assert(false); - } -} -BENCHMARK(BM_error_before_running); -ADD_CASES("BM_error_before_running", {{"", true, "error message"}}); - -void BM_error_before_running_batch(benchmark::State& state) { - state.SkipWithError("error message"); - while (state.KeepRunningBatch(17)) { - assert(false); - } -} -BENCHMARK(BM_error_before_running_batch); -ADD_CASES("BM_error_before_running_batch", {{"", true, "error message"}}); - -void BM_error_before_running_range_for(benchmark::State& state) { - state.SkipWithError("error message"); - for (auto _ : state) { - assert(false); - } -} -BENCHMARK(BM_error_before_running_range_for); -ADD_CASES("BM_error_before_running_range_for", {{"", true, "error message"}}); - -void BM_error_during_running(benchmark::State& state) { - int first_iter = true; - while (state.KeepRunning()) { - if (state.range(0) == 1 && state.thread_index <= (state.threads / 2)) { - assert(first_iter); - first_iter = false; - state.SkipWithError("error message"); - } else { - state.PauseTiming(); - state.ResumeTiming(); - } - } -} -BENCHMARK(BM_error_during_running)->Arg(1)->Arg(2)->ThreadRange(1, 8); -ADD_CASES("BM_error_during_running", {{"/1/threads:1", true, "error message"}, - {"/1/threads:2", true, "error message"}, - {"/1/threads:4", true, "error message"}, - {"/1/threads:8", true, "error message"}, - {"/2/threads:1", false, ""}, - {"/2/threads:2", false, ""}, - {"/2/threads:4", false, ""}, - {"/2/threads:8", false, ""}}); - -void BM_error_during_running_ranged_for(benchmark::State& state) { - assert(state.max_iterations > 3 && "test requires at least a few iterations"); - int first_iter = true; - // NOTE: Users should not write the for loop explicitly. - for (auto It = state.begin(), End = state.end(); It != End; ++It) { - if (state.range(0) == 1) { - assert(first_iter); - first_iter = false; - state.SkipWithError("error message"); - // Test the unfortunate but documented behavior that the ranged-for loop - // doesn't automatically terminate when SkipWithError is set. - assert(++It != End); - break; // Required behavior - } - } -} -BENCHMARK(BM_error_during_running_ranged_for)->Arg(1)->Arg(2)->Iterations(5); -ADD_CASES("BM_error_during_running_ranged_for", - {{"/1/iterations:5", true, "error message"}, - {"/2/iterations:5", false, ""}}); - -void BM_error_after_running(benchmark::State& state) { - for (auto _ : state) { - benchmark::DoNotOptimize(state.iterations()); - } - if (state.thread_index <= (state.threads / 2)) - state.SkipWithError("error message"); -} -BENCHMARK(BM_error_after_running)->ThreadRange(1, 8); -ADD_CASES("BM_error_after_running", {{"/threads:1", true, "error message"}, - {"/threads:2", true, "error message"}, - {"/threads:4", true, "error message"}, - {"/threads:8", true, "error message"}}); - -void BM_error_while_paused(benchmark::State& state) { - bool first_iter = true; - while (state.KeepRunning()) { - if (state.range(0) == 1 && state.thread_index <= (state.threads / 2)) { - assert(first_iter); - first_iter = false; - state.PauseTiming(); - state.SkipWithError("error message"); - } else { - state.PauseTiming(); - state.ResumeTiming(); - } - } -} -BENCHMARK(BM_error_while_paused)->Arg(1)->Arg(2)->ThreadRange(1, 8); -ADD_CASES("BM_error_while_paused", {{"/1/threads:1", true, "error message"}, - {"/1/threads:2", true, "error message"}, - {"/1/threads:4", true, "error message"}, - {"/1/threads:8", true, "error message"}, - {"/2/threads:1", false, ""}, - {"/2/threads:2", false, ""}, - {"/2/threads:4", false, ""}, - {"/2/threads:8", false, ""}}); - -int main(int argc, char* argv[]) { - benchmark::Initialize(&argc, argv); - - TestReporter test_reporter; - benchmark::RunSpecifiedBenchmarks(&test_reporter); - - typedef benchmark::BenchmarkReporter::Run Run; - auto EB = ExpectedResults.begin(); - - for (Run const& run : test_reporter.all_runs_) { - assert(EB != ExpectedResults.end()); - EB->CheckRun(run); - ++EB; - } - assert(EB == ExpectedResults.end()); - - return 0; -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/state_assembly_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/state_assembly_test.cc deleted file mode 100644 index abe9a4ddb5..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/state_assembly_test.cc +++ /dev/null @@ -1,68 +0,0 @@ -#include - -#ifdef __clang__ -#pragma clang diagnostic ignored "-Wreturn-type" -#endif - -// clang-format off -extern "C" { - extern int ExternInt; - benchmark::State& GetState(); - void Fn(); -} -// clang-format on - -using benchmark::State; - -// CHECK-LABEL: test_for_auto_loop: -extern "C" int test_for_auto_loop() { - State& S = GetState(); - int x = 42; - // CHECK: [[CALL:call(q)*]] _ZN9benchmark5State16StartKeepRunningEv - // CHECK-NEXT: testq %rbx, %rbx - // CHECK-NEXT: je [[LOOP_END:.*]] - - for (auto _ : S) { - // CHECK: .L[[LOOP_HEAD:[a-zA-Z0-9_]+]]: - // CHECK-GNU-NEXT: subq $1, %rbx - // CHECK-CLANG-NEXT: {{(addq \$1,|incq)}} %rax - // CHECK-NEXT: jne .L[[LOOP_HEAD]] - benchmark::DoNotOptimize(x); - } - // CHECK: [[LOOP_END]]: - // CHECK: [[CALL]] _ZN9benchmark5State17FinishKeepRunningEv - - // CHECK: movl $101, %eax - // CHECK: ret - return 101; -} - -// CHECK-LABEL: test_while_loop: -extern "C" int test_while_loop() { - State& S = GetState(); - int x = 42; - - // CHECK: j{{(e|mp)}} .L[[LOOP_HEADER:[a-zA-Z0-9_]+]] - // CHECK-NEXT: .L[[LOOP_BODY:[a-zA-Z0-9_]+]]: - while (S.KeepRunning()) { - // CHECK-GNU-NEXT: subq $1, %[[IREG:[a-z]+]] - // CHECK-CLANG-NEXT: {{(addq \$-1,|decq)}} %[[IREG:[a-z]+]] - // CHECK: movq %[[IREG]], [[DEST:.*]] - benchmark::DoNotOptimize(x); - } - // CHECK-DAG: movq [[DEST]], %[[IREG]] - // CHECK-DAG: testq %[[IREG]], %[[IREG]] - // CHECK-DAG: jne .L[[LOOP_BODY]] - // CHECK-DAG: .L[[LOOP_HEADER]]: - - // CHECK: cmpb $0 - // CHECK-NEXT: jne .L[[LOOP_END:[a-zA-Z0-9_]+]] - // CHECK: [[CALL:call(q)*]] _ZN9benchmark5State16StartKeepRunningEv - - // CHECK: .L[[LOOP_END]]: - // CHECK: [[CALL]] _ZN9benchmark5State17FinishKeepRunningEv - - // CHECK: movl $101, %eax - // CHECK: ret - return 101; -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/statistics_gtest.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/statistics_gtest.cc deleted file mode 100644 index 99e314920c..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/statistics_gtest.cc +++ /dev/null @@ -1,28 +0,0 @@ -//===---------------------------------------------------------------------===// -// statistics_test - Unit tests for src/statistics.cc -//===---------------------------------------------------------------------===// - -#include "../src/statistics.h" -#include "gtest/gtest.h" - -namespace { -TEST(StatisticsTest, Mean) { - EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({42, 42, 42, 42}), 42.0); - EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({1, 2, 3, 4}), 2.5); - EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({1, 2, 5, 10, 10, 14}), 7.0); -} - -TEST(StatisticsTest, Median) { - EXPECT_DOUBLE_EQ(benchmark::StatisticsMedian({42, 42, 42, 42}), 42.0); - EXPECT_DOUBLE_EQ(benchmark::StatisticsMedian({1, 2, 3, 4}), 2.5); - EXPECT_DOUBLE_EQ(benchmark::StatisticsMedian({1, 2, 5, 10, 10}), 5.0); -} - -TEST(StatisticsTest, StdDev) { - EXPECT_DOUBLE_EQ(benchmark::StatisticsStdDev({101, 101, 101, 101}), 0.0); - EXPECT_DOUBLE_EQ(benchmark::StatisticsStdDev({1, 2, 3}), 1.0); - EXPECT_FLOAT_EQ(benchmark::StatisticsStdDev({1.5, 2.4, 3.3, 4.2, 5.1}), - 1.42302495); -} - -} // end namespace diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/string_util_gtest.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/string_util_gtest.cc deleted file mode 100644 index 2c5d073f61..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/string_util_gtest.cc +++ /dev/null @@ -1,146 +0,0 @@ -//===---------------------------------------------------------------------===// -// statistics_test - Unit tests for src/statistics.cc -//===---------------------------------------------------------------------===// - -#include "../src/string_util.h" -#include "gtest/gtest.h" - -namespace { -TEST(StringUtilTest, stoul) { - { - size_t pos = 0; - EXPECT_EQ(0ul, benchmark::stoul("0", &pos)); - EXPECT_EQ(1ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(7ul, benchmark::stoul("7", &pos)); - EXPECT_EQ(1ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(135ul, benchmark::stoul("135", &pos)); - EXPECT_EQ(3ul, pos); - } -#if ULONG_MAX == 0xFFFFFFFFul - { - size_t pos = 0; - EXPECT_EQ(0xFFFFFFFFul, benchmark::stoul("4294967295", &pos)); - EXPECT_EQ(10ul, pos); - } -#elif ULONG_MAX == 0xFFFFFFFFFFFFFFFFul - { - size_t pos = 0; - EXPECT_EQ(0xFFFFFFFFFFFFFFFFul, benchmark::stoul("18446744073709551615", &pos)); - EXPECT_EQ(20ul, pos); - } -#endif - { - size_t pos = 0; - EXPECT_EQ(10ul, benchmark::stoul("1010", &pos, 2)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(520ul, benchmark::stoul("1010", &pos, 8)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(1010ul, benchmark::stoul("1010", &pos, 10)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(4112ul, benchmark::stoul("1010", &pos, 16)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(0xBEEFul, benchmark::stoul("BEEF", &pos, 16)); - EXPECT_EQ(4ul, pos); - } - { - ASSERT_THROW(benchmark::stoul("this is a test"), std::invalid_argument); - } -} - -TEST(StringUtilTest, stoi) { - { - size_t pos = 0; - EXPECT_EQ(0, benchmark::stoi("0", &pos)); - EXPECT_EQ(1ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(-17, benchmark::stoi("-17", &pos)); - EXPECT_EQ(3ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(1357, benchmark::stoi("1357", &pos)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(10, benchmark::stoi("1010", &pos, 2)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(520, benchmark::stoi("1010", &pos, 8)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(1010, benchmark::stoi("1010", &pos, 10)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(4112, benchmark::stoi("1010", &pos, 16)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(0xBEEF, benchmark::stoi("BEEF", &pos, 16)); - EXPECT_EQ(4ul, pos); - } - { - ASSERT_THROW(benchmark::stoi("this is a test"), std::invalid_argument); - } -} - -TEST(StringUtilTest, stod) { - { - size_t pos = 0; - EXPECT_EQ(0.0, benchmark::stod("0", &pos)); - EXPECT_EQ(1ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(-84.0, benchmark::stod("-84", &pos)); - EXPECT_EQ(3ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(1234.0, benchmark::stod("1234", &pos)); - EXPECT_EQ(4ul, pos); - } - { - size_t pos = 0; - EXPECT_EQ(1.5, benchmark::stod("1.5", &pos)); - EXPECT_EQ(3ul, pos); - } - { - size_t pos = 0; - /* Note: exactly representable as double */ - EXPECT_EQ(-1.25e+9, benchmark::stod("-1.25e+9", &pos)); - EXPECT_EQ(8ul, pos); - } - { - ASSERT_THROW(benchmark::stod("this is a test"), std::invalid_argument); - } -} - -} // end namespace diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/templated_fixture_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/templated_fixture_test.cc deleted file mode 100644 index fe9865cc77..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/templated_fixture_test.cc +++ /dev/null @@ -1,28 +0,0 @@ - -#include "benchmark/benchmark.h" - -#include -#include - -template -class MyFixture : public ::benchmark::Fixture { - public: - MyFixture() : data(0) {} - - T data; -}; - -BENCHMARK_TEMPLATE_F(MyFixture, Foo, int)(benchmark::State& st) { - for (auto _ : st) { - data += 1; - } -} - -BENCHMARK_TEMPLATE_DEFINE_F(MyFixture, Bar, double)(benchmark::State& st) { - for (auto _ : st) { - data += 1.0; - } -} -BENCHMARK_REGISTER_F(MyFixture, Bar); - -BENCHMARK_MAIN(); diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_tabular_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_tabular_test.cc deleted file mode 100644 index 030e98916c..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_tabular_test.cc +++ /dev/null @@ -1,268 +0,0 @@ - -#undef NDEBUG - -#include "benchmark/benchmark.h" -#include "output_test.h" - -// @todo: this checks the full output at once; the rule for -// CounterSet1 was failing because it was not matching "^[-]+$". -// @todo: check that the counters are vertically aligned. -ADD_CASES( - TC_ConsoleOut, - { - // keeping these lines long improves readability, so: - // clang-format off - {"^[-]+$", MR_Next}, - {"^Benchmark %s Time %s CPU %s Iterations %s Bar %s Bat %s Baz %s Foo %s Frob %s Lob$", MR_Next}, - {"^[-]+$", MR_Next}, - {"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s$", MR_Next}, - {"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s$", MR_Next}, - {"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s$", MR_Next}, - {"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s$", MR_Next}, - {"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat/s$", MR_Next}, - {"^[-]+$", MR_Next}, - {"^Benchmark %s Time %s CPU %s Iterations %s Bar %s Baz %s Foo$", MR_Next}, - {"^[-]+$", MR_Next}, - {"^BM_CounterSet0_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet0_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet0_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet0_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet0_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet1_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet1_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet1_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet1_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet1_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^[-]+$", MR_Next}, - {"^Benchmark %s Time %s CPU %s Iterations %s Bat %s Baz %s Foo$", MR_Next}, - {"^[-]+$", MR_Next}, - {"^BM_CounterSet2_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet2_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet2_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet2_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$", MR_Next}, - {"^BM_CounterSet2_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat$"}, - // clang-format on - }); -ADD_CASES(TC_CSVOut, {{"%csv_header," - "\"Bar\",\"Bat\",\"Baz\",\"Foo\",\"Frob\",\"Lob\""}}); - -// ========================================================================= // -// ------------------------- Tabular Counters Output ----------------------- // -// ========================================================================= // - -void BM_Counters_Tabular(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters.insert({ - {"Foo", {1, bm::Counter::kAvgThreads}}, - {"Bar", {2, bm::Counter::kAvgThreads}}, - {"Baz", {4, bm::Counter::kAvgThreads}}, - {"Bat", {8, bm::Counter::kAvgThreads}}, - {"Frob", {16, bm::Counter::kAvgThreads}}, - {"Lob", {32, bm::Counter::kAvgThreads}}, - }); -} -BENCHMARK(BM_Counters_Tabular)->ThreadRange(1, 16); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_Tabular/threads:%int\",$"}, - {"\"run_name\": \"BM_Counters_Tabular/threads:%int\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"Bar\": %float,$", MR_Next}, - {"\"Bat\": %float,$", MR_Next}, - {"\"Baz\": %float,$", MR_Next}, - {"\"Foo\": %float,$", MR_Next}, - {"\"Frob\": %float,$", MR_Next}, - {"\"Lob\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Counters_Tabular/threads:%int\",%csv_report," - "%float,%float,%float,%float,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckTabular(Results const& e) { - CHECK_COUNTER_VALUE(e, int, "Foo", EQ, 1); - CHECK_COUNTER_VALUE(e, int, "Bar", EQ, 2); - CHECK_COUNTER_VALUE(e, int, "Baz", EQ, 4); - CHECK_COUNTER_VALUE(e, int, "Bat", EQ, 8); - CHECK_COUNTER_VALUE(e, int, "Frob", EQ, 16); - CHECK_COUNTER_VALUE(e, int, "Lob", EQ, 32); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_Tabular/threads:%int", &CheckTabular); - -// ========================================================================= // -// -------------------- Tabular+Rate Counters Output ----------------------- // -// ========================================================================= // - -void BM_CounterRates_Tabular(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters.insert({ - {"Foo", {1, bm::Counter::kAvgThreadsRate}}, - {"Bar", {2, bm::Counter::kAvgThreadsRate}}, - {"Baz", {4, bm::Counter::kAvgThreadsRate}}, - {"Bat", {8, bm::Counter::kAvgThreadsRate}}, - {"Frob", {16, bm::Counter::kAvgThreadsRate}}, - {"Lob", {32, bm::Counter::kAvgThreadsRate}}, - }); -} -BENCHMARK(BM_CounterRates_Tabular)->ThreadRange(1, 16); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_CounterRates_Tabular/threads:%int\",$"}, - {"\"run_name\": \"BM_CounterRates_Tabular/threads:%int\",$", - MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"Bar\": %float,$", MR_Next}, - {"\"Bat\": %float,$", MR_Next}, - {"\"Baz\": %float,$", MR_Next}, - {"\"Foo\": %float,$", MR_Next}, - {"\"Frob\": %float,$", MR_Next}, - {"\"Lob\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_CounterRates_Tabular/threads:%int\",%csv_report," - "%float,%float,%float,%float,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckTabularRate(Results const& e) { - double t = e.DurationCPUTime(); - CHECK_FLOAT_COUNTER_VALUE(e, "Foo", EQ, 1. / t, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "Bar", EQ, 2. / t, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "Baz", EQ, 4. / t, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "Bat", EQ, 8. / t, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "Frob", EQ, 16. / t, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "Lob", EQ, 32. / t, 0.001); -} -CHECK_BENCHMARK_RESULTS("BM_CounterRates_Tabular/threads:%int", - &CheckTabularRate); - -// ========================================================================= // -// ------------------------- Tabular Counters Output ----------------------- // -// ========================================================================= // - -// set only some of the counters -void BM_CounterSet0_Tabular(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters.insert({ - {"Foo", {10, bm::Counter::kAvgThreads}}, - {"Bar", {20, bm::Counter::kAvgThreads}}, - {"Baz", {40, bm::Counter::kAvgThreads}}, - }); -} -BENCHMARK(BM_CounterSet0_Tabular)->ThreadRange(1, 16); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_CounterSet0_Tabular/threads:%int\",$"}, - {"\"run_name\": \"BM_CounterSet0_Tabular/threads:%int\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"Bar\": %float,$", MR_Next}, - {"\"Baz\": %float,$", MR_Next}, - {"\"Foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_CounterSet0_Tabular/threads:%int\",%csv_report," - "%float,,%float,%float,,"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckSet0(Results const& e) { - CHECK_COUNTER_VALUE(e, int, "Foo", EQ, 10); - CHECK_COUNTER_VALUE(e, int, "Bar", EQ, 20); - CHECK_COUNTER_VALUE(e, int, "Baz", EQ, 40); -} -CHECK_BENCHMARK_RESULTS("BM_CounterSet0_Tabular", &CheckSet0); - -// again. -void BM_CounterSet1_Tabular(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters.insert({ - {"Foo", {15, bm::Counter::kAvgThreads}}, - {"Bar", {25, bm::Counter::kAvgThreads}}, - {"Baz", {45, bm::Counter::kAvgThreads}}, - }); -} -BENCHMARK(BM_CounterSet1_Tabular)->ThreadRange(1, 16); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_CounterSet1_Tabular/threads:%int\",$"}, - {"\"run_name\": \"BM_CounterSet1_Tabular/threads:%int\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"Bar\": %float,$", MR_Next}, - {"\"Baz\": %float,$", MR_Next}, - {"\"Foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_CounterSet1_Tabular/threads:%int\",%csv_report," - "%float,,%float,%float,,"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckSet1(Results const& e) { - CHECK_COUNTER_VALUE(e, int, "Foo", EQ, 15); - CHECK_COUNTER_VALUE(e, int, "Bar", EQ, 25); - CHECK_COUNTER_VALUE(e, int, "Baz", EQ, 45); -} -CHECK_BENCHMARK_RESULTS("BM_CounterSet1_Tabular/threads:%int", &CheckSet1); - -// ========================================================================= // -// ------------------------- Tabular Counters Output ----------------------- // -// ========================================================================= // - -// set only some of the counters, different set now. -void BM_CounterSet2_Tabular(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters.insert({ - {"Foo", {10, bm::Counter::kAvgThreads}}, - {"Bat", {30, bm::Counter::kAvgThreads}}, - {"Baz", {40, bm::Counter::kAvgThreads}}, - }); -} -BENCHMARK(BM_CounterSet2_Tabular)->ThreadRange(1, 16); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_CounterSet2_Tabular/threads:%int\",$"}, - {"\"run_name\": \"BM_CounterSet2_Tabular/threads:%int\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"Bat\": %float,$", MR_Next}, - {"\"Baz\": %float,$", MR_Next}, - {"\"Foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_CounterSet2_Tabular/threads:%int\",%csv_report," - ",%float,%float,%float,,"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckSet2(Results const& e) { - CHECK_COUNTER_VALUE(e, int, "Foo", EQ, 10); - CHECK_COUNTER_VALUE(e, int, "Bat", EQ, 30); - CHECK_COUNTER_VALUE(e, int, "Baz", EQ, 40); -} -CHECK_BENCHMARK_RESULTS("BM_CounterSet2_Tabular", &CheckSet2); - -// ========================================================================= // -// --------------------------- TEST CASES END ------------------------------ // -// ========================================================================= // - -int main(int argc, char* argv[]) { RunOutputTests(argc, argv); } diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_test.cc deleted file mode 100644 index bb0d6b4c5a..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_test.cc +++ /dev/null @@ -1,408 +0,0 @@ - -#undef NDEBUG - -#include "benchmark/benchmark.h" -#include "output_test.h" - -// ========================================================================= // -// ---------------------- Testing Prologue Output -------------------------- // -// ========================================================================= // - -// clang-format off - -ADD_CASES(TC_ConsoleOut, - {{"^[-]+$", MR_Next}, - {"^Benchmark %s Time %s CPU %s Iterations UserCounters...$", MR_Next}, - {"^[-]+$", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"%csv_header,\"bar\",\"foo\""}}); - -// clang-format on - -// ========================================================================= // -// ------------------------- Simple Counters Output ------------------------ // -// ========================================================================= // - -void BM_Counters_Simple(benchmark::State& state) { - for (auto _ : state) { - } - state.counters["foo"] = 1; - state.counters["bar"] = 2 * (double)state.iterations(); -} -BENCHMARK(BM_Counters_Simple); -ADD_CASES(TC_ConsoleOut, - {{"^BM_Counters_Simple %console_report bar=%hrfloat foo=%hrfloat$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_Counters_Simple\",$"}, - {"\"run_name\": \"BM_Counters_Simple\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Counters_Simple\",%csv_report,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckSimple(Results const& e) { - double its = e.NumIterations(); - CHECK_COUNTER_VALUE(e, int, "foo", EQ, 1); - // check that the value of bar is within 0.1% of the expected value - CHECK_FLOAT_COUNTER_VALUE(e, "bar", EQ, 2. * its, 0.001); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_Simple", &CheckSimple); - -// ========================================================================= // -// --------------------- Counters+Items+Bytes/s Output --------------------- // -// ========================================================================= // - -namespace { -int num_calls1 = 0; -} -void BM_Counters_WithBytesAndItemsPSec(benchmark::State& state) { - for (auto _ : state) { - } - state.counters["foo"] = 1; - state.counters["bar"] = ++num_calls1; - state.SetBytesProcessed(364); - state.SetItemsProcessed(150); -} -BENCHMARK(BM_Counters_WithBytesAndItemsPSec); -ADD_CASES(TC_ConsoleOut, {{"^BM_Counters_WithBytesAndItemsPSec %console_report " - "bar=%hrfloat bytes_per_second=%hrfloat/s " - "foo=%hrfloat items_per_second=%hrfloat/s$"}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_WithBytesAndItemsPSec\",$"}, - {"\"run_name\": \"BM_Counters_WithBytesAndItemsPSec\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"bytes_per_second\": %float,$", MR_Next}, - {"\"foo\": %float,$", MR_Next}, - {"\"items_per_second\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Counters_WithBytesAndItemsPSec\"," - "%csv_bytes_items_report,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckBytesAndItemsPSec(Results const& e) { - double t = e.DurationCPUTime(); // this (and not real time) is the time used - CHECK_COUNTER_VALUE(e, int, "foo", EQ, 1); - CHECK_COUNTER_VALUE(e, int, "bar", EQ, num_calls1); - // check that the values are within 0.1% of the expected values - CHECK_FLOAT_RESULT_VALUE(e, "bytes_per_second", EQ, 364. / t, 0.001); - CHECK_FLOAT_RESULT_VALUE(e, "items_per_second", EQ, 150. / t, 0.001); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_WithBytesAndItemsPSec", - &CheckBytesAndItemsPSec); - -// ========================================================================= // -// ------------------------- Rate Counters Output -------------------------- // -// ========================================================================= // - -void BM_Counters_Rate(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; - state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; -} -BENCHMARK(BM_Counters_Rate); -ADD_CASES( - TC_ConsoleOut, - {{"^BM_Counters_Rate %console_report bar=%hrfloat/s foo=%hrfloat/s$"}}); -ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_Counters_Rate\",$"}, - {"\"run_name\": \"BM_Counters_Rate\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Counters_Rate\",%csv_report,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckRate(Results const& e) { - double t = e.DurationCPUTime(); // this (and not real time) is the time used - // check that the values are within 0.1% of the expected values - CHECK_FLOAT_COUNTER_VALUE(e, "foo", EQ, 1. / t, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "bar", EQ, 2. / t, 0.001); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_Rate", &CheckRate); - -// ========================================================================= // -// ------------------------- Thread Counters Output ------------------------ // -// ========================================================================= // - -void BM_Counters_Threads(benchmark::State& state) { - for (auto _ : state) { - } - state.counters["foo"] = 1; - state.counters["bar"] = 2; -} -BENCHMARK(BM_Counters_Threads)->ThreadRange(1, 8); -ADD_CASES(TC_ConsoleOut, {{"^BM_Counters_Threads/threads:%int %console_report " - "bar=%hrfloat foo=%hrfloat$"}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_Threads/threads:%int\",$"}, - {"\"run_name\": \"BM_Counters_Threads/threads:%int\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES( - TC_CSVOut, - {{"^\"BM_Counters_Threads/threads:%int\",%csv_report,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckThreads(Results const& e) { - CHECK_COUNTER_VALUE(e, int, "foo", EQ, e.NumThreads()); - CHECK_COUNTER_VALUE(e, int, "bar", EQ, 2 * e.NumThreads()); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_Threads/threads:%int", &CheckThreads); - -// ========================================================================= // -// ---------------------- ThreadAvg Counters Output ------------------------ // -// ========================================================================= // - -void BM_Counters_AvgThreads(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; - state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; -} -BENCHMARK(BM_Counters_AvgThreads)->ThreadRange(1, 8); -ADD_CASES(TC_ConsoleOut, {{"^BM_Counters_AvgThreads/threads:%int " - "%console_report bar=%hrfloat foo=%hrfloat$"}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_AvgThreads/threads:%int\",$"}, - {"\"run_name\": \"BM_Counters_AvgThreads/threads:%int\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES( - TC_CSVOut, - {{"^\"BM_Counters_AvgThreads/threads:%int\",%csv_report,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckAvgThreads(Results const& e) { - CHECK_COUNTER_VALUE(e, int, "foo", EQ, 1); - CHECK_COUNTER_VALUE(e, int, "bar", EQ, 2); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_AvgThreads/threads:%int", - &CheckAvgThreads); - -// ========================================================================= // -// ---------------------- ThreadAvg Counters Output ------------------------ // -// ========================================================================= // - -void BM_Counters_AvgThreadsRate(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreadsRate}; - state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreadsRate}; -} -BENCHMARK(BM_Counters_AvgThreadsRate)->ThreadRange(1, 8); -ADD_CASES(TC_ConsoleOut, {{"^BM_Counters_AvgThreadsRate/threads:%int " - "%console_report bar=%hrfloat/s foo=%hrfloat/s$"}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_AvgThreadsRate/threads:%int\",$"}, - {"\"run_name\": \"BM_Counters_AvgThreadsRate/threads:%int\",$", - MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Counters_AvgThreadsRate/" - "threads:%int\",%csv_report,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckAvgThreadsRate(Results const& e) { - CHECK_FLOAT_COUNTER_VALUE(e, "foo", EQ, 1. / e.DurationCPUTime(), 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "bar", EQ, 2. / e.DurationCPUTime(), 0.001); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_AvgThreadsRate/threads:%int", - &CheckAvgThreadsRate); - -// ========================================================================= // -// ------------------- IterationInvariant Counters Output ------------------ // -// ========================================================================= // - -void BM_Counters_IterationInvariant(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters["foo"] = bm::Counter{1, bm::Counter::kIsIterationInvariant}; - state.counters["bar"] = bm::Counter{2, bm::Counter::kIsIterationInvariant}; -} -BENCHMARK(BM_Counters_IterationInvariant); -ADD_CASES(TC_ConsoleOut, {{"^BM_Counters_IterationInvariant %console_report " - "bar=%hrfloat foo=%hrfloat$"}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_IterationInvariant\",$"}, - {"\"run_name\": \"BM_Counters_IterationInvariant\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, - {{"^\"BM_Counters_IterationInvariant\",%csv_report,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckIterationInvariant(Results const& e) { - double its = e.NumIterations(); - // check that the values are within 0.1% of the expected value - CHECK_FLOAT_COUNTER_VALUE(e, "foo", EQ, its, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "bar", EQ, 2. * its, 0.001); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_IterationInvariant", - &CheckIterationInvariant); - -// ========================================================================= // -// ----------------- IterationInvariantRate Counters Output ---------------- // -// ========================================================================= // - -void BM_Counters_kIsIterationInvariantRate(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters["foo"] = - bm::Counter{1, bm::Counter::kIsIterationInvariantRate}; - state.counters["bar"] = - bm::Counter{2, bm::Counter::kIsRate | bm::Counter::kIsIterationInvariant}; -} -BENCHMARK(BM_Counters_kIsIterationInvariantRate); -ADD_CASES(TC_ConsoleOut, {{"^BM_Counters_kIsIterationInvariantRate " - "%console_report bar=%hrfloat/s foo=%hrfloat/s$"}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_kIsIterationInvariantRate\",$"}, - {"\"run_name\": \"BM_Counters_kIsIterationInvariantRate\",$", - MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Counters_kIsIterationInvariantRate\",%csv_report," - "%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckIsIterationInvariantRate(Results const& e) { - double its = e.NumIterations(); - double t = e.DurationCPUTime(); // this (and not real time) is the time used - // check that the values are within 0.1% of the expected values - CHECK_FLOAT_COUNTER_VALUE(e, "foo", EQ, its * 1. / t, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "bar", EQ, its * 2. / t, 0.001); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_kIsIterationInvariantRate", - &CheckIsIterationInvariantRate); - -// ========================================================================= // -// ------------------- AvgIterations Counters Output ------------------ // -// ========================================================================= // - -void BM_Counters_AvgIterations(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgIterations}; - state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgIterations}; -} -BENCHMARK(BM_Counters_AvgIterations); -ADD_CASES(TC_ConsoleOut, {{"^BM_Counters_AvgIterations %console_report " - "bar=%hrfloat foo=%hrfloat$"}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_AvgIterations\",$"}, - {"\"run_name\": \"BM_Counters_AvgIterations\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, - {{"^\"BM_Counters_AvgIterations\",%csv_report,%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckAvgIterations(Results const& e) { - double its = e.NumIterations(); - // check that the values are within 0.1% of the expected value - CHECK_FLOAT_COUNTER_VALUE(e, "foo", EQ, 1. / its, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "bar", EQ, 2. / its, 0.001); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_AvgIterations", &CheckAvgIterations); - -// ========================================================================= // -// ----------------- AvgIterationsRate Counters Output ---------------- // -// ========================================================================= // - -void BM_Counters_kAvgIterationsRate(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgIterationsRate}; - state.counters["bar"] = - bm::Counter{2, bm::Counter::kIsRate | bm::Counter::kAvgIterations}; -} -BENCHMARK(BM_Counters_kAvgIterationsRate); -ADD_CASES(TC_ConsoleOut, {{"^BM_Counters_kAvgIterationsRate " - "%console_report bar=%hrfloat/s foo=%hrfloat/s$"}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_kAvgIterationsRate\",$"}, - {"\"run_name\": \"BM_Counters_kAvgIterationsRate\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"bar\": %float,$", MR_Next}, - {"\"foo\": %float$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_CSVOut, {{"^\"BM_Counters_kAvgIterationsRate\",%csv_report," - "%float,%float$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckAvgIterationsRate(Results const& e) { - double its = e.NumIterations(); - double t = e.DurationCPUTime(); // this (and not real time) is the time used - // check that the values are within 0.1% of the expected values - CHECK_FLOAT_COUNTER_VALUE(e, "foo", EQ, 1. / its / t, 0.001); - CHECK_FLOAT_COUNTER_VALUE(e, "bar", EQ, 2. / its / t, 0.001); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_kAvgIterationsRate", - &CheckAvgIterationsRate); - -// ========================================================================= // -// --------------------------- TEST CASES END ------------------------------ // -// ========================================================================= // - -int main(int argc, char* argv[]) { RunOutputTests(argc, argv); } diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_thousands_test.cc b/libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_thousands_test.cc deleted file mode 100644 index fa0ef97204..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/test/user_counters_thousands_test.cc +++ /dev/null @@ -1,161 +0,0 @@ - -#undef NDEBUG - -#include "benchmark/benchmark.h" -#include "output_test.h" - -// ========================================================================= // -// ------------------------ Thousands Customisation ------------------------ // -// ========================================================================= // - -void BM_Counters_Thousands(benchmark::State& state) { - for (auto _ : state) { - } - namespace bm = benchmark; - state.counters.insert({ - {"t0_1000000DefaultBase", - bm::Counter(1000 * 1000, bm::Counter::kDefaults)}, - {"t1_1000000Base1000", bm::Counter(1000 * 1000, bm::Counter::kDefaults, - benchmark::Counter::OneK::kIs1000)}, - {"t2_1000000Base1024", bm::Counter(1000 * 1000, bm::Counter::kDefaults, - benchmark::Counter::OneK::kIs1024)}, - {"t3_1048576Base1000", bm::Counter(1024 * 1024, bm::Counter::kDefaults, - benchmark::Counter::OneK::kIs1000)}, - {"t4_1048576Base1024", bm::Counter(1024 * 1024, bm::Counter::kDefaults, - benchmark::Counter::OneK::kIs1024)}, - }); -} -BENCHMARK(BM_Counters_Thousands)->Repetitions(2); -ADD_CASES( - TC_ConsoleOut, - { - {"^BM_Counters_Thousands/repeats:2 %console_report " - "t0_1000000DefaultBase=1000k " - "t1_1000000Base1000=1000k t2_1000000Base1024=976.56[23]k " - "t3_1048576Base1000=1048.58k t4_1048576Base1024=1024k$"}, - {"^BM_Counters_Thousands/repeats:2 %console_report " - "t0_1000000DefaultBase=1000k " - "t1_1000000Base1000=1000k t2_1000000Base1024=976.56[23]k " - "t3_1048576Base1000=1048.58k t4_1048576Base1024=1024k$"}, - {"^BM_Counters_Thousands/repeats:2_mean %console_report " - "t0_1000000DefaultBase=1000k t1_1000000Base1000=1000k " - "t2_1000000Base1024=976.56[23]k t3_1048576Base1000=1048.58k " - "t4_1048576Base1024=1024k$"}, - {"^BM_Counters_Thousands/repeats:2_median %console_report " - "t0_1000000DefaultBase=1000k t1_1000000Base1000=1000k " - "t2_1000000Base1024=976.56[23]k t3_1048576Base1000=1048.58k " - "t4_1048576Base1024=1024k$"}, - {"^BM_Counters_Thousands/repeats:2_stddev %console_time_only_report [ " - "]*2 t0_1000000DefaultBase=0 t1_1000000Base1000=0 " - "t2_1000000Base1024=0 t3_1048576Base1000=0 t4_1048576Base1024=0$"}, - }); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_Thousands/repeats:2\",$"}, - {"\"run_name\": \"BM_Counters_Thousands/repeats:2\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"t0_1000000DefaultBase\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t1_1000000Base1000\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t2_1000000Base1024\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t3_1048576Base1000\": 1\\.048576(0)*e\\+(0)*6,$", MR_Next}, - {"\"t4_1048576Base1024\": 1\\.048576(0)*e\\+(0)*6$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_Thousands/repeats:2\",$"}, - {"\"run_name\": \"BM_Counters_Thousands/repeats:2\",$", MR_Next}, - {"\"run_type\": \"iteration\",$", MR_Next}, - {"\"iterations\": %int,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"t0_1000000DefaultBase\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t1_1000000Base1000\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t2_1000000Base1024\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t3_1048576Base1000\": 1\\.048576(0)*e\\+(0)*6,$", MR_Next}, - {"\"t4_1048576Base1024\": 1\\.048576(0)*e\\+(0)*6$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_Thousands/repeats:2_mean\",$"}, - {"\"run_name\": \"BM_Counters_Thousands/repeats:2\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"mean\",$", MR_Next}, - {"\"iterations\": 2,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"t0_1000000DefaultBase\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t1_1000000Base1000\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t2_1000000Base1024\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t3_1048576Base1000\": 1\\.048576(0)*e\\+(0)*6,$", MR_Next}, - {"\"t4_1048576Base1024\": 1\\.048576(0)*e\\+(0)*6$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_Thousands/repeats:2_median\",$"}, - {"\"run_name\": \"BM_Counters_Thousands/repeats:2\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"median\",$", MR_Next}, - {"\"iterations\": 2,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"t0_1000000DefaultBase\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t1_1000000Base1000\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t2_1000000Base1024\": 1\\.(0)*e\\+(0)*6,$", MR_Next}, - {"\"t3_1048576Base1000\": 1\\.048576(0)*e\\+(0)*6,$", MR_Next}, - {"\"t4_1048576Base1024\": 1\\.048576(0)*e\\+(0)*6$", MR_Next}, - {"}", MR_Next}}); -ADD_CASES(TC_JSONOut, - {{"\"name\": \"BM_Counters_Thousands/repeats:2_stddev\",$"}, - {"\"run_name\": \"BM_Counters_Thousands/repeats:2\",$", MR_Next}, - {"\"run_type\": \"aggregate\",$", MR_Next}, - {"\"aggregate_name\": \"stddev\",$", MR_Next}, - {"\"iterations\": 2,$", MR_Next}, - {"\"real_time\": %float,$", MR_Next}, - {"\"cpu_time\": %float,$", MR_Next}, - {"\"time_unit\": \"ns\",$", MR_Next}, - {"\"t0_1000000DefaultBase\": 0\\.(0)*e\\+(0)*,$", MR_Next}, - {"\"t1_1000000Base1000\": 0\\.(0)*e\\+(0)*,$", MR_Next}, - {"\"t2_1000000Base1024\": 0\\.(0)*e\\+(0)*,$", MR_Next}, - {"\"t3_1048576Base1000\": 0\\.(0)*e\\+(0)*,$", MR_Next}, - {"\"t4_1048576Base1024\": 0\\.(0)*e\\+(0)*$", MR_Next}, - {"}", MR_Next}}); - -ADD_CASES( - TC_CSVOut, - {{"^\"BM_Counters_Thousands/" - "repeats:2\",%csv_report,1e\\+(0)*6,1e\\+(0)*6,1e\\+(0)*6,1\\.04858e\\+(" - "0)*6,1\\.04858e\\+(0)*6$"}, - {"^\"BM_Counters_Thousands/" - "repeats:2\",%csv_report,1e\\+(0)*6,1e\\+(0)*6,1e\\+(0)*6,1\\.04858e\\+(" - "0)*6,1\\.04858e\\+(0)*6$"}, - {"^\"BM_Counters_Thousands/" - "repeats:2_mean\",%csv_report,1e\\+(0)*6,1e\\+(0)*6,1e\\+(0)*6,1\\." - "04858e\\+(0)*6,1\\.04858e\\+(0)*6$"}, - {"^\"BM_Counters_Thousands/" - "repeats:2_median\",%csv_report,1e\\+(0)*6,1e\\+(0)*6,1e\\+(0)*6,1\\." - "04858e\\+(0)*6,1\\.04858e\\+(0)*6$"}, - {"^\"BM_Counters_Thousands/repeats:2_stddev\",%csv_report,0,0,0,0,0$"}}); -// VS2013 does not allow this function to be passed as a lambda argument -// to CHECK_BENCHMARK_RESULTS() -void CheckThousands(Results const& e) { - if (e.name != "BM_Counters_Thousands/repeats:2") - return; // Do not check the aggregates! - - // check that the values are within 0.01% of the expected values - CHECK_FLOAT_COUNTER_VALUE(e, "t0_1000000DefaultBase", EQ, 1000 * 1000, - 0.0001); - CHECK_FLOAT_COUNTER_VALUE(e, "t1_1000000Base1000", EQ, 1000 * 1000, 0.0001); - CHECK_FLOAT_COUNTER_VALUE(e, "t2_1000000Base1024", EQ, 1000 * 1000, 0.0001); - CHECK_FLOAT_COUNTER_VALUE(e, "t3_1048576Base1000", EQ, 1024 * 1024, 0.0001); - CHECK_FLOAT_COUNTER_VALUE(e, "t4_1048576Base1024", EQ, 1024 * 1024, 0.0001); -} -CHECK_BENCHMARK_RESULTS("BM_Counters_Thousands", &CheckThousands); - -// ========================================================================= // -// --------------------------- TEST CASES END ------------------------------ // -// ========================================================================= // - -int main(int argc, char* argv[]) { RunOutputTests(argc, argv); } diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/compare.py b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/compare.py deleted file mode 100755 index 539ace6fb1..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/compare.py +++ /dev/null @@ -1,408 +0,0 @@ -#!/usr/bin/env python - -import unittest -""" -compare.py - versatile benchmark output compare tool -""" - -import argparse -from argparse import ArgumentParser -import sys -import gbench -from gbench import util, report -from gbench.util import * - - -def check_inputs(in1, in2, flags): - """ - Perform checking on the user provided inputs and diagnose any abnormalities - """ - in1_kind, in1_err = classify_input_file(in1) - in2_kind, in2_err = classify_input_file(in2) - output_file = find_benchmark_flag('--benchmark_out=', flags) - output_type = find_benchmark_flag('--benchmark_out_format=', flags) - if in1_kind == IT_Executable and in2_kind == IT_Executable and output_file: - print(("WARNING: '--benchmark_out=%s' will be passed to both " - "benchmarks causing it to be overwritten") % output_file) - if in1_kind == IT_JSON and in2_kind == IT_JSON and len(flags) > 0: - print("WARNING: passing optional flags has no effect since both " - "inputs are JSON") - if output_type is not None and output_type != 'json': - print(("ERROR: passing '--benchmark_out_format=%s' to 'compare.py`" - " is not supported.") % output_type) - sys.exit(1) - - -def create_parser(): - parser = ArgumentParser( - description='versatile benchmark output compare tool') - - parser.add_argument( - '-a', - '--display_aggregates_only', - dest='display_aggregates_only', - action="store_true", - help="If there are repetitions, by default, we display everything - the" - " actual runs, and the aggregates computed. Sometimes, it is " - "desirable to only view the aggregates. E.g. when there are a lot " - "of repetitions. Do note that only the display is affected. " - "Internally, all the actual runs are still used, e.g. for U test.") - - utest = parser.add_argument_group() - utest.add_argument( - '--no-utest', - dest='utest', - default=True, - action="store_false", - help="The tool can do a two-tailed Mann-Whitney U test with the null hypothesis that it is equally likely that a randomly selected value from one sample will be less than or greater than a randomly selected value from a second sample.\nWARNING: requires **LARGE** (no less than {}) number of repetitions to be meaningful!\nThe test is being done by default, if at least {} repetitions were done.\nThis option can disable the U Test.".format(report.UTEST_OPTIMAL_REPETITIONS, report.UTEST_MIN_REPETITIONS)) - alpha_default = 0.05 - utest.add_argument( - "--alpha", - dest='utest_alpha', - default=alpha_default, - type=float, - help=("significance level alpha. if the calculated p-value is below this value, then the result is said to be statistically significant and the null hypothesis is rejected.\n(default: %0.4f)") % - alpha_default) - - subparsers = parser.add_subparsers( - help='This tool has multiple modes of operation:', - dest='mode') - - parser_a = subparsers.add_parser( - 'benchmarks', - help='The most simple use-case, compare all the output of these two benchmarks') - baseline = parser_a.add_argument_group( - 'baseline', 'The benchmark baseline') - baseline.add_argument( - 'test_baseline', - metavar='test_baseline', - type=argparse.FileType('r'), - nargs=1, - help='A benchmark executable or JSON output file') - contender = parser_a.add_argument_group( - 'contender', 'The benchmark that will be compared against the baseline') - contender.add_argument( - 'test_contender', - metavar='test_contender', - type=argparse.FileType('r'), - nargs=1, - help='A benchmark executable or JSON output file') - parser_a.add_argument( - 'benchmark_options', - metavar='benchmark_options', - nargs=argparse.REMAINDER, - help='Arguments to pass when running benchmark executables') - - parser_b = subparsers.add_parser( - 'filters', help='Compare filter one with the filter two of benchmark') - baseline = parser_b.add_argument_group( - 'baseline', 'The benchmark baseline') - baseline.add_argument( - 'test', - metavar='test', - type=argparse.FileType('r'), - nargs=1, - help='A benchmark executable or JSON output file') - baseline.add_argument( - 'filter_baseline', - metavar='filter_baseline', - type=str, - nargs=1, - help='The first filter, that will be used as baseline') - contender = parser_b.add_argument_group( - 'contender', 'The benchmark that will be compared against the baseline') - contender.add_argument( - 'filter_contender', - metavar='filter_contender', - type=str, - nargs=1, - help='The second filter, that will be compared against the baseline') - parser_b.add_argument( - 'benchmark_options', - metavar='benchmark_options', - nargs=argparse.REMAINDER, - help='Arguments to pass when running benchmark executables') - - parser_c = subparsers.add_parser( - 'benchmarksfiltered', - help='Compare filter one of first benchmark with filter two of the second benchmark') - baseline = parser_c.add_argument_group( - 'baseline', 'The benchmark baseline') - baseline.add_argument( - 'test_baseline', - metavar='test_baseline', - type=argparse.FileType('r'), - nargs=1, - help='A benchmark executable or JSON output file') - baseline.add_argument( - 'filter_baseline', - metavar='filter_baseline', - type=str, - nargs=1, - help='The first filter, that will be used as baseline') - contender = parser_c.add_argument_group( - 'contender', 'The benchmark that will be compared against the baseline') - contender.add_argument( - 'test_contender', - metavar='test_contender', - type=argparse.FileType('r'), - nargs=1, - help='The second benchmark executable or JSON output file, that will be compared against the baseline') - contender.add_argument( - 'filter_contender', - metavar='filter_contender', - type=str, - nargs=1, - help='The second filter, that will be compared against the baseline') - parser_c.add_argument( - 'benchmark_options', - metavar='benchmark_options', - nargs=argparse.REMAINDER, - help='Arguments to pass when running benchmark executables') - - return parser - - -def main(): - # Parse the command line flags - parser = create_parser() - args, unknown_args = parser.parse_known_args() - if args.mode is None: - parser.print_help() - exit(1) - assert not unknown_args - benchmark_options = args.benchmark_options - - if args.mode == 'benchmarks': - test_baseline = args.test_baseline[0].name - test_contender = args.test_contender[0].name - filter_baseline = '' - filter_contender = '' - - # NOTE: if test_baseline == test_contender, you are analyzing the stdev - - description = 'Comparing %s to %s' % (test_baseline, test_contender) - elif args.mode == 'filters': - test_baseline = args.test[0].name - test_contender = args.test[0].name - filter_baseline = args.filter_baseline[0] - filter_contender = args.filter_contender[0] - - # NOTE: if filter_baseline == filter_contender, you are analyzing the - # stdev - - description = 'Comparing %s to %s (from %s)' % ( - filter_baseline, filter_contender, args.test[0].name) - elif args.mode == 'benchmarksfiltered': - test_baseline = args.test_baseline[0].name - test_contender = args.test_contender[0].name - filter_baseline = args.filter_baseline[0] - filter_contender = args.filter_contender[0] - - # NOTE: if test_baseline == test_contender and - # filter_baseline == filter_contender, you are analyzing the stdev - - description = 'Comparing %s (from %s) to %s (from %s)' % ( - filter_baseline, test_baseline, filter_contender, test_contender) - else: - # should never happen - print("Unrecognized mode of operation: '%s'" % args.mode) - parser.print_help() - exit(1) - - check_inputs(test_baseline, test_contender, benchmark_options) - - if args.display_aggregates_only: - benchmark_options += ['--benchmark_display_aggregates_only=true'] - - options_baseline = [] - options_contender = [] - - if filter_baseline and filter_contender: - options_baseline = ['--benchmark_filter=%s' % filter_baseline] - options_contender = ['--benchmark_filter=%s' % filter_contender] - - # Run the benchmarks and report the results - json1 = json1_orig = gbench.util.run_or_load_benchmark( - test_baseline, benchmark_options + options_baseline) - json2 = json2_orig = gbench.util.run_or_load_benchmark( - test_contender, benchmark_options + options_contender) - - # Now, filter the benchmarks so that the difference report can work - if filter_baseline and filter_contender: - replacement = '[%s vs. %s]' % (filter_baseline, filter_contender) - json1 = gbench.report.filter_benchmark( - json1_orig, filter_baseline, replacement) - json2 = gbench.report.filter_benchmark( - json2_orig, filter_contender, replacement) - - # Diff and output - output_lines = gbench.report.generate_difference_report( - json1, json2, args.display_aggregates_only, - args.utest, args.utest_alpha) - print(description) - for ln in output_lines: - print(ln) - - -class TestParser(unittest.TestCase): - def setUp(self): - self.parser = create_parser() - testInputs = os.path.join( - os.path.dirname( - os.path.realpath(__file__)), - 'gbench', - 'Inputs') - self.testInput0 = os.path.join(testInputs, 'test1_run1.json') - self.testInput1 = os.path.join(testInputs, 'test1_run2.json') - - def test_benchmarks_basic(self): - parsed = self.parser.parse_args( - ['benchmarks', self.testInput0, self.testInput1]) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'benchmarks') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertFalse(parsed.benchmark_options) - - def test_benchmarks_basic_without_utest(self): - parsed = self.parser.parse_args( - ['--no-utest', 'benchmarks', self.testInput0, self.testInput1]) - self.assertFalse(parsed.display_aggregates_only) - self.assertFalse(parsed.utest) - self.assertEqual(parsed.utest_alpha, 0.05) - self.assertEqual(parsed.mode, 'benchmarks') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertFalse(parsed.benchmark_options) - - def test_benchmarks_basic_display_aggregates_only(self): - parsed = self.parser.parse_args( - ['-a', 'benchmarks', self.testInput0, self.testInput1]) - self.assertTrue(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'benchmarks') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertFalse(parsed.benchmark_options) - - def test_benchmarks_basic_with_utest_alpha(self): - parsed = self.parser.parse_args( - ['--alpha=0.314', 'benchmarks', self.testInput0, self.testInput1]) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.utest_alpha, 0.314) - self.assertEqual(parsed.mode, 'benchmarks') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertFalse(parsed.benchmark_options) - - def test_benchmarks_basic_without_utest_with_utest_alpha(self): - parsed = self.parser.parse_args( - ['--no-utest', '--alpha=0.314', 'benchmarks', self.testInput0, self.testInput1]) - self.assertFalse(parsed.display_aggregates_only) - self.assertFalse(parsed.utest) - self.assertEqual(parsed.utest_alpha, 0.314) - self.assertEqual(parsed.mode, 'benchmarks') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertFalse(parsed.benchmark_options) - - def test_benchmarks_with_remainder(self): - parsed = self.parser.parse_args( - ['benchmarks', self.testInput0, self.testInput1, 'd']) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'benchmarks') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertEqual(parsed.benchmark_options, ['d']) - - def test_benchmarks_with_remainder_after_doubleminus(self): - parsed = self.parser.parse_args( - ['benchmarks', self.testInput0, self.testInput1, '--', 'e']) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'benchmarks') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertEqual(parsed.benchmark_options, ['e']) - - def test_filters_basic(self): - parsed = self.parser.parse_args( - ['filters', self.testInput0, 'c', 'd']) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'filters') - self.assertEqual(parsed.test[0].name, self.testInput0) - self.assertEqual(parsed.filter_baseline[0], 'c') - self.assertEqual(parsed.filter_contender[0], 'd') - self.assertFalse(parsed.benchmark_options) - - def test_filters_with_remainder(self): - parsed = self.parser.parse_args( - ['filters', self.testInput0, 'c', 'd', 'e']) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'filters') - self.assertEqual(parsed.test[0].name, self.testInput0) - self.assertEqual(parsed.filter_baseline[0], 'c') - self.assertEqual(parsed.filter_contender[0], 'd') - self.assertEqual(parsed.benchmark_options, ['e']) - - def test_filters_with_remainder_after_doubleminus(self): - parsed = self.parser.parse_args( - ['filters', self.testInput0, 'c', 'd', '--', 'f']) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'filters') - self.assertEqual(parsed.test[0].name, self.testInput0) - self.assertEqual(parsed.filter_baseline[0], 'c') - self.assertEqual(parsed.filter_contender[0], 'd') - self.assertEqual(parsed.benchmark_options, ['f']) - - def test_benchmarksfiltered_basic(self): - parsed = self.parser.parse_args( - ['benchmarksfiltered', self.testInput0, 'c', self.testInput1, 'e']) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'benchmarksfiltered') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.filter_baseline[0], 'c') - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertEqual(parsed.filter_contender[0], 'e') - self.assertFalse(parsed.benchmark_options) - - def test_benchmarksfiltered_with_remainder(self): - parsed = self.parser.parse_args( - ['benchmarksfiltered', self.testInput0, 'c', self.testInput1, 'e', 'f']) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'benchmarksfiltered') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.filter_baseline[0], 'c') - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertEqual(parsed.filter_contender[0], 'e') - self.assertEqual(parsed.benchmark_options[0], 'f') - - def test_benchmarksfiltered_with_remainder_after_doubleminus(self): - parsed = self.parser.parse_args( - ['benchmarksfiltered', self.testInput0, 'c', self.testInput1, 'e', '--', 'g']) - self.assertFalse(parsed.display_aggregates_only) - self.assertTrue(parsed.utest) - self.assertEqual(parsed.mode, 'benchmarksfiltered') - self.assertEqual(parsed.test_baseline[0].name, self.testInput0) - self.assertEqual(parsed.filter_baseline[0], 'c') - self.assertEqual(parsed.test_contender[0].name, self.testInput1) - self.assertEqual(parsed.filter_contender[0], 'e') - self.assertEqual(parsed.benchmark_options[0], 'g') - - -if __name__ == '__main__': - # unittest.main() - main() - -# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 -# kate: tab-width: 4; replace-tabs on; indent-width 4; tab-indents: off; -# kate: indent-mode python; remove-trailing-spaces modified; diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test1_run1.json b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test1_run1.json deleted file mode 100644 index d7ec6a9c8f..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test1_run1.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "context": { - "date": "2016-08-02 17:44:46", - "num_cpus": 4, - "mhz_per_cpu": 4228, - "cpu_scaling_enabled": false, - "library_build_type": "release" - }, - "benchmarks": [ - { - "name": "BM_SameTimes", - "iterations": 1000, - "real_time": 10, - "cpu_time": 10, - "time_unit": "ns" - }, - { - "name": "BM_2xFaster", - "iterations": 1000, - "real_time": 50, - "cpu_time": 50, - "time_unit": "ns" - }, - { - "name": "BM_2xSlower", - "iterations": 1000, - "real_time": 50, - "cpu_time": 50, - "time_unit": "ns" - }, - { - "name": "BM_1PercentFaster", - "iterations": 1000, - "real_time": 100, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_1PercentSlower", - "iterations": 1000, - "real_time": 100, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_10PercentFaster", - "iterations": 1000, - "real_time": 100, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_10PercentSlower", - "iterations": 1000, - "real_time": 100, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_100xSlower", - "iterations": 1000, - "real_time": 100, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_100xFaster", - "iterations": 1000, - "real_time": 10000, - "cpu_time": 10000, - "time_unit": "ns" - }, - { - "name": "BM_10PercentCPUToTime", - "iterations": 1000, - "real_time": 100, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_ThirdFaster", - "iterations": 1000, - "real_time": 100, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_BadTimeUnit", - "iterations": 1000, - "real_time": 0.4, - "cpu_time": 0.5, - "time_unit": "s" - }, - { - "name": "BM_DifferentTimeUnit", - "iterations": 1, - "real_time": 1, - "cpu_time": 1, - "time_unit": "s" - } - ] -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test1_run2.json b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test1_run2.json deleted file mode 100644 index 59a5ffaca4..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test1_run2.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "context": { - "date": "2016-08-02 17:44:46", - "num_cpus": 4, - "mhz_per_cpu": 4228, - "cpu_scaling_enabled": false, - "library_build_type": "release" - }, - "benchmarks": [ - { - "name": "BM_SameTimes", - "iterations": 1000, - "real_time": 10, - "cpu_time": 10, - "time_unit": "ns" - }, - { - "name": "BM_2xFaster", - "iterations": 1000, - "real_time": 25, - "cpu_time": 25, - "time_unit": "ns" - }, - { - "name": "BM_2xSlower", - "iterations": 20833333, - "real_time": 100, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_1PercentFaster", - "iterations": 1000, - "real_time": 98.9999999, - "cpu_time": 98.9999999, - "time_unit": "ns" - }, - { - "name": "BM_1PercentSlower", - "iterations": 1000, - "real_time": 100.9999999, - "cpu_time": 100.9999999, - "time_unit": "ns" - }, - { - "name": "BM_10PercentFaster", - "iterations": 1000, - "real_time": 90, - "cpu_time": 90, - "time_unit": "ns" - }, - { - "name": "BM_10PercentSlower", - "iterations": 1000, - "real_time": 110, - "cpu_time": 110, - "time_unit": "ns" - }, - { - "name": "BM_100xSlower", - "iterations": 1000, - "real_time": 1.0000e+04, - "cpu_time": 1.0000e+04, - "time_unit": "ns" - }, - { - "name": "BM_100xFaster", - "iterations": 1000, - "real_time": 100, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_10PercentCPUToTime", - "iterations": 1000, - "real_time": 110, - "cpu_time": 90, - "time_unit": "ns" - }, - { - "name": "BM_ThirdFaster", - "iterations": 1000, - "real_time": 66.665, - "cpu_time": 66.664, - "time_unit": "ns" - }, - { - "name": "BM_BadTimeUnit", - "iterations": 1000, - "real_time": 0.04, - "cpu_time": 0.6, - "time_unit": "s" - }, - { - "name": "BM_DifferentTimeUnit", - "iterations": 1, - "real_time": 1, - "cpu_time": 1, - "time_unit": "ns" - } - ] -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test2_run.json b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test2_run.json deleted file mode 100644 index 15bc698030..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test2_run.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "context": { - "date": "2016-08-02 17:44:46", - "num_cpus": 4, - "mhz_per_cpu": 4228, - "cpu_scaling_enabled": false, - "library_build_type": "release" - }, - "benchmarks": [ - { - "name": "BM_Hi", - "iterations": 1234, - "real_time": 42, - "cpu_time": 24, - "time_unit": "ms" - }, - { - "name": "BM_Zero", - "iterations": 1000, - "real_time": 10, - "cpu_time": 10, - "time_unit": "ns" - }, - { - "name": "BM_Zero/4", - "iterations": 4000, - "real_time": 40, - "cpu_time": 40, - "time_unit": "ns" - }, - { - "name": "Prefix/BM_Zero", - "iterations": 2000, - "real_time": 20, - "cpu_time": 20, - "time_unit": "ns" - }, - { - "name": "Prefix/BM_Zero/3", - "iterations": 3000, - "real_time": 30, - "cpu_time": 30, - "time_unit": "ns" - }, - { - "name": "BM_One", - "iterations": 5000, - "real_time": 5, - "cpu_time": 5, - "time_unit": "ns" - }, - { - "name": "BM_One/4", - "iterations": 2000, - "real_time": 20, - "cpu_time": 20, - "time_unit": "ns" - }, - { - "name": "Prefix/BM_One", - "iterations": 1000, - "real_time": 10, - "cpu_time": 10, - "time_unit": "ns" - }, - { - "name": "Prefix/BM_One/3", - "iterations": 1500, - "real_time": 15, - "cpu_time": 15, - "time_unit": "ns" - }, - { - "name": "BM_Bye", - "iterations": 5321, - "real_time": 11, - "cpu_time": 63, - "time_unit": "ns" - } - ] -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test3_run0.json b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test3_run0.json deleted file mode 100644 index 49f8b06143..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test3_run0.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "context": { - "date": "2016-08-02 17:44:46", - "num_cpus": 4, - "mhz_per_cpu": 4228, - "cpu_scaling_enabled": false, - "library_build_type": "release" - }, - "benchmarks": [ - { - "name": "BM_One", - "run_type": "aggregate", - "iterations": 1000, - "real_time": 10, - "cpu_time": 100, - "time_unit": "ns" - }, - { - "name": "BM_Two", - "iterations": 1000, - "real_time": 9, - "cpu_time": 90, - "time_unit": "ns" - }, - { - "name": "BM_Two", - "iterations": 1000, - "real_time": 8, - "cpu_time": 86, - "time_unit": "ns" - }, - { - "name": "short", - "run_type": "aggregate", - "iterations": 1000, - "real_time": 8, - "cpu_time": 80, - "time_unit": "ns" - }, - { - "name": "short", - "run_type": "aggregate", - "iterations": 1000, - "real_time": 8, - "cpu_time": 77, - "time_unit": "ns" - }, - { - "name": "medium", - "run_type": "iteration", - "iterations": 1000, - "real_time": 8, - "cpu_time": 80, - "time_unit": "ns" - }, - { - "name": "medium", - "run_type": "iteration", - "iterations": 1000, - "real_time": 9, - "cpu_time": 82, - "time_unit": "ns" - } - ] -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test3_run1.json b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test3_run1.json deleted file mode 100644 index acc5ba17ae..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/Inputs/test3_run1.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "context": { - "date": "2016-08-02 17:44:46", - "num_cpus": 4, - "mhz_per_cpu": 4228, - "cpu_scaling_enabled": false, - "library_build_type": "release" - }, - "benchmarks": [ - { - "name": "BM_One", - "iterations": 1000, - "real_time": 9, - "cpu_time": 110, - "time_unit": "ns" - }, - { - "name": "BM_Two", - "run_type": "aggregate", - "iterations": 1000, - "real_time": 10, - "cpu_time": 89, - "time_unit": "ns" - }, - { - "name": "BM_Two", - "iterations": 1000, - "real_time": 7, - "cpu_time": 72, - "time_unit": "ns" - }, - { - "name": "short", - "run_type": "aggregate", - "iterations": 1000, - "real_time": 7, - "cpu_time": 75, - "time_unit": "ns" - }, - { - "name": "short", - "run_type": "aggregate", - "iterations": 762, - "real_time": 4.54, - "cpu_time": 66.6, - "time_unit": "ns" - }, - { - "name": "short", - "run_type": "iteration", - "iterations": 1000, - "real_time": 800, - "cpu_time": 1, - "time_unit": "ns" - }, - { - "name": "medium", - "run_type": "iteration", - "iterations": 1200, - "real_time": 5, - "cpu_time": 53, - "time_unit": "ns" - } - ] -} diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/__init__.py b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/__init__.py deleted file mode 100644 index fce1a1acfb..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/__init__.py +++ /dev/null @@ -1,8 +0,0 @@ -"""Google Benchmark tooling""" - -__author__ = 'Eric Fiselier' -__email__ = 'eric@efcs.ca' -__versioninfo__ = (0, 5, 0) -__version__ = '.'.join(str(v) for v in __versioninfo__) + 'dev' - -__all__ = [] diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/report.py b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/report.py deleted file mode 100644 index 5085b93194..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/report.py +++ /dev/null @@ -1,522 +0,0 @@ -import unittest -"""report.py - Utilities for reporting statistics about benchmark results -""" -import os -import re -import copy - -from scipy.stats import mannwhitneyu - - -class BenchmarkColor(object): - def __init__(self, name, code): - self.name = name - self.code = code - - def __repr__(self): - return '%s%r' % (self.__class__.__name__, - (self.name, self.code)) - - def __format__(self, format): - return self.code - - -# Benchmark Colors Enumeration -BC_NONE = BenchmarkColor('NONE', '') -BC_MAGENTA = BenchmarkColor('MAGENTA', '\033[95m') -BC_CYAN = BenchmarkColor('CYAN', '\033[96m') -BC_OKBLUE = BenchmarkColor('OKBLUE', '\033[94m') -BC_OKGREEN = BenchmarkColor('OKGREEN', '\033[32m') -BC_HEADER = BenchmarkColor('HEADER', '\033[92m') -BC_WARNING = BenchmarkColor('WARNING', '\033[93m') -BC_WHITE = BenchmarkColor('WHITE', '\033[97m') -BC_FAIL = BenchmarkColor('FAIL', '\033[91m') -BC_ENDC = BenchmarkColor('ENDC', '\033[0m') -BC_BOLD = BenchmarkColor('BOLD', '\033[1m') -BC_UNDERLINE = BenchmarkColor('UNDERLINE', '\033[4m') - -UTEST_MIN_REPETITIONS = 2 -UTEST_OPTIMAL_REPETITIONS = 9 # Lowest reasonable number, More is better. -UTEST_COL_NAME = "_pvalue" - - -def color_format(use_color, fmt_str, *args, **kwargs): - """ - Return the result of 'fmt_str.format(*args, **kwargs)' after transforming - 'args' and 'kwargs' according to the value of 'use_color'. If 'use_color' - is False then all color codes in 'args' and 'kwargs' are replaced with - the empty string. - """ - assert use_color is True or use_color is False - if not use_color: - args = [arg if not isinstance(arg, BenchmarkColor) else BC_NONE - for arg in args] - kwargs = {key: arg if not isinstance(arg, BenchmarkColor) else BC_NONE - for key, arg in kwargs.items()} - return fmt_str.format(*args, **kwargs) - - -def find_longest_name(benchmark_list): - """ - Return the length of the longest benchmark name in a given list of - benchmark JSON objects - """ - longest_name = 1 - for bc in benchmark_list: - if len(bc['name']) > longest_name: - longest_name = len(bc['name']) - return longest_name - - -def calculate_change(old_val, new_val): - """ - Return a float representing the decimal change between old_val and new_val. - """ - if old_val == 0 and new_val == 0: - return 0.0 - if old_val == 0: - return float(new_val - old_val) / (float(old_val + new_val) / 2) - return float(new_val - old_val) / abs(old_val) - - -def filter_benchmark(json_orig, family, replacement=""): - """ - Apply a filter to the json, and only leave the 'family' of benchmarks. - """ - regex = re.compile(family) - filtered = {} - filtered['benchmarks'] = [] - for be in json_orig['benchmarks']: - if not regex.search(be['name']): - continue - filteredbench = copy.deepcopy(be) # Do NOT modify the old name! - filteredbench['name'] = regex.sub(replacement, filteredbench['name']) - filtered['benchmarks'].append(filteredbench) - return filtered - - -def get_unique_benchmark_names(json): - """ - While *keeping* the order, give all the unique 'names' used for benchmarks. - """ - seen = set() - uniqued = [x['name'] for x in json['benchmarks'] - if x['name'] not in seen and - (seen.add(x['name']) or True)] - return uniqued - - -def intersect(list1, list2): - """ - Given two lists, get a new list consisting of the elements only contained - in *both of the input lists*, while preserving the ordering. - """ - return [x for x in list1 if x in list2] - - -def partition_benchmarks(json1, json2): - """ - While preserving the ordering, find benchmarks with the same names in - both of the inputs, and group them. - (i.e. partition/filter into groups with common name) - """ - json1_unique_names = get_unique_benchmark_names(json1) - json2_unique_names = get_unique_benchmark_names(json2) - names = intersect(json1_unique_names, json2_unique_names) - partitions = [] - for name in names: - # Pick the time unit from the first entry of the lhs benchmark. - time_unit = (x['time_unit'] - for x in json1['benchmarks'] if x['name'] == name).next() - # Filter by name and time unit. - lhs = [x for x in json1['benchmarks'] if x['name'] == name and - x['time_unit'] == time_unit] - rhs = [x for x in json2['benchmarks'] if x['name'] == name and - x['time_unit'] == time_unit] - partitions.append([lhs, rhs]) - return partitions - - -def extract_field(partition, field_name): - # The count of elements may be different. We want *all* of them. - lhs = [x[field_name] for x in partition[0]] - rhs = [x[field_name] for x in partition[1]] - return [lhs, rhs] - - -def print_utest(partition, utest_alpha, first_col_width, use_color=True): - timings_time = extract_field(partition, 'real_time') - timings_cpu = extract_field(partition, 'cpu_time') - - min_rep_cnt = min(len(timings_time[0]), - len(timings_time[1]), - len(timings_cpu[0]), - len(timings_cpu[1])) - - # Does *everything* has at least UTEST_MIN_REPETITIONS repetitions? - if min_rep_cnt < UTEST_MIN_REPETITIONS: - return [] - - def get_utest_color(pval): - return BC_FAIL if pval >= utest_alpha else BC_OKGREEN - - time_pvalue = mannwhitneyu( - timings_time[0], timings_time[1], alternative='two-sided').pvalue - cpu_pvalue = mannwhitneyu( - timings_cpu[0], timings_cpu[1], alternative='two-sided').pvalue - - dsc = "U Test, Repetitions: {} vs {}".format( - len(timings_cpu[0]), len(timings_cpu[1])) - dsc_color = BC_OKGREEN - - if min_rep_cnt < UTEST_OPTIMAL_REPETITIONS: - dsc_color = BC_WARNING - dsc += ". WARNING: Results unreliable! {}+ repetitions recommended.".format( - UTEST_OPTIMAL_REPETITIONS) - - special_str = "{}{:<{}s}{endc}{}{:16.4f}{endc}{}{:16.4f}{endc}{} {}" - - last_name = partition[0][0]['name'] - return [color_format(use_color, - special_str, - BC_HEADER, - "{}{}".format(last_name, UTEST_COL_NAME), - first_col_width, - get_utest_color(time_pvalue), time_pvalue, - get_utest_color(cpu_pvalue), cpu_pvalue, - dsc_color, dsc, - endc=BC_ENDC)] - - -def generate_difference_report( - json1, - json2, - display_aggregates_only=False, - utest=False, - utest_alpha=0.05, - use_color=True): - """ - Calculate and report the difference between each test of two benchmarks - runs specified as 'json1' and 'json2'. - """ - assert utest is True or utest is False - first_col_width = find_longest_name(json1['benchmarks']) - - def find_test(name): - for b in json2['benchmarks']: - if b['name'] == name: - return b - return None - - first_col_width = max( - first_col_width, - len('Benchmark')) - first_col_width += len(UTEST_COL_NAME) - first_line = "{:<{}s}Time CPU Time Old Time New CPU Old CPU New".format( - 'Benchmark', 12 + first_col_width) - output_strs = [first_line, '-' * len(first_line)] - - partitions = partition_benchmarks(json1, json2) - for partition in partitions: - # Careful, we may have different repetition count. - for i in range(min(len(partition[0]), len(partition[1]))): - bn = partition[0][i] - other_bench = partition[1][i] - - # *If* we were asked to only display aggregates, - # and if it is non-aggregate, then skip it. - if display_aggregates_only and 'run_type' in bn and 'run_type' in other_bench: - assert bn['run_type'] == other_bench['run_type'] - if bn['run_type'] != 'aggregate': - continue - - fmt_str = "{}{:<{}s}{endc}{}{:+16.4f}{endc}{}{:+16.4f}{endc}{:14.0f}{:14.0f}{endc}{:14.0f}{:14.0f}" - - def get_color(res): - if res > 0.05: - return BC_FAIL - elif res > -0.07: - return BC_WHITE - else: - return BC_CYAN - - tres = calculate_change(bn['real_time'], other_bench['real_time']) - cpures = calculate_change(bn['cpu_time'], other_bench['cpu_time']) - output_strs += [color_format(use_color, - fmt_str, - BC_HEADER, - bn['name'], - first_col_width, - get_color(tres), - tres, - get_color(cpures), - cpures, - bn['real_time'], - other_bench['real_time'], - bn['cpu_time'], - other_bench['cpu_time'], - endc=BC_ENDC)] - - # After processing the whole partition, if requested, do the U test. - if utest: - output_strs += print_utest(partition, - utest_alpha=utest_alpha, - first_col_width=first_col_width, - use_color=use_color) - - return output_strs - - -############################################################################### -# Unit tests - - -class TestGetUniqueBenchmarkNames(unittest.TestCase): - def load_results(self): - import json - testInputs = os.path.join( - os.path.dirname( - os.path.realpath(__file__)), - 'Inputs') - testOutput = os.path.join(testInputs, 'test3_run0.json') - with open(testOutput, 'r') as f: - json = json.load(f) - return json - - def test_basic(self): - expect_lines = [ - 'BM_One', - 'BM_Two', - 'short', # These two are not sorted - 'medium', # These two are not sorted - ] - json = self.load_results() - output_lines = get_unique_benchmark_names(json) - print("\n") - print("\n".join(output_lines)) - self.assertEqual(len(output_lines), len(expect_lines)) - for i in range(0, len(output_lines)): - self.assertEqual(expect_lines[i], output_lines[i]) - - -class TestReportDifference(unittest.TestCase): - def load_results(self): - import json - testInputs = os.path.join( - os.path.dirname( - os.path.realpath(__file__)), - 'Inputs') - testOutput1 = os.path.join(testInputs, 'test1_run1.json') - testOutput2 = os.path.join(testInputs, 'test1_run2.json') - with open(testOutput1, 'r') as f: - json1 = json.load(f) - with open(testOutput2, 'r') as f: - json2 = json.load(f) - return json1, json2 - - def test_basic(self): - expect_lines = [ - ['BM_SameTimes', '+0.0000', '+0.0000', '10', '10', '10', '10'], - ['BM_2xFaster', '-0.5000', '-0.5000', '50', '25', '50', '25'], - ['BM_2xSlower', '+1.0000', '+1.0000', '50', '100', '50', '100'], - ['BM_1PercentFaster', '-0.0100', '-0.0100', '100', '99', '100', '99'], - ['BM_1PercentSlower', '+0.0100', '+0.0100', '100', '101', '100', '101'], - ['BM_10PercentFaster', '-0.1000', '-0.1000', '100', '90', '100', '90'], - ['BM_10PercentSlower', '+0.1000', '+0.1000', '100', '110', '100', '110'], - ['BM_100xSlower', '+99.0000', '+99.0000', - '100', '10000', '100', '10000'], - ['BM_100xFaster', '-0.9900', '-0.9900', - '10000', '100', '10000', '100'], - ['BM_10PercentCPUToTime', '+0.1000', - '-0.1000', '100', '110', '100', '90'], - ['BM_ThirdFaster', '-0.3333', '-0.3334', '100', '67', '100', '67'], - ['BM_BadTimeUnit', '-0.9000', '+0.2000', '0', '0', '0', '1'], - ] - json1, json2 = self.load_results() - output_lines_with_header = generate_difference_report( - json1, json2, use_color=False) - output_lines = output_lines_with_header[2:] - print("\n") - print("\n".join(output_lines_with_header)) - self.assertEqual(len(output_lines), len(expect_lines)) - for i in range(0, len(output_lines)): - parts = [x for x in output_lines[i].split(' ') if x] - self.assertEqual(len(parts), 7) - self.assertEqual(expect_lines[i], parts) - - -class TestReportDifferenceBetweenFamilies(unittest.TestCase): - def load_result(self): - import json - testInputs = os.path.join( - os.path.dirname( - os.path.realpath(__file__)), - 'Inputs') - testOutput = os.path.join(testInputs, 'test2_run.json') - with open(testOutput, 'r') as f: - json = json.load(f) - return json - - def test_basic(self): - expect_lines = [ - ['.', '-0.5000', '-0.5000', '10', '5', '10', '5'], - ['./4', '-0.5000', '-0.5000', '40', '20', '40', '20'], - ['Prefix/.', '-0.5000', '-0.5000', '20', '10', '20', '10'], - ['Prefix/./3', '-0.5000', '-0.5000', '30', '15', '30', '15'], - ] - json = self.load_result() - json1 = filter_benchmark(json, "BM_Z.ro", ".") - json2 = filter_benchmark(json, "BM_O.e", ".") - output_lines_with_header = generate_difference_report( - json1, json2, use_color=False) - output_lines = output_lines_with_header[2:] - print("\n") - print("\n".join(output_lines_with_header)) - self.assertEqual(len(output_lines), len(expect_lines)) - for i in range(0, len(output_lines)): - parts = [x for x in output_lines[i].split(' ') if x] - self.assertEqual(len(parts), 7) - self.assertEqual(expect_lines[i], parts) - - -class TestReportDifferenceWithUTest(unittest.TestCase): - def load_results(self): - import json - testInputs = os.path.join( - os.path.dirname( - os.path.realpath(__file__)), - 'Inputs') - testOutput1 = os.path.join(testInputs, 'test3_run0.json') - testOutput2 = os.path.join(testInputs, 'test3_run1.json') - with open(testOutput1, 'r') as f: - json1 = json.load(f) - with open(testOutput2, 'r') as f: - json2 = json.load(f) - return json1, json2 - - def test_utest(self): - expect_lines = [] - expect_lines = [ - ['BM_One', '-0.1000', '+0.1000', '10', '9', '100', '110'], - ['BM_Two', '+0.1111', '-0.0111', '9', '10', '90', '89'], - ['BM_Two', '-0.1250', '-0.1628', '8', '7', '86', '72'], - ['BM_Two_pvalue', - '0.6985', - '0.6985', - 'U', - 'Test,', - 'Repetitions:', - '2', - 'vs', - '2.', - 'WARNING:', - 'Results', - 'unreliable!', - '9+', - 'repetitions', - 'recommended.'], - ['short', '-0.1250', '-0.0625', '8', '7', '80', '75'], - ['short', '-0.4325', '-0.1351', '8', '5', '77', '67'], - ['short_pvalue', - '0.7671', - '0.1489', - 'U', - 'Test,', - 'Repetitions:', - '2', - 'vs', - '3.', - 'WARNING:', - 'Results', - 'unreliable!', - '9+', - 'repetitions', - 'recommended.'], - ['medium', '-0.3750', '-0.3375', '8', '5', '80', '53'], - ] - json1, json2 = self.load_results() - output_lines_with_header = generate_difference_report( - json1, json2, utest=True, utest_alpha=0.05, use_color=False) - output_lines = output_lines_with_header[2:] - print("\n") - print("\n".join(output_lines_with_header)) - self.assertEqual(len(output_lines), len(expect_lines)) - for i in range(0, len(output_lines)): - parts = [x for x in output_lines[i].split(' ') if x] - self.assertEqual(expect_lines[i], parts) - - -class TestReportDifferenceWithUTestWhileDisplayingAggregatesOnly( - unittest.TestCase): - def load_results(self): - import json - testInputs = os.path.join( - os.path.dirname( - os.path.realpath(__file__)), - 'Inputs') - testOutput1 = os.path.join(testInputs, 'test3_run0.json') - testOutput2 = os.path.join(testInputs, 'test3_run1.json') - with open(testOutput1, 'r') as f: - json1 = json.load(f) - with open(testOutput2, 'r') as f: - json2 = json.load(f) - return json1, json2 - - def test_utest(self): - expect_lines = [] - expect_lines = [ - ['BM_One', '-0.1000', '+0.1000', '10', '9', '100', '110'], - ['BM_Two', '+0.1111', '-0.0111', '9', '10', '90', '89'], - ['BM_Two', '-0.1250', '-0.1628', '8', '7', '86', '72'], - ['BM_Two_pvalue', - '0.6985', - '0.6985', - 'U', - 'Test,', - 'Repetitions:', - '2', - 'vs', - '2.', - 'WARNING:', - 'Results', - 'unreliable!', - '9+', - 'repetitions', - 'recommended.'], - ['short', '-0.1250', '-0.0625', '8', '7', '80', '75'], - ['short', '-0.4325', '-0.1351', '8', '5', '77', '67'], - ['short_pvalue', - '0.7671', - '0.1489', - 'U', - 'Test,', - 'Repetitions:', - '2', - 'vs', - '3.', - 'WARNING:', - 'Results', - 'unreliable!', - '9+', - 'repetitions', - 'recommended.'], - ] - json1, json2 = self.load_results() - output_lines_with_header = generate_difference_report( - json1, json2, display_aggregates_only=True, - utest=True, utest_alpha=0.05, use_color=False) - output_lines = output_lines_with_header[2:] - print("\n") - print("\n".join(output_lines_with_header)) - self.assertEqual(len(output_lines), len(expect_lines)) - for i in range(0, len(output_lines)): - parts = [x for x in output_lines[i].split(' ') if x] - self.assertEqual(expect_lines[i], parts) - - -if __name__ == '__main__': - unittest.main() - -# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 -# kate: tab-width: 4; replace-tabs on; indent-width 4; tab-indents: off; -# kate: indent-mode python; remove-trailing-spaces modified; diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/util.py b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/util.py deleted file mode 100644 index 1f8e8e2c47..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/gbench/util.py +++ /dev/null @@ -1,164 +0,0 @@ -"""util.py - General utilities for running, loading, and processing benchmarks -""" -import json -import os -import tempfile -import subprocess -import sys - -# Input file type enumeration -IT_Invalid = 0 -IT_JSON = 1 -IT_Executable = 2 - -_num_magic_bytes = 2 if sys.platform.startswith('win') else 4 - - -def is_executable_file(filename): - """ - Return 'True' if 'filename' names a valid file which is likely - an executable. A file is considered an executable if it starts with the - magic bytes for a EXE, Mach O, or ELF file. - """ - if not os.path.isfile(filename): - return False - with open(filename, mode='rb') as f: - magic_bytes = f.read(_num_magic_bytes) - if sys.platform == 'darwin': - return magic_bytes in [ - b'\xfe\xed\xfa\xce', # MH_MAGIC - b'\xce\xfa\xed\xfe', # MH_CIGAM - b'\xfe\xed\xfa\xcf', # MH_MAGIC_64 - b'\xcf\xfa\xed\xfe', # MH_CIGAM_64 - b'\xca\xfe\xba\xbe', # FAT_MAGIC - b'\xbe\xba\xfe\xca' # FAT_CIGAM - ] - elif sys.platform.startswith('win'): - return magic_bytes == b'MZ' - else: - return magic_bytes == b'\x7FELF' - - -def is_json_file(filename): - """ - Returns 'True' if 'filename' names a valid JSON output file. - 'False' otherwise. - """ - try: - with open(filename, 'r') as f: - json.load(f) - return True - except BaseException: - pass - return False - - -def classify_input_file(filename): - """ - Return a tuple (type, msg) where 'type' specifies the classified type - of 'filename'. If 'type' is 'IT_Invalid' then 'msg' is a human readable - string represeting the error. - """ - ftype = IT_Invalid - err_msg = None - if not os.path.exists(filename): - err_msg = "'%s' does not exist" % filename - elif not os.path.isfile(filename): - err_msg = "'%s' does not name a file" % filename - elif is_executable_file(filename): - ftype = IT_Executable - elif is_json_file(filename): - ftype = IT_JSON - else: - err_msg = "'%s' does not name a valid benchmark executable or JSON file" % filename - return ftype, err_msg - - -def check_input_file(filename): - """ - Classify the file named by 'filename' and return the classification. - If the file is classified as 'IT_Invalid' print an error message and exit - the program. - """ - ftype, msg = classify_input_file(filename) - if ftype == IT_Invalid: - print("Invalid input file: %s" % msg) - sys.exit(1) - return ftype - - -def find_benchmark_flag(prefix, benchmark_flags): - """ - Search the specified list of flags for a flag matching `` and - if it is found return the arg it specifies. If specified more than once the - last value is returned. If the flag is not found None is returned. - """ - assert prefix.startswith('--') and prefix.endswith('=') - result = None - for f in benchmark_flags: - if f.startswith(prefix): - result = f[len(prefix):] - return result - - -def remove_benchmark_flags(prefix, benchmark_flags): - """ - Return a new list containing the specified benchmark_flags except those - with the specified prefix. - """ - assert prefix.startswith('--') and prefix.endswith('=') - return [f for f in benchmark_flags if not f.startswith(prefix)] - - -def load_benchmark_results(fname): - """ - Read benchmark output from a file and return the JSON object. - REQUIRES: 'fname' names a file containing JSON benchmark output. - """ - with open(fname, 'r') as f: - return json.load(f) - - -def run_benchmark(exe_name, benchmark_flags): - """ - Run a benchmark specified by 'exe_name' with the specified - 'benchmark_flags'. The benchmark is run directly as a subprocess to preserve - real time console output. - RETURNS: A JSON object representing the benchmark output - """ - output_name = find_benchmark_flag('--benchmark_out=', - benchmark_flags) - is_temp_output = False - if output_name is None: - is_temp_output = True - thandle, output_name = tempfile.mkstemp() - os.close(thandle) - benchmark_flags = list(benchmark_flags) + \ - ['--benchmark_out=%s' % output_name] - - cmd = [exe_name] + benchmark_flags - print("RUNNING: %s" % ' '.join(cmd)) - exitCode = subprocess.call(cmd) - if exitCode != 0: - print('TEST FAILED...') - sys.exit(exitCode) - json_res = load_benchmark_results(output_name) - if is_temp_output: - os.unlink(output_name) - return json_res - - -def run_or_load_benchmark(filename, benchmark_flags): - """ - Get the results for a specified benchmark. If 'filename' specifies - an executable benchmark then the results are generated by running the - benchmark. Otherwise 'filename' must name a valid JSON output file, - which is loaded and the result returned. - """ - ftype = check_input_file(filename) - if ftype == IT_JSON: - return load_benchmark_results(filename) - elif ftype == IT_Executable: - return run_benchmark(filename, benchmark_flags) - else: - assert False # This branch is unreachable diff --git a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/strip_asm.py b/libcudacxx/.upstream-tests/utils/google-benchmark/tools/strip_asm.py deleted file mode 100755 index 9030550b43..0000000000 --- a/libcudacxx/.upstream-tests/utils/google-benchmark/tools/strip_asm.py +++ /dev/null @@ -1,151 +0,0 @@ -#!/usr/bin/env python - -""" -strip_asm.py - Cleanup ASM output for the specified file -""" - -from argparse import ArgumentParser -import sys -import os -import re - -def find_used_labels(asm): - found = set() - label_re = re.compile("\s*j[a-z]+\s+\.L([a-zA-Z0-9][a-zA-Z0-9_]*)") - for l in asm.splitlines(): - m = label_re.match(l) - if m: - found.add('.L%s' % m.group(1)) - return found - - -def normalize_labels(asm): - decls = set() - label_decl = re.compile("^[.]{0,1}L([a-zA-Z0-9][a-zA-Z0-9_]*)(?=:)") - for l in asm.splitlines(): - m = label_decl.match(l) - if m: - decls.add(m.group(0)) - if len(decls) == 0: - return asm - needs_dot = next(iter(decls))[0] != '.' - if not needs_dot: - return asm - for ld in decls: - asm = re.sub("(^|\s+)" + ld + "(?=:|\s)", '\\1.' + ld, asm) - return asm - - -def transform_labels(asm): - asm = normalize_labels(asm) - used_decls = find_used_labels(asm) - new_asm = '' - label_decl = re.compile("^\.L([a-zA-Z0-9][a-zA-Z0-9_]*)(?=:)") - for l in asm.splitlines(): - m = label_decl.match(l) - if not m or m.group(0) in used_decls: - new_asm += l - new_asm += '\n' - return new_asm - - -def is_identifier(tk): - if len(tk) == 0: - return False - first = tk[0] - if not first.isalpha() and first != '_': - return False - for i in range(1, len(tk)): - c = tk[i] - if not c.isalnum() and c != '_': - return False - return True - -def process_identifiers(l): - """ - process_identifiers - process all identifiers and modify them to have - consistent names across all platforms; specifically across ELF and MachO. - For example, MachO inserts an additional understore at the beginning of - names. This function removes that. - """ - parts = re.split(r'([a-zA-Z0-9_]+)', l) - new_line = '' - for tk in parts: - if is_identifier(tk): - if tk.startswith('__Z'): - tk = tk[1:] - elif tk.startswith('_') and len(tk) > 1 and \ - tk[1].isalpha() and tk[1] != 'Z': - tk = tk[1:] - new_line += tk - return new_line - - -def process_asm(asm): - """ - Strip the ASM of unwanted directives and lines - """ - new_contents = '' - asm = transform_labels(asm) - - # TODO: Add more things we want to remove - discard_regexes = [ - re.compile("\s+\..*$"), # directive - re.compile("\s*#(NO_APP|APP)$"), #inline ASM - re.compile("\s*#.*$"), # comment line - re.compile("\s*\.globa?l\s*([.a-zA-Z_][a-zA-Z0-9$_.]*)"), #global directive - re.compile("\s*\.(string|asciz|ascii|[1248]?byte|short|word|long|quad|value|zero)"), - ] - keep_regexes = [ - - ] - fn_label_def = re.compile("^[a-zA-Z_][a-zA-Z0-9_.]*:") - for l in asm.splitlines(): - # Remove Mach-O attribute - l = l.replace('@GOTPCREL', '') - add_line = True - for reg in discard_regexes: - if reg.match(l) is not None: - add_line = False - break - for reg in keep_regexes: - if reg.match(l) is not None: - add_line = True - break - if add_line: - if fn_label_def.match(l) and len(new_contents) != 0: - new_contents += '\n' - l = process_identifiers(l) - new_contents += l - new_contents += '\n' - return new_contents - -def main(): - parser = ArgumentParser( - description='generate a stripped assembly file') - parser.add_argument( - 'input', metavar='input', type=str, nargs=1, - help='An input assembly file') - parser.add_argument( - 'out', metavar='output', type=str, nargs=1, - help='The output file') - args, unknown_args = parser.parse_known_args() - input = args.input[0] - output = args.out[0] - if not os.path.isfile(input): - print(("ERROR: input file '%s' does not exist") % input) - sys.exit(1) - contents = None - with open(input, 'r') as f: - contents = f.read() - new_contents = process_asm(contents) - with open(output, 'w') as f: - f.write(new_contents) - - -if __name__ == '__main__': - main() - -# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 -# kate: tab-width: 4; replace-tabs on; indent-width 4; tab-indents: off; -# kate: indent-mode python; remove-trailing-spaces modified; diff --git a/libcudacxx/.upstream-tests/utils/merge_archives.py b/libcudacxx/.upstream-tests/utils/merge_archives.py deleted file mode 100755 index 4c31854d2b..0000000000 --- a/libcudacxx/.upstream-tests/utils/merge_archives.py +++ /dev/null @@ -1,155 +0,0 @@ -#!/usr/bin/env python -#===----------------------------------------------------------------------===## -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===----------------------------------------------------------------------===## - -from argparse import ArgumentParser -from ctypes.util import find_library -import distutils.spawn -import glob -import tempfile -import os -import shutil -import subprocess -import signal -import sys - -temp_directory_root = None -def exit_with_cleanups(status): - if temp_directory_root is not None: - shutil.rmtree(temp_directory_root) - sys.exit(status) - -def print_and_exit(msg): - sys.stderr.write(msg + '\n') - exit_with_cleanups(1) - -def find_and_diagnose_missing(lib, search_paths): - if os.path.exists(lib): - return os.path.abspath(lib) - if not lib.startswith('lib') or not lib.endswith('.a'): - print_and_exit(("input file '%s' not not name a static library. " - "It should start with 'lib' and end with '.a") % lib) - for sp in search_paths: - assert type(sp) is list and len(sp) == 1 - path = os.path.join(sp[0], lib) - if os.path.exists(path): - return os.path.abspath(path) - print_and_exit("input '%s' does not exist" % lib) - - -def execute_command(cmd, cwd=None): - """ - Execute a command, capture and return its output. - """ - kwargs = { - 'stdin': subprocess.PIPE, - 'stdout': subprocess.PIPE, - 'stderr': subprocess.PIPE, - 'cwd': cwd, - 'universal_newlines': True - } - p = subprocess.Popen(cmd, **kwargs) - out, err = p.communicate() - exitCode = p.wait() - if exitCode == -signal.SIGINT: - raise KeyboardInterrupt - return out, err, exitCode - - -def execute_command_verbose(cmd, cwd=None, verbose=False): - """ - Execute a command and print its output on failure. - """ - out, err, exitCode = execute_command(cmd, cwd=cwd) - if exitCode != 0 or verbose: - report = "Command: %s\n" % ' '.join(["'%s'" % a for a in cmd]) - if exitCode != 0: - report += "Exit Code: %d\n" % exitCode - if out: - report += "Standard Output:\n--\n%s--" % out - if err: - report += "Standard Error:\n--\n%s--" % err - if exitCode != 0: - report += "\n\nFailed!" - sys.stderr.write('%s\n' % report) - if exitCode != 0: - exit_with_cleanups(exitCode) - return out - -def main(): - parser = ArgumentParser( - description="Merge multiple archives into a single library") - parser.add_argument( - '-v', '--verbose', dest='verbose', action='store_true', default=False) - parser.add_argument( - '-o', '--output', dest='output', required=True, - help='The output file. stdout is used if not given', - type=str, action='store') - parser.add_argument( - '-L', dest='search_paths', - help='Paths to search for the libraries along', action='append', - nargs=1) - parser.add_argument( - '--ar', dest='ar_exe', required=False, - help='The ar executable to use, finds \'ar\' in the path if not given', - type=str, action='store') - parser.add_argument( - '--use-libtool', dest='use_libtool', action='store_true', default=False) - parser.add_argument( - '--libtool', dest='libtool_exe', required=False, - help='The libtool executable to use, finds \'libtool\' in the path if not given', - type=str, action='store') - parser.add_argument( - 'archives', metavar='archives', nargs='+', - help='The archives to merge') - - args = parser.parse_args() - - ar_exe = args.ar_exe - if not ar_exe: - ar_exe = distutils.spawn.find_executable('ar') - if not ar_exe: - print_and_exit("failed to find 'ar' executable") - - if args.use_libtool: - libtool_exe = args.libtool_exe - if not libtool_exe: - libtool_exe = distutils.spawn.find_executable('libtool') - if not libtool_exe: - print_and_exit("failed to find 'libtool' executable") - - if len(args.archives) < 2: - print_and_exit('fewer than 2 inputs provided') - archives = [find_and_diagnose_missing(ar, args.search_paths) - for ar in args.archives] - print ('Merging archives: %s' % archives) - if not os.path.exists(os.path.dirname(args.output)): - print_and_exit("output path doesn't exist: '%s'" % args.output) - - global temp_directory_root - temp_directory_root = tempfile.mkdtemp('.libcxx.merge.archives') - - files = [] - for arc in archives: - execute_command_verbose([ar_exe, 'x', arc], - cwd=temp_directory_root, verbose=args.verbose) - out = execute_command_verbose([ar_exe, 't', arc]) - files.extend(out.splitlines()) - - if args.use_libtool: - files = [f for f in files if not f.startswith('__.SYMDEF')] - execute_command_verbose([libtool_exe, '-static', '-o', args.output] + files, - cwd=temp_directory_root, verbose=args.verbose) - else: - execute_command_verbose([ar_exe, 'rcs', args.output] + files, - cwd=temp_directory_root, verbose=args.verbose) - - -if __name__ == '__main__': - main() - exit_with_cleanups(0) diff --git a/libcudacxx/.upstream-tests/utils/not.py b/libcudacxx/.upstream-tests/utils/not.py deleted file mode 100644 index 2efc8e3cca..0000000000 --- a/libcudacxx/.upstream-tests/utils/not.py +++ /dev/null @@ -1,51 +0,0 @@ -#===----------------------------------------------------------------------===## -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===----------------------------------------------------------------------===## - -"""not.py is a utility for inverting the return code of commands. -It acts similar to llvm/utils/not. -ex: python /path/to/not.py ' echo hello - echo $? // (prints 1) -""" - -import subprocess -import sys - -def which_cannot_find_program(prog): - # Allow for import errors on distutils.spawn - try: - import distutils.spawn - prog = distutils.spawn.find_executable(prog[0]) - if prog is None: - sys.stderr.write('Failed to find program %s' % prog[0]) - return True - return False - except: - return False - -def main(): - argv = list(sys.argv) - del argv[0] - if len(argv) > 0 and argv[0] == '--crash': - del argv[0] - expectCrash = True - else: - expectCrash = False - if len(argv) == 0: - return 1 - if which_cannot_find_program(argv[0]): - return 1 - rc = subprocess.call(argv) - if rc < 0: - return 0 if expectCrash else 1 - if expectCrash: - return 1 - return rc == 0 - - -if __name__ == '__main__': - exit(main()) diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/attach_cuda_driver_to_docker_image.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/attach_cuda_driver_to_docker_image.bash deleted file mode 100755 index 888ae18d48..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/attach_cuda_driver_to_docker_image.bash +++ /dev/null @@ -1,44 +0,0 @@ -#! /bin/bash - -set -e - -SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) -source ${SCRIPT_PATH}/configuration.bash - -TMP_PATH=$(mktemp -d --suffix=-${FINAL_NAME}) -NVIDIAMODPROBE=$(which nvidia-modprobe) -LIBCUDA=$(ldconfig -p | grep libcuda.so | tr ' ' '\n' | grep / | head -n 1 | tr '\n' ' ' | sed 's/ *$//') -LIBNVIDIAPTXJITCOMPILER=$(ldconfig -p | grep libnvidia-ptxjitcompiler.so | tr ' ' '\n' | grep / | head -n 1 | tr '\n' ' ' | sed 's/ *$//') - -echo "CUDA driver utilities found:" - -for utility in ${NVIDIAMODPROBE} -do - echo " ${utility}" -done - -echo "CUDA driver libraries found:" - -for library in ${LIBCUDA} ${LIBNVIDIAPTXJITCOMPILER} -do - echo " ${library}" -done - -# Ensure nvidia-uvm is loaded. -${NVIDIAMODPROBE} -u - -cp ${NVIDIAMODPROBE} ${LIBCUDA} ${LIBNVIDIAPTXJITCOMPILER} ${TMP_PATH} -if [ "${?}" != "0" ]; then exit 1; fi - -chmod -R 755 ${TMP_PATH} -if [ "${?}" != "0" ]; then exit 1; fi - -docker -D build -t ${FINAL_IMAGE} -f ${FINAL_DOCKERFILE} ${TMP_PATH} 2>&1 \ - | while read l; do \ - echo "${LIBCUDACXX_DOCKER_OUTPUT_PREFIX}$(date --rfc-3339=seconds)| $l"; \ - done -if [ "${PIPESTATUS[0]}" != "0" ]; then exit 1; fi - -rm ${TMP_PATH}/* -rmdir ${TMP_PATH} - diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/build_and_run_docker_image.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/build_and_run_docker_image.bash deleted file mode 100755 index ce51523be3..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/build_and_run_docker_image.bash +++ /dev/null @@ -1,16 +0,0 @@ -#! /bin/bash - -set -e - -SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) -source ${SCRIPT_PATH}/configuration.bash - -LIBCUDACXX_SKIP_BASE_TESTS_BUILD=1 ${SCRIPT_PATH}/build_base_docker_image.bash - -${SCRIPT_PATH}/attach_cuda_driver_to_docker_image.bash -if [ "${?}" != "0" ]; then exit 1; fi - -${SCRIPT_PATH}/run_docker_image.bash ${@} -if [ "${?}" != "0" ]; then exit 1; fi - - diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/build_base_docker_image.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/build_base_docker_image.bash deleted file mode 100755 index 8601a0d881..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/build_base_docker_image.bash +++ /dev/null @@ -1,45 +0,0 @@ -#! /bin/bash - -set -e - -SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) -source ${SCRIPT_PATH}/configuration.bash - -# Arguments are a list of SM architectures to target; if there are no arguments, -# all known SM architectures are targeted. - -# Pull the OS image from Docker Hub; try a few times in case our connection is -# slow. -docker pull ${OS_IMAGE} \ -|| docker pull ${OS_IMAGE} \ -|| docker pull ${OS_IMAGE} \ -|| docker pull ${OS_IMAGE} - -# Copy the .dockerignore file from //sw/gpgpu/libcudacxx to //sw/gpgpu. -cp ${LIBCUDACXX_PATH}/docker/.dockerignore ${LIBCUDACXX_PATH}/.. - -LIBCUDACXX_COMPUTE_ARCHS="${@}" docker -D build \ - --build-arg LIBCUDACXX_SKIP_BASE_TESTS_BUILD \ - --build-arg LIBCUDACXX_COMPUTE_ARCHS \ - --build-arg COMPILER_CXX_DIALECT=$COMPILER_CXX_DIALECT \ - -t ${BASE_IMAGE} \ - -f ${BASE_DOCKERFILE} \ - ${LIBCUDACXX_PATH}/.. 2>&1 \ - | while read l; do \ - echo "${LIBCUDACXX_DOCKER_OUTPUT_PREFIX}$(date --rfc-3339=seconds)| $l"; \ - done -if [ "${PIPESTATUS[0]}" != "0" ]; then exit 1; fi - -# Create a temporary container so we can extract the log files. -TMP_CONTAINER=$(docker create ${BASE_IMAGE}) - -docker cp ${TMP_CONTAINER}:/sw/gpgpu/libcudacxx/build/logs.tar . - -tar -xf logs.tar -rm logs.tar - -docker container rm ${TMP_CONTAINER} > /dev/null - -# Remove the .dockerignore from //sw/gpgpu. -rm -f ${LIBCUDACXX_PATH}/../.dockerignore - diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/clear_docker_containers_and_images.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/clear_docker_containers_and_images.bash deleted file mode 100755 index 5ffa47343e..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/clear_docker_containers_and_images.bash +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/bash - -docker container rm $(docker container ls -a | awk '{ print $1 }' | grep -v CONTAINER) > /dev/null 2>&1 -docker image rm $(docker image ls -a | awk '{ print $3 }' | grep -v IMAGE) > /dev/null 2>&1 - -exit 0 - diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/configuration.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/configuration.bash deleted file mode 100644 index 419c6836bf..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/configuration.bash +++ /dev/null @@ -1,57 +0,0 @@ -#! /bin/bash - -set -e - -SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) -source ${SCRIPT_PATH}/variant_configuration.bash - -LIBCUDACXX_PATH=$(realpath ${SCRIPT_PATH}/../../../../../../..) - -HOST_OS=${HOST_OS_KIND}_${HOST_OS_VERSION} - -TARGET_OS=${TARGET_OS_KIND}_${TARGET_OS_VERSION} - -COMPILER=${COMPILER_KIND}_${COMPILER_VERSION}_cxx_${COMPILER_CXX_DIALECT} - -VARIANT_PATH=${LIBCUDACXX_PATH}/docker/host_${HOST_ARCH}/${HOST_OS}/target_${TARGET_ARCH}/${TARGET_OS}/${COMPILER_KIND}_${COMPILER_VERSION}/cxx_${COMPILER_CXX_DIALECT} - -OS_IMAGE=${TARGET_OS_KIND}:${TARGET_OS_VERSION} - -BASE_NAME=libcudacxx_base__host_${HOST_ARCH}_${HOST_OS}__target_${TARGET_ARCH}_${TARGET_OS}__${COMPILER} -BASE_IMAGE=libcudacxx_base:host_${HOST_ARCH}_${HOST_OS}__target_${TARGET_ARCH}_${TARGET_OS}__${COMPILER} -BASE_DOCKERFILE=${VARIANT_PATH}/base.Dockerfile - -FINAL_NAME=libcudacxx_host__${HOST_ARCH}_${HOST_OS}__target_${TARGET_ARCH}_${TARGET_OS}__${COMPILER} -FINAL_IMAGE=libcudacxx:host_${HOST_ARCH}_${HOST_OS}__target_${TARGET_ARCH}_${TARGET_OS}__${COMPILER} -FINAL_DOCKERFILE=${VARIANT_PATH}/final.Dockerfile - -echo "SCRIPT_PATH=${SCRIPT_PATH}" -echo "LIBCUDACXX_PATH=${LIBCUDACXX_PATH}" -echo "VARIANT_PATH=${VARIANT_PATH}" -echo -echo "HOST_ARCH=${HOST_ARCH}" -echo "HOST_OS_KIND=${HOST_OS_KIND}" -echo "HOST_OS_VERSION=${HOST_OS_VERSION}" -echo "HOST_OS=${HOST_OS}" -echo -echo "TARGET_ARCH=${TARGET_ARCH}" -echo "TARGET_OS_KIND=${TARGET_OS_KIND}" -echo "TARGET_OS_VERSION=${TARGET_OS_VERSION}" -echo "TARGET_OS=${TARGET_OS}" -echo -echo "COMPILER_KIND=${COMPILER_KIND}" -echo "COMPILER_VERSION=${COMPILER_VERSION}" -echo "COMPILER_CXX_DIALECT=${COMPILER_CXX_DIALECT}" -echo "COMPILER=${COMPILER}" -echo -echo "OS_IMAGE=${OS_IMAGE}" -echo -echo "BASE_NAME=${BASE_NAME}" -echo "BASE_IMAGE=${BASE_IMAGE}" -echo "BASE_DOCKERFILE=${BASE_DOCKERFILE}" -echo -echo "FINAL_NAME=${FINAL_NAME}" -echo "FINAL_IMAGE=${FINAL_IMAGE}" -echo "FINAL_DOCKERFILE=${FINAL_DOCKERFILE}" -echo - diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/export_base_docker_image.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/export_base_docker_image.bash deleted file mode 100755 index be615b8a4b..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/export_base_docker_image.bash +++ /dev/null @@ -1,24 +0,0 @@ -#! /bin/bash - -set -e - -SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) -source ${SCRIPT_PATH}/configuration.bash - -${SCRIPT_PATH}/clear_docker_containers_and_images.bash - -# Arguments are a list of SM architectures to target; if there are no arguments, -# all known SM architectures are targeted. - -LIBCUDACXX_COMPUTE_ARCHS="${@}" ${SCRIPT_PATH}/build_base_docker_image.bash -if [ "${?}" != "0" ]; then exit 1; fi - -docker save --output ${BASE_NAME}.tar ${BASE_IMAGE} -if [ "${?}" != "0" ]; then exit 1; fi - -bzip2 --force ${BASE_NAME}.tar -if [ "${?}" != "0" ]; then exit 1; fi - -docker image rm ${BASE_IMAGE} -docker image rm ${HOST_OS_KIND}:${HOST_OS_VERSION} - diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/import_base_docker_image_and_attach_cuda_driver.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/import_base_docker_image_and_attach_cuda_driver.bash deleted file mode 100755 index 9389b4e741..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/import_base_docker_image_and_attach_cuda_driver.bash +++ /dev/null @@ -1,30 +0,0 @@ -#! /bin/bash - -set -e - -SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) -source ${SCRIPT_PATH}/configuration.bash - -${SCRIPT_PATH}/clear_docker_containers_and_images.bash - -# If invoked with an argument, the argument is the name of the tar.bz2 to import. -if [ "" == "${1}" ] -then - TARBZ2="${BASE_NAME}.tar.bz2" -else - TARBZ2="${1}" -fi - -bunzip2 ${TARBZ2} -if [ "${?}" != "0" ]; then exit 1; fi - -docker load --input ${TARBZ2%.tar.bz2}.tar -if [ "${?}" != "0" ]; then exit 1; fi - -${SCRIPT_PATH}/attach_cuda_driver_to_docker_image.bash -if [ "${?}" != "0" ]; then exit 1; fi - -docker image rm ${BASE_IMAGE} - -rm -f ${TARBZ2%.tar.bz2}.tar - diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/import_base_docker_image_and_attach_cuda_driver_and_run_docker_image.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/import_base_docker_image_and_attach_cuda_driver_and_run_docker_image.bash deleted file mode 100755 index daaf76ff99..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/import_base_docker_image_and_attach_cuda_driver_and_run_docker_image.bash +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/bash - -set -e - -SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) -source ${SCRIPT_PATH}/configuration.bash - -${SCRIPT_PATH}/import_base_docker_image_and_attach_cuda_driver.bash -if [ "${?}" != "0" ]; then exit 1; fi - -${SCRIPT_PATH}/run_docker_image.bash "${@}" -if [ "${?}" != "0" ]; then exit 1; fi - diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/run_docker_image.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/run_docker_image.bash deleted file mode 100755 index 6a62ca2644..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/docker/run_docker_image.bash +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/bash - -set -e - -SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) -source ${SCRIPT_PATH}/configuration.bash - -NVIDIAMODPROBE=$(which nvidia-modprobe) - -# Arguments are a list of SM architectures to target; if there are no arguments, -# all known SM architectures are targeted. -COMPUTE_ARCHS_FLAG="" -if [ ! -z "${@}" ] -then - COMPUTE_ARCHS_FLAG="-eLIBCUDACXX_COMPUTE_ARCHS=\"${@}\"" -fi - -JSON_OUTPUT_FLAG="" -DOCKER_VOLUMN_FLAG="" -if [ "${JSON_OUTPUT_PATH:-0}" != "0" ] -then - JSON_OUTPUT_FLAG="-eJSON_OUTPUT_PATH=${JSON_OUTPUT_PATH}" - DOCKER_VOLUMN_FLAG="-v ${SCRIPT_PATH}/mount:${JSON_OUTPUT_PATH}" -fi - -# Ensure nvidia-uvm is loaded. -${NVIDIAMODPROBE} -u - -# Support file interface with the host machine -mkdir -p ${SCRIPT_PATH}/mount -chmod 777 ${SCRIPT_PATH}/mount - -docker run ${DOCKER_VOLUMN_FLAG} -t ${COMPUTE_ARCHS_FLAG} ${JSON_OUTPUT_FLAG} --privileged ${FINAL_IMAGE} 2>&1 \ - | while read l; do \ - echo "${LIBCUDACXX_DOCKER_OUTPUT_PREFIX}$(date --rfc-3339=seconds)| $l"; \ - done -if [ "${PIPESTATUS[0]}" != "0" ]; then exit 1; fi - diff --git a/libcudacxx/.upstream-tests/utils/nvidia/linux/perform_tests.bash b/libcudacxx/.upstream-tests/utils/nvidia/linux/perform_tests.bash deleted file mode 100755 index 4801b2bc8d..0000000000 --- a/libcudacxx/.upstream-tests/utils/nvidia/linux/perform_tests.bash +++ /dev/null @@ -1,372 +0,0 @@ -#! /bin/bash - -function usage { - echo "Usage: ${0} [flags...] |all" - echo - echo "Run from the libc++ and libcu++ test suites." - echo "If no tests or \"all\" is specified, all tests are run." - echo - echo "-h, -help, --help : Print this message." - echo "--dry-run : Show what commands would be invoked;" - echo " : don't actually execute anything." - echo "--skip-base-tests-build : Do not build (or run) any tests." - echo " : Overrides \${LIBCUDACXX_SKIP_BASE_TESTS_BUILD}." - echo "--skip-tests-runs : Build tests but do not run them." - echo " : Overrides \${LIBCUDACXX_SKIP_TESTS_RUN}." - echo "--skip-libcxx-tests : Do not build (or run) any libc++ tests." - echo " : Overrides \${LIBCUDACXX_SKIP_LIBCXX_TESTS}." - echo "--skip-libcudacxx-tests : Do not build (or run) any libcu++ tests." - echo " : Overrides \${LIBCUDACXX_SKIP_LIBCUDACXX_TESTS}." - echo "--skip-arch-detection : Do not automatically detect the SM architecture" - echo " : for tests runs." - echo " : Overrides \${LIBCUDACXX_SKIP_ARCH_DETECTION}." - echo - echo "--compute-archs : Space-separated list of SM architectures" - echo " (specified as integers) to target. If empty," - echo " either the architecture is automatically" - echo " detected (for tests runs if detection isn't" - echo " disabled) or all known SM architectures are" - echo " targeted." - echo " : Overrides \${LIBCUDACXX_COMPUTE_ARCHS}." - echo - echo "--libcxx-lit-site-config : Use as the libc++ lit site config" - echo " : (default: \${LIBCUDACXX_PATH}/libcxx/build/test/lit.site.cfg)." - echo "--libcudacxx-lit-site-config : Use as the libcu++ lit site config" - echo " : (default: \${LIBCUDACXX_PATH}/build/libcxx/test/lit.site.cfg)." - echo - echo "--verbose : Print SM architecture detection and test results" - echo " : to stdout in addition to log files." - echo - echo "\${LIBCUDACXX_SKIP_BASE_TESTS_BUILD} : If set and non-zero, do not build" - echo " : (or run) any tests." - echo "\${LIBCUDACXX_SKIP_TESTS_RUN} : If set and non-zero, build tests" - echo " : but do not run them." - echo "\${LIBCUDACXX_SKIP_LIBCXX_TESTS} : If set and non-zero, do not build" - echo " : (or run) any libc++ tests." - echo "\${LIBCUDACXX_SKIP_LIBCUDACXX_TESTS} : If set and non-zero, do not build" - echo " : (or run) any libcu++ tests." - echo "\${LIBCUDACXX_SKIP_ARCH_DETECTION} : If set, non-zero, and" - echo " : \${LIBCUDACXX_COMPUTE_ARCHS} is unset," - echo " : do not automatically detect the SM" - echo " : architecture." - echo "\${LIBCUDACXX_COMPUTE_ARCHS} : A space-separated list of SM" - echo " : architectures (specified as integers)" - echo " : to target. If empty, either the" - echo " : architecture is automatically" - echo " : detected (for tests runs if detection" - echo " : isn't disabled) or all known SM" - echo " : architectures are targeted." - - exit -3 -} - -function section_separator { - for i in {0..79} - do - echo -n "#" - done - echo -} - -LIBCXX_LOG=$(mktemp) -LIBCUDACXX_LOG=$(mktemp) - -KNOWN_COMPUTE_ARCHS="50 52 53 60 61 62 70 72 75 80 86 87 89 90" - -function report_and_exit { - # If any of the lines searched for below aren't present in the log files, the - # grep commands will return nothing, and the variables will be empty. Bash - # treats empty variables as zero for the purposes of arithmetic, which is what - # we want anyways, so we don't need to do anything else. - - # Example parse target: - # |Testing Time: 19.78s - # | Unsupported : 1 - # | Passed : 9 - # | Failed : 2 - # | Unexpectedly Passed: 1 - - if [ -e "${LIBCXX_LOG}" ] - then - # White space is dynamic, capture first space on output lines to prevent - # grabbing lines like `Unexpectedly Passed Tests (1)` - LIBCXX_UNSUPPORTED_TESTS=$( egrep '^ \s*Unsupported' ${LIBCXX_LOG} | sed 's/^\s*Unsupported\s*:\s*\([0-9]\+\)/\1/') - LIBCXX_EXPECTED_PASSES=$( egrep '^ \s*Passed' ${LIBCXX_LOG} | sed 's/^\s*Passed\s*:\s*\([0-9]\+\)/\1/') - LIBCXX_UNEXPECTED_FAILURES=$(egrep '^ \s*Failed' ${LIBCXX_LOG} | sed 's/^\s*Failed\s*:\s*\([0-9]\+\)/\1/') - LIBCXX_UNEXPECTED_PASSES=$( egrep '^ \s*Unexpectedly Passed' ${LIBCXX_LOG} | sed 's/^\s*Unexpectedly Passed\s*:\s*\([0-9]\+\)/\1/') - fi - - if [ -e "${LIBCUDACXX_LOG}" ] - then - # White space is dynamic, capture first space on output lines to prevent - # grabbing lines like `Unexpectedly Passed Tests (1)` - LIBCUDACXX_UNSUPPORTED_TESTS=$( egrep '^ \s*Unsupported' ${LIBCUDACXX_LOG} | sed 's/^\s*Unsupported\s*:\s*\([0-9]\+\)/\1/') - LIBCUDACXX_EXPECTED_PASSES=$( egrep '^ \s*Passed' ${LIBCUDACXX_LOG} | sed 's/^\s*Passed\s*:\s*\([0-9]\+\)/\1/') - LIBCUDACXX_UNEXPECTED_FAILURES=$(egrep '^ \s*Failed' ${LIBCUDACXX_LOG} | sed 's/^\s*Failed\s*:\s*\([0-9]\+\)/\1/') - LIBCUDACXX_UNEXPECTED_PASSES=$( egrep '^ \s*Unexpectedly Passed' ${LIBCUDACXX_LOG} | sed 's/^\s*Unexpectedly Passed\s*:\s*\([0-9]\+\)/\1/') - fi - - LIBCXX_PASSES=$(( LIBCXX_EXPECTED_PASSES)) - LIBCXX_FAILURES=$((LIBCXX_UNEXPECTED_PASSES + LIBCXX_UNEXPECTED_FAILURES)) - LIBCXX_TOTAL=$(( LIBCXX_PASSES + LIBCXX_FAILURES)) - - LIBCUDACXX_PASSES=$(( LIBCUDACXX_EXPECTED_PASSES)) - LIBCUDACXX_FAILURES=$((LIBCUDACXX_UNEXPECTED_PASSES + LIBCUDACXX_UNEXPECTED_FAILURES)) - LIBCUDACXX_TOTAL=$(( LIBCUDACXX_PASSES + LIBCUDACXX_FAILURES)) - - OVERALL_PASSES=$(( LIBCXX_PASSES + LIBCUDACXX_PASSES)) - OVERALL_FAILURES=$((LIBCXX_FAILURES + LIBCUDACXX_FAILURES)) - OVERALL_TOTAL=$(( LIBCXX_TOTAL + LIBCUDACXX_TOTAL)) - - section_separator - - if [ "${OVERALL_TOTAL:-0}" != "0" ] - then - printf "Score: %.2f%%\n" "$((10000 * ${OVERALL_PASSES} / ${OVERALL_TOTAL}))e-2" - else - echo "Score: 0.00%" - fi - - if (( 1 <= ${#} )) - then - exit ${1} - else - if (( ${OVERALL_PASSES} == ${OVERALL_TOTAL} )) - then - exit 0 - else - exit -1 - fi - fi -} - -SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) - -LIBCUDACXX_PATH=$(realpath ${SCRIPT_PATH}/../../../../) - -################################################################################ -# Command Line Processing. - -LIT_PREFIX="time" - -LIBCXX_LIT_SITE_CONFIG=${LIBCUDACXX_PATH}/libcxx/build/libcxx/test/lit.site.cfg -LIBCUDACXX_LIT_SITE_CONFIG=${LIBCUDACXX_PATH}/build/test/lit.site.cfg - -RAW_TEST_TARGETS="" - -while test ${#} != 0 -do - case "${1}" in - -h) usage ;; - -help) usage ;; - --help) usage ;; - --dry-run) LIT_PREFIX="echo" ;; - --skip-base-tests-build) LIBCUDACXX_SKIP_BASE_TESTS_BUILD=1 ;; - --skip-tests-runs) LIBCUDACXX_SKIP_TESTS_RUN=1 ;; - --skip-libcxx-tests) LIBCUDACXX_SKIP_LIBCXX_TESTS=1 ;; - --skip-libcudacxx-tests) LIBCUDACXX_SKIP_LIBCUDACXX_TESTS=1 ;; - --skip-arch-detection) LIBCUDACXX_SKIP_ARCH_DETECTION=1 ;; - --compute-archs) - shift # The next argument is the list of archs. - LIBCUDACXX_COMPUTE_ARCHS=${1} - ;; - --libcxx-lit-site-config) - shift # The next argument is the file. - LIBCXX_LIT_SITE_CONFIG=${1} - ;; - --libcudacxx-lit-site-config) - shift # The next argument is the file. - LIBCUDACXX_LIT_SITE_CONFIG=${1} - ;; - --verbose) VERBOSE=1 ;; - *) - RAW_TEST_TARGETS="${RAW_TEST_TARGETS:+${RAW_TEST_TARGETS} }${1}" - ;; - esac - shift -done - -LIBCXX_TEST_TARGETS="${LIBCUDACXX_PATH}/libcxx/test" -LIBCUDACXX_TEST_TARGETS="${LIBCUDACXX_PATH}/test" - -if [ "${RAW_TEST_TARGETS:-all}" != "all" ] -then - LIBCXX_TEST_TARGETS="" - LIBCUDACXX_TEST_TARGETS="" - for test in ${RAW_TEST_TARGETS} - do - LIBCXX_TEST_TARGETS="${LIBCXX_TEST_TARGETS:+${LIBCXX_TEST_TARGETS} }${LIBCUDACXX_PATH}/libcxx/test/${test}" - LIBCUDACXX_TEST_TARGETS="${LIBCUDACXX_TEST_TARGETS:+${LIBCUDACXX_TEST_TARGETS} }${LIBCUDACXX_PATH}/test/${test}" - done -fi - -################################################################################ -# Variable Processing - -if [ "${LIBCUDACXX_SKIP_BASE_TESTS_BUILD:-0}" != "0" ] || \ - [[ "${LIBCUDACXX_SKIP_LIBCXX_TESTS:-0}" != "0" && "${LIBCUDACXX_SKIP_LIBCUDACXX_TESTS:-0}" != "0" ]] -then - echo "# TEST libc++ : Skipped" - echo "# TEST libcu++ : Skipped" - section_separator - echo "Score: 100.00%" - exit 0 -fi - -if [ "${VERBOSE:-0}" != "0" ] -then - LIT_FLAGS="-vv -a" -else - LIT_FLAGS="-sv --no-progress-bar" -fi - -if [ "${LIBCUDACXX_SKIP_TESTS_RUN:-0}" != "0" ] -then - LIT_FLAGS="${LIT_FLAGS:+${LIT_FLAGS} }-Dexecutor=\"NoopExecutor()\"" -fi - -JSON_OUTPUT_TARGET="0" - -if [ "${JSON_OUTPUT_PATH:-0}" != "0" ] -then - JSON_OUTPUT_TARGET="${JSON_OUTPUT_PATH}/testlog_$(basename $(mktemp))" - mkdir -p "${JSON_OUTPUT_TARGET}" -fi - -################################################################################ -# SM Architecture Detection - -if [ "${LIBCUDACXX_SKIP_ARCH_DETECTION:-0}" == "0" ] && \ - [ "${LIBCUDACXX_SKIP_TESTS_RUN:-0}" == "0" ] && \ - [ ! -n "${LIBCUDACXX_COMPUTE_ARCHS}" ] -then - section_separator - - echo "# TEST SM Architecture Detection" - - ARCH_DETECTION_LOG=$(mktemp) - DETECTION_LIT_FLAGS="-vv -a" - if [ "${JSON_OUTPUT_TARGET}" != "0" ] - then - DETECTION_LIT_FLAGS="${DETECTION_LIT_FLAGS} -o ${JSON_OUTPUT_TARGET}/detect_sm.log" - fi - - - LIBCUDACXX_SITE_CONFIG=${LIBCUDACXX_LIT_SITE_CONFIG} \ - bash -c "lit ${DETECTION_LIT_FLAGS} ${LIBCUDACXX_PATH}/test/nothing_to_do.pass.cpp -Dcompute_archs=\"${KNOWN_COMPUTE_ARCHS}\"" \ - > ${ARCH_DETECTION_LOG} 2>&1 - - if [ "${PIPESTATUS[0]}" != "0" ] - then - cat ${ARCH_DETECTION_LOG} - report_and_exit 1 - fi - - DEVICE_0_COMPUTE_ARCH=$(egrep '^Device 0:' ${ARCH_DETECTION_LOG} | sed 's/^Device 0: ".*", Selected, SM\([0-9]\+\), [0-9]\+ \[bytes\]/\1/') - - rm -f ${ARCH_DETECTION_LOG} - - echo "# DETECTION SM Architecture : Device 0, ${DEVICE_0_COMPUTE_ARCH}" - - if (( 50 <= ${DEVICE_0_COMPUTE_ARCH:-0} )) - then - LIBCUDACXX_COMPUTE_ARCHS=${DEVICE_0_COMPUTE_ARCH} - fi -fi - -if [ -n "${LIBCUDACXX_COMPUTE_ARCHS}" ] -then - LIT_COMPUTE_ARCHS_FLAG="-Dcompute_archs=\"" - LIT_COMPUTE_ARCHS_SUFFIX="\"" -fi - -################################################################################ -# Dump Variables - -VARIABLES=" - PATH - PWD - SCRIPT_PATH - LIBCUDACXX_PATH - VERBOSE - LIBCUDACXX_SKIP_BASE_TESTS_BUILD - LIBCUDACXX_SKIP_TESTS_RUN - LIBCUDACXX_SKIP_LIBCXX_TESTS - LIBCUDACXX_SKIP_LIBCUDACXX_TESTS - LIBCUDACXX_SKIP_ARCH_DETECTION - LIBCXX_LIT_SITE_CONFIG - LIBCUDACXX_LIT_SITE_CONFIG - LIBCXX_LOG - LIBCUDACXX_LOG - LIBCXX_TEST_TARGETS - LIBCUDACXX_TEST_TARGETS - LIT_COMPUTE_ARCHS_FLAG - LIT_COMPUTE_ARCHS_SUFFIX - LIT_FLAGS - LIT_PREFIX - RAW_TEST_TARGETS - LIBCUDACXX_COMPUTE_ARCHS - DEVICE_0_COMPUTE_ARCH - JSON_OUTPUT_TARGET -" - -section_separator - -for VARIABLE in ${VARIABLES} -do - printf "# VARIABLE %s%q\n" "${VARIABLE}=" "${!VARIABLE}" -done - -################################################################################ -# Build/Run libc++ & libcu++ Tests - -section_separator - -OUTPUT_STREAM_FLAG="" - -if [ "${JSON_OUTPUT_TARGET}" != "0" ] -then - LIT_FLAGS="${LIT_FLAGS} -o ${JSON_OUTPUT_TARGET}/test_results.log" - OUTPUT_STREAM_FLAG="> /dev/null" -fi - -if [ "${LIBCUDACXX_SKIP_LIBCXX_TESTS:-0}" == "0" ] -then - echo "# TEST libc++" - TIMEFORMAT="# WALLTIME libc++ : %R [sec]" \ - LIBCXX_SITE_CONFIG=${LIBCXX_LIT_SITE_CONFIG} \ - bash -c "${LIT_PREFIX} lit ${LIT_FLAGS} ${LIBCXX_TEST_TARGETS} ${OUTPUT_STREAM_FLAG}" \ - 2>&1 | tee "${LIBCXX_LOG}" - if [ "${PIPESTATUS[0]}" != "0" ]; then report_and_exit 1; fi -else - echo "# TEST libc++ : Skipped" -fi - -section_separator - -if [ "${LIBCUDACXX_SKIP_LIBCUDACXX_TESTS:-0}" == "0" ] -then - par=$(nproc) - if [[ $? -eq 0 ]] - then - if [[ $par -gt 8 ]] - then - par=8 - fi - LIT_FLAGS="${LIT_FLAGS} -j${par}" - fi - - echo "# TEST libcu++" - TIMEFORMAT="# WALLTIME libcu++: %R [sec]" \ - - LIBCUDACXX_SITE_CONFIG=${LIBCUDACXX_LIT_SITE_CONFIG} \ - bash -c "${LIT_PREFIX} lit ${LIT_FLAGS} ${LIT_COMPUTE_ARCHS_FLAG}${LIBCUDACXX_COMPUTE_ARCHS}${LIT_COMPUTE_ARCHS_SUFFIX} ${LIBCUDACXX_TEST_TARGETS} ${OUTPUT_STREAM_FLAG}" \ - 2>&1 | tee "${LIBCUDACXX_LOG}" - if [ "${PIPESTATUS[0]}" != "0" ]; then report_and_exit 1; fi -else - echo "# TEST libcu++ : Skipped" -fi - -################################################################################ - -report_and_exit diff --git a/libcudacxx/.upstream-tests/utils/sym_diff.py b/libcudacxx/.upstream-tests/utils/sym_diff.py deleted file mode 100755 index d389e11190..0000000000 --- a/libcudacxx/.upstream-tests/utils/sym_diff.py +++ /dev/null @@ -1,72 +0,0 @@ -#!/usr/bin/env python -#===----------------------------------------------------------------------===## -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===----------------------------------------------------------------------===## -""" -sym_diff - Compare two symbol lists and output the differences. -""" - -from argparse import ArgumentParser -import sys -from libcudacxx.sym_check import diff, util - - -def main(): - parser = ArgumentParser( - description='Extract a list of symbols from a shared library.') - parser.add_argument( - '--names-only', dest='names_only', - help='Only print symbol names', - action='store_true', default=False) - parser.add_argument( - '--removed-only', dest='removed_only', - help='Only print removed symbols', - action='store_true', default=False) - parser.add_argument('--only-stdlib-symbols', dest='only_stdlib', - help="Filter all symbols not related to the stdlib", - action='store_true', default=False) - parser.add_argument('--strict', dest='strict', - help="Exit with a non-zero status if any symbols " - "differ", - action='store_true', default=False) - parser.add_argument( - '-o', '--output', dest='output', - help='The output file. stdout is used if not given', - type=str, action='store', default=None) - parser.add_argument( - '--demangle', dest='demangle', action='store_true', default=False) - parser.add_argument( - 'old_syms', metavar='old-syms', type=str, - help='The file containing the old symbol list or a library') - parser.add_argument( - 'new_syms', metavar='new-syms', type=str, - help='The file containing the new symbol list or a library') - args = parser.parse_args() - - old_syms_list = util.extract_or_load(args.old_syms) - new_syms_list = util.extract_or_load(args.new_syms) - - if args.only_stdlib: - old_syms_list, _ = util.filter_stdlib_symbols(old_syms_list) - new_syms_list, _ = util.filter_stdlib_symbols(new_syms_list) - - added, removed, changed = diff.diff(old_syms_list, new_syms_list) - if args.removed_only: - added = {} - report, is_break, is_different = diff.report_diff( - added, removed, changed, names_only=args.names_only, - demangle=args.demangle) - if args.output is None: - print(report) - else: - with open(args.output, 'w') as f: - f.write(report + '\n') - exit_code = 1 if is_break or (args.strict and is_different) else 0 - sys.exit(exit_code) - -if __name__ == '__main__': - main() diff --git a/libcudacxx/.upstream-tests/utils/sym_extract.py b/libcudacxx/.upstream-tests/utils/sym_extract.py deleted file mode 100755 index f0fc0c371f..0000000000 --- a/libcudacxx/.upstream-tests/utils/sym_extract.py +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env python -#===----------------------------------------------------------------------===## -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===----------------------------------------------------------------------===## -""" -sym_extract - Extract and output a list of symbols from a shared library. -""" -from argparse import ArgumentParser -from libcudacxx.sym_check import extract, util - - -def main(): - parser = ArgumentParser( - description='Extract a list of symbols from a shared library.') - parser.add_argument('library', metavar='shared-lib', type=str, - help='The library to extract symbols from') - parser.add_argument('-o', '--output', dest='output', - help='The output file. stdout is used if not given', - type=str, action='store', default=None) - parser.add_argument('--names-only', dest='names_only', - help='Output only the name of the symbol', - action='store_true', default=False) - parser.add_argument('--only-stdlib-symbols', dest='only_stdlib', - help="Filter all symbols not related to the stdlib", - action='store_true', default=False) - parser.add_argument('--defined-only', dest='defined_only', - help="Filter all symbols that are not defined", - action='store_true', default=False) - parser.add_argument('--undefined-only', dest='undefined_only', - help="Filter all symbols that are defined", - action='store_true', default=False) - - args = parser.parse_args() - assert not (args.undefined_only and args.defined_only) - if args.output is not None: - print('Extracting symbols from %s to %s.' - % (args.library, args.output)) - syms = extract.extract_symbols(args.library) - if args.only_stdlib: - syms, other_syms = util.filter_stdlib_symbols(syms) - filter = lambda x: x - if args.defined_only: - filter = lambda l: list([x for x in l if x['is_defined']]) - if args.undefined_only: - filter = lambda l: list([x for x in l if not x['is_defined']]) - util.write_syms(syms, out=args.output, names_only=args.names_only, filter=filter) - - -if __name__ == '__main__': - main() diff --git a/libcudacxx/.upstream-tests/utils/sym_match.py b/libcudacxx/.upstream-tests/utils/sym_match.py deleted file mode 100755 index 8d7c17b4bb..0000000000 --- a/libcudacxx/.upstream-tests/utils/sym_match.py +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/env python -#===----------------------------------------------------------------------===## -# -# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# -#===----------------------------------------------------------------------===## - -""" -sym_match - Match all symbols in a list against a list of regexes. -""" -from argparse import ArgumentParser -import sys -from libcudacxx.sym_check import util, match, extract - - -def main(): - parser = ArgumentParser( - description='Extract a list of symbols from a shared library.') - parser.add_argument( - '--blacklist', dest='blacklist', - type=str, action='store', default=None) - parser.add_argument( - 'symbol_list', metavar='symbol_list', type=str, - help='The file containing the old symbol list') - parser.add_argument( - 'regexes', metavar='regexes', default=[], nargs='*', - help='The file containing the new symbol list or a library') - args = parser.parse_args() - - if not args.regexes and args.blacklist is None: - sys.stderr.write('Either a regex or a blacklist must be specified.\n') - sys.exit(1) - if args.blacklist: - search_list = util.read_blacklist(args.blacklist) - else: - search_list = args.regexes - - symbol_list = util.extract_or_load(args.symbol_list) - - matching_count, report = match.find_and_report_matching( - symbol_list, search_list) - sys.stdout.write(report) - if matching_count != 0: - print('%d matching symbols found...' % matching_count) - - -if __name__ == '__main__': - main() diff --git a/libcudacxx/.upstream-tests/utils/symcheck-blacklists/linux_blacklist.txt b/libcudacxx/.upstream-tests/utils/symcheck-blacklists/linux_blacklist.txt deleted file mode 100644 index 4d9d1d4b9e..0000000000 --- a/libcudacxx/.upstream-tests/utils/symcheck-blacklists/linux_blacklist.txt +++ /dev/null @@ -1,19 +0,0 @@ -# all guard variables -_ZGVNSt3__ -# all vtables -_ZTV -# all VTT -_ZTT -# all non-virtual thunks -_ZTh -# all virtual thunks -_ZTv -# typeinfo for std::__1::__types -# There are no std::__types -_ZTINSt3__1[0-9][0-9]*__ -# typeinfo name for std::__1::__types -_ZTSNSt3__1[0-9][0-9]*__ -# anything using __hidden_allocator -.*__hidden_allocator -# anything using __sso_allocator -.*__sso_allocator diff --git a/libcudacxx/.upstream-tests/utils/symcheck-blacklists/osx_blacklist.txt b/libcudacxx/.upstream-tests/utils/symcheck-blacklists/osx_blacklist.txt deleted file mode 100644 index cfa911ed74..0000000000 --- a/libcudacxx/.upstream-tests/utils/symcheck-blacklists/osx_blacklist.txt +++ /dev/null @@ -1,19 +0,0 @@ -# all guard variables -__ZGVNSt3__ -# all vtables -__ZTV -# all VTT -__ZTT -# all non-virtual thunks -__ZTh -# all virtual thunks -__ZTv -# typeinfo for std::__1::__types -# There are no std::__types -__ZTINSt3__1[0-9][0-9]*__ -# typeinfo name for std::__1::__types -__ZTSNSt3__1[0-9][0-9]*__ -# anything using __hidden_allocator -.*__hidden_allocator -# anything using __sso_allocator -.*__sso_allocator diff --git a/libcudacxx/CMakeLists.txt b/libcudacxx/CMakeLists.txt index 02527a3c10..869792d27d 100644 --- a/libcudacxx/CMakeLists.txt +++ b/libcudacxx/CMakeLists.txt @@ -32,16 +32,11 @@ endif() include(CTest) enable_testing() -# Enable building the nvrtcc project if NVRTC is enabled -if (LIBCUDACXX_TEST_WITH_NVRTC) - add_subdirectory(utils/nvidia/nvrtc) -endif() - # Note that this currently returns and skips the rest of the build # system. option(libcudacxx_ENABLE_CMAKE_TESTS "Enable ctest-based testing." ON) if (libcudacxx_ENABLE_CMAKE_TESTS) - add_subdirectory(cmake/test/) + add_subdirectory(cmake/test) endif() set(CMAKE_MODULE_PATH "${libcudacxx_SOURCE_DIR}/cmake") diff --git a/libcudacxx/test b/libcudacxx/test deleted file mode 120000 index 06b5102c29..0000000000 --- a/libcudacxx/test +++ /dev/null @@ -1 +0,0 @@ -.upstream-tests/test \ No newline at end of file diff --git a/libcudacxx/.upstream-tests/.clang-format b/libcudacxx/test/.clang-format similarity index 100% rename from libcudacxx/.upstream-tests/.clang-format rename to libcudacxx/test/.clang-format diff --git a/libcudacxx/.upstream-tests/.gitignore b/libcudacxx/test/.gitignore similarity index 100% rename from libcudacxx/.upstream-tests/.gitignore rename to libcudacxx/test/.gitignore diff --git a/libcudacxx/test/CMakeLists.txt b/libcudacxx/test/CMakeLists.txt new file mode 100644 index 0000000000..41dfeb8ecb --- /dev/null +++ b/libcudacxx/test/CMakeLists.txt @@ -0,0 +1,10 @@ +# Libcudacxx's main lit tests +add_subdirectory(libcudacxx) + +# Libcudacxx auto-generated include/smoke tests +add_subdirectory(smoke) + +# Enable building the nvrtcc project if NVRTC is enabled +if (LIBCUDACXX_TEST_WITH_NVRTC) + add_subdirectory(utils/nvidia/nvrtc) +endif() diff --git a/libcudacxx/.upstream-tests/CREDITS.TXT b/libcudacxx/test/CREDITS.TXT similarity index 100% rename from libcudacxx/.upstream-tests/CREDITS.TXT rename to libcudacxx/test/CREDITS.TXT diff --git a/libcudacxx/.upstream-tests/LICENSE.TXT b/libcudacxx/test/LICENSE.TXT similarity index 100% rename from libcudacxx/.upstream-tests/LICENSE.TXT rename to libcudacxx/test/LICENSE.TXT diff --git a/libcudacxx/.upstream-tests/NOTES.TXT b/libcudacxx/test/NOTES.TXT similarity index 100% rename from libcudacxx/.upstream-tests/NOTES.TXT rename to libcudacxx/test/NOTES.TXT diff --git a/libcudacxx/.upstream-tests/TODO.TXT b/libcudacxx/test/TODO.TXT similarity index 100% rename from libcudacxx/.upstream-tests/TODO.TXT rename to libcudacxx/test/TODO.TXT diff --git a/libcudacxx/.upstream-tests/test/CMakeLists.txt b/libcudacxx/test/libcudacxx/CMakeLists.txt similarity index 90% rename from libcudacxx/.upstream-tests/test/CMakeLists.txt rename to libcudacxx/test/libcudacxx/CMakeLists.txt index c598658cd1..3f160c6faa 100644 --- a/libcudacxx/.upstream-tests/test/CMakeLists.txt +++ b/libcudacxx/test/libcudacxx/CMakeLists.txt @@ -23,7 +23,9 @@ option(LIBCUDACXX_TEST_WITH_NVRTC OFF) if (LIBCUDACXX_TEST_WITH_NVRTC) - set(LIBCUDACXX_CUDA_COMPILER "${CMAKE_BINARY_DIR}/libcudacxx/utils/nvidia/nvrtc/nvrtcc") + # TODO: Use project properties to get path to binary. + # Should also set up dependency on the project when NVRTC is enabled + set(LIBCUDACXX_CUDA_COMPILER "${CMAKE_BINARY_DIR}/libcudacxx/test/utils/nvidia/nvrtc/nvrtcc") set(LIBCUDACXX_CUDA_COMPILER_ARG1 "") set(LIBCUDACXX_CUDA_TEST_WITH_NVRTC "True") set(LIBCUDACXX_FORCE_INCLUDE "-include '${libcudacxx_SOURCE_DIR}/test/support/nvrtc_limit_macros.h'") @@ -31,7 +33,7 @@ if (LIBCUDACXX_TEST_WITH_NVRTC) # Use the NVRTCC utility to run the built test outputs set(LIBCUDACXX_EXECUTOR "PrefixExecutor(['${LIBCUDACXX_CUDA_COMPILER}'], LocalExecutor())") else() # NOT LIBCUDACXX_TEST_WITH_NVRTC - set(LIBCUDACXX_FORCE_INCLUDE "-include ${CMAKE_CURRENT_SOURCE_DIR}/force_include.h") + set(LIBCUDACXX_FORCE_INCLUDE "-include ${libcudacxx_SOURCE_DIR}/test/libcudacxx/force_include.h") set(LIBCUDACXX_CUDA_COMPILER "${CMAKE_CUDA_COMPILER}") set(LIBCUDACXX_CUDA_TEST_WITH_NVRTC "False") endif() @@ -70,7 +72,6 @@ if (${CMAKE_CUDA_COMPILER_ID} STREQUAL "NVIDIA") set(LIBCUDACXX_TEST_COMPILER_FLAGS "${LIBCUDACXX_TEST_COMPILER_FLAGS} \ ${LIBCUDACXX_FORCE_INCLUDE} \ - -I${libcudacxx_SOURCE_DIR}/include \ ${LIBCUDACXX_WARNING_LEVEL}") endif() @@ -96,6 +97,8 @@ set(LIBCUDACXX_COMPUTE_ARCHS_STRING include(AddLLVM) +set(LIBCUDACXX_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}") + set(LIBCUDACXX_TARGET_INFO "libcudacxx.test.target_info.LocalTI" CACHE STRING "TargetInfo to use when setting up test environment.") set(LIBCUDACXX_EXECUTOR "None" CACHE STRING @@ -114,9 +117,6 @@ add_lit_testsuite(check-cudacxx "Running libcu++ tests" "${CMAKE_CURRENT_BINARY_DIR}") -# Add test target for standalone headers -add_subdirectory(host_only) - find_program(libcudacxx_LIT lit REQUIRED) if (NOT LIBCUDACXX_TEST_WITH_NVRTC) @@ -127,7 +127,7 @@ if (NOT LIBCUDACXX_TEST_WITH_NVRTC) "LIBCUDACXX_SITE_CONFIG=${lit_site_cfg_path}" "${libcudacxx_LIT}" -vv --no-progress-bar --time-tests "-Dexecutor=\"NoopExecutor()\"" # Don't run the compiled tests. - "${libcudacxx_SOURCE_DIR}/.upstream-tests/test" + "${libcudacxx_SOURCE_DIR}/test/libcudacxx" ) endif() @@ -141,7 +141,7 @@ add_test(NAME libcudacxx.test.lit COMMAND "LIBCUDACXX_SITE_CONFIG=${lit_site_cfg_path}" "${libcudacxx_LIT}" -vv --no-progress-bar --time-tests -j "${libcudacxx_LIT_PARALLEL_LEVEL}" - "${libcudacxx_SOURCE_DIR}/.upstream-tests/test" + "${libcudacxx_SOURCE_DIR}/test/libcudacxx" ) set_tests_properties(libcudacxx.test.lit PROPERTIES diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/access_property.pass.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/access_property.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/access_property.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/access_property.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/access_property_explicit.fail.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/access_property_explicit.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/access_property_explicit.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/access_property_explicit.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr.pass.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_bench.pass.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_bench.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_bench.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_bench.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_constructors.pass.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_constructors.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_constructors.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_constructors.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_ctor.fail.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_ctor.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_ctor.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_ctor.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_host_constructor.fail.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_host_constructor.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_host_constructor.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_host_constructor.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_host_shared.fail.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_host_shared.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_host_shared.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_host_shared.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_neg_tests.fail.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_neg_tests.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_neg_tests.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_neg_tests.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_shmem.pass.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_shmem.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/annotated_ptr_shmem.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/annotated_ptr_shmem.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/apply_access_property.pass.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/apply_access_property.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/apply_access_property.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/apply_access_property.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/associate_access_property.pass.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/associate_access_property.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/associate_access_property.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/associate_access_property.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/discard_memory.pass.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/discard_memory.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/discard_memory.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/discard_memory.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/memcpy_async.pass.cpp b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/memcpy_async.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/memcpy_async.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/memcpy_async.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/annotated_ptr/utils.h b/libcudacxx/test/libcudacxx/cuda/annotated_ptr/utils.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/annotated_ptr/utils.h rename to libcudacxx/test/libcudacxx/cuda/annotated_ptr/utils.h diff --git a/libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/atomic_fetch.fail.cpp b/libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/atomic_fetch.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/atomic_fetch.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/atomic_fetch.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/atomic_fetch_max.pass.cpp b/libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/atomic_fetch_max.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/atomic_fetch_max.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/atomic_fetch_max.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/atomic_fetch_min.pass.cpp b/libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/atomic_fetch_min.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/atomic_fetch_min.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/atomic_fetch_min.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/atomic_helpers.h b/libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/atomic_helpers.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/atomic_helpers.h rename to libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/atomic_helpers.h diff --git a/libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/atomics/atomic.ext/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/atomics/atomic.ext/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/bad_atomic_alignment.pass.cpp b/libcudacxx/test/libcudacxx/cuda/bad_atomic_alignment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/bad_atomic_alignment.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/bad_atomic_alignment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx.h b/libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx.h rename to libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx.h diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_cluster.runfail.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_cluster.runfail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_cluster.runfail.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_cluster.runfail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_cta.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_cta.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_cta.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_cta.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_device.runfail.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_device.runfail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_device.runfail.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_device.runfail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_feature_test.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_feature_test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_feature_test.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_feature_test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_static_asserts_pre_sm90.fail.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_static_asserts_pre_sm90.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_static_asserts_pre_sm90.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_static_asserts_pre_sm90.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_thread.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_thread.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_thread.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_thread.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_warp.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_warp.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/arrive_tx_warp.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_warp.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_feature_test.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_feature_test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_feature_test.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_feature_test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_ptx_compiles.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_ptx_compiles.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_ptx_compiles.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_ptx_compiles.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_1d.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_1d.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_1d.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_1d.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_2d.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_2d.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_2d.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_2d.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_3d.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_3d.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_3d.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_3d.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_4d.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_4d.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_4d.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_4d.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_5d.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_5d.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_5d.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_5d.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_generic.h b/libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_generic.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/cp_async_bulk_tensor_generic.h rename to libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor_generic.h diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/expect_tx_cta.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/expect_tx_cta.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/expect_tx_cta.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/expect_tx_cta.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/expect_tx_device.runfail.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/expect_tx_device.runfail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/expect_tx_device.runfail.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/expect_tx_device.runfail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/expect_tx_thread.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/expect_tx_thread.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/expect_tx_thread.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/expect_tx_thread.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/expect_tx_warp.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/expect_tx_warp.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/expect_tx_warp.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/expect_tx_warp.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/init.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/init.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/barrier/native_handle.pass.cpp b/libcudacxx/test/libcudacxx/cuda/barrier/native_handle.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/barrier/native_handle.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/barrier/native_handle.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/chrono/from_time_t.pass.cpp b/libcudacxx/test/libcudacxx/cuda/chrono/from_time_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/chrono/from_time_t.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/chrono/from_time_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/chrono/to_time_t.pass.cpp b/libcudacxx/test/libcudacxx/cuda/chrono/to_time_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/chrono/to_time_t.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/chrono/to_time_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/complex_interop/complex.assign.pass.cpp b/libcudacxx/test/libcudacxx/cuda/complex_interop/complex.assign.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/complex_interop/complex.assign.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/complex_interop/complex.assign.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/complex_interop/complex.comp.pass.cpp b/libcudacxx/test/libcudacxx/cuda/complex_interop/complex.comp.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/complex_interop/complex.comp.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/complex_interop/complex.comp.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/complex_interop/complex.cons.pass.cpp b/libcudacxx/test/libcudacxx/cuda/complex_interop/complex.cons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/complex_interop/complex.cons.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/complex_interop/complex.cons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/complex_interop/complex.conv.pass.cpp b/libcudacxx/test/libcudacxx/cuda/complex_interop/complex.conv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/complex_interop/complex.conv.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/complex_interop/complex.conv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/large_type.h b/libcudacxx/test/libcudacxx/cuda/large_type.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/large_type.h rename to libcudacxx/test/libcudacxx/cuda/large_type.h diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async.h b/libcudacxx/test/libcudacxx/cuda/memcpy_async.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async.h rename to libcudacxx/test/libcudacxx/cuda/memcpy_async.h diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async/group_memcpy_async.h b/libcudacxx/test/libcudacxx/cuda/memcpy_async/group_memcpy_async.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async/group_memcpy_async.h rename to libcudacxx/test/libcudacxx/cuda/memcpy_async/group_memcpy_async.h diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async/group_memcpy_async_16b.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memcpy_async/group_memcpy_async_16b.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async/group_memcpy_async_16b.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memcpy_async/group_memcpy_async_16b.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async/group_memcpy_async_32b.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memcpy_async/group_memcpy_async_32b.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async/group_memcpy_async_32b.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memcpy_async/group_memcpy_async_32b.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async/group_memcpy_async_64b.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memcpy_async/group_memcpy_async_64b.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async/group_memcpy_async_64b.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memcpy_async/group_memcpy_async_64b.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async/memcpy_async_tx.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memcpy_async/memcpy_async_tx.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async/memcpy_async_tx.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memcpy_async/memcpy_async_tx.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async_16.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memcpy_async_16.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async_16.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memcpy_async_16.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async_32.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memcpy_async_32.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async_32.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memcpy_async_32.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async_64.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memcpy_async_64.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async_64.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memcpy_async_64.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async_8.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memcpy_async_8.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async_8.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memcpy_async_8.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memcpy_async_large.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memcpy_async_large.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memcpy_async_large.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memcpy_async_large.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/get_property/forward_property.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/get_property/forward_property.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/get_property/forward_property.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/get_property/forward_property.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/get_property/get_property.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/get_property/get_property.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/get_property/get_property.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/get_property/get_property.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/get_property/has_property.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/get_property/has_property.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/get_property/has_property.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/get_property/has_property.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.allocate.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.allocate.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.allocate.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.allocate.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.construction.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.construction.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.construction.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.construction.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.conversion.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.conversion.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.conversion.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.conversion.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.fail.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.equality.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.inheritance.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.inheritance.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.inheritance.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.inheritance.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.properties.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.properties.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.properties.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.async_resource_ref/async_resource_ref.properties.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.concepts/async_resource.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.concepts/async_resource.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.concepts/async_resource.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.concepts/async_resource.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.concepts/async_resource_with.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.concepts/async_resource_with.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.concepts/async_resource_with.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.concepts/async_resource_with.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.concepts/resource.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.concepts/resource.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.concepts/resource.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.concepts/resource.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.concepts/resource_with.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.concepts/resource_with.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.concepts/resource_with.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.concepts/resource_with.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.allocate.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.allocate.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.allocate.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.allocate.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.construction.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.construction.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.construction.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.construction.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.conversion.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.conversion.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.conversion.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.conversion.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.fail.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.equality.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.inheritance.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.inheritance.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.inheritance.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.inheritance.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.properties.pass.cpp b/libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.properties.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/memory_resource/memory_resource.resource_ref/resource_ref.properties.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/memory_resource/memory_resource.resource_ref/resource_ref.properties.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pair_interop/pair.assign.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pair_interop/pair.assign.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pair_interop/pair.assign.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pair_interop/pair.assign.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pair_interop/pair.cons.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pair_interop/pair.cons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pair_interop/pair.cons.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pair_interop/pair.cons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pair_interop/pair.conv.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pair_interop/pair.conv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pair_interop/pair.conv.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pair_interop/pair.conv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_arrive_on.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_arrive_on.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_arrive_on.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_arrive_on.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_arrive_on_abi_v2.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_arrive_on_abi_v2.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_arrive_on_abi_v2.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_arrive_on_abi_v2.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_divergent_threads.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_divergent_threads.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_divergent_threads.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_divergent_threads.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_group_concept.h b/libcudacxx/test/libcudacxx/cuda/pipeline_group_concept.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_group_concept.h rename to libcudacxx/test/libcudacxx/cuda/pipeline_group_concept.h diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_block.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_group_concept_thread_scope_block.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_block.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_group_concept_thread_scope_block.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_device.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_group_concept_thread_scope_device.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_device.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_group_concept_thread_scope_device.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_system.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_group_concept_thread_scope_system.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_system.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_group_concept_thread_scope_system.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_generic.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_generic.h diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread.h similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread.h diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp b/libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/proclaim_return_type.fail.cpp b/libcudacxx/test/libcudacxx/cuda/proclaim_return_type.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/proclaim_return_type.fail.cpp rename to libcudacxx/test/libcudacxx/cuda/proclaim_return_type.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/proclaim_return_type.pass.cpp b/libcudacxx/test/libcudacxx/cuda/proclaim_return_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/proclaim_return_type.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/proclaim_return_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/ptx/ptx.mbarrier.arrive.compile.pass.cpp b/libcudacxx/test/libcudacxx/cuda/ptx/ptx.mbarrier.arrive.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/ptx/ptx.mbarrier.arrive.compile.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/ptx/ptx.mbarrier.arrive.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/ptx/ptx.red.async.compile.pass.cpp b/libcudacxx/test/libcudacxx/cuda/ptx/ptx.red.async.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/ptx/ptx.red.async.compile.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/ptx/ptx.red.async.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/ptx/ptx.st.async.compile.pass.cpp b/libcudacxx/test/libcudacxx/cuda/ptx/ptx.st.async.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/ptx/ptx.st.async.compile.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/ptx/ptx.st.async.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.constructor.pass.cpp b/libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.constructor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.constructor.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.constructor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.equality.pass.cpp b/libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.equality.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.equality.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.equality.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.get.pass.cpp b/libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.get.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.get.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.get.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.ready.pass.cpp b/libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.ready.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.ready.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.ready.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.wait.pass.cpp b/libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.wait.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/stream_ref/stream_ref.wait.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/stream_ref/stream_ref.wait.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/test_platform.pass.cpp b/libcudacxx/test/libcudacxx/cuda/test_platform.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/test_platform.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/test_platform.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/test_platform_cpp03.pass.cpp b/libcudacxx/test/libcudacxx/cuda/test_platform_cpp03.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/test_platform_cpp03.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/test_platform_cpp03.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/tuple/forward_as_tuple_interop.pass.cpp b/libcudacxx/test/libcudacxx/cuda/tuple/forward_as_tuple_interop.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/tuple/forward_as_tuple_interop.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/tuple/forward_as_tuple_interop.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/cuda/version.pass.cpp b/libcudacxx/test/libcudacxx/cuda/version.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/cuda/version.pass.cpp rename to libcudacxx/test/libcudacxx/cuda/version.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/force_include.h b/libcudacxx/test/libcudacxx/force_include.h similarity index 100% rename from libcudacxx/.upstream-tests/test/force_include.h rename to libcudacxx/test/libcudacxx/force_include.h diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/atomic.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/atomic.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/atomic.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/atomic.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/atomic_flag.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/atomic_flag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/atomic_flag.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/atomic_flag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/atomic_ref.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/atomic_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/atomic_ref.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/atomic_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/barrier.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/barrier.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/barrier.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/barrier.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/barrier_abi_v2.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/barrier_abi_v2.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/barrier_abi_v2.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/barrier_abi_v2.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/barrier_parity.cuda.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/barrier_parity.cuda.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/barrier_parity.cuda.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/barrier_parity.cuda.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/barrier_parity.std.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/barrier_parity.std.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/barrier_parity.std.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/barrier_parity.std.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/cuda_atomic_ref.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/cuda_atomic_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/cuda_atomic_ref.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/cuda_atomic_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/helpers.h b/libcudacxx/test/libcudacxx/heterogeneous/helpers.h similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/helpers.h rename to libcudacxx/test/libcudacxx/heterogeneous/helpers.h diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/latch.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/latch.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/latch.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/latch.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/latch_abi_v2.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/latch_abi_v2.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/latch_abi_v2.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/latch_abi_v2.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/optional.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/optional.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/optional.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/optional.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/pair.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/pair.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/semaphore.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/semaphore.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/semaphore.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/semaphore.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/heterogeneous/tuple.pass.cpp b/libcudacxx/test/libcudacxx/heterogeneous/tuple.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/heterogeneous/tuple.pass.cpp rename to libcudacxx/test/libcudacxx/heterogeneous/tuple.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/atomics/atomics.align/align.pass.sh.cpp b/libcudacxx/test/libcudacxx/libcxx/atomics/atomics.align/align.pass.sh.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/atomics/atomics.align/align.pass.sh.cpp rename to libcudacxx/test/libcudacxx/libcxx/atomics/atomics.align/align.pass.sh.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/atomics/atomics.flag/init_bool.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/atomics/atomics.flag/init_bool.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/atomics/atomics.flag/init_bool.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/atomics/atomics.flag/init_bool.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/atomics/atomics.order/memory_order.underlying_type.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/atomics/atomics.order/memory_order.underlying_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/atomics/atomics.order/memory_order.underlying_type.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/atomics/atomics.order/memory_order.underlying_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/atomics/diagnose_invalid_memory_order.fail.cpp b/libcudacxx/test/libcudacxx/libcxx/atomics/diagnose_invalid_memory_order.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/atomics/diagnose_invalid_memory_order.fail.cpp rename to libcudacxx/test/libcudacxx/libcxx/atomics/diagnose_invalid_memory_order.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/atomics/libcpp-has-no-threads.fail.cpp b/libcudacxx/test/libcudacxx/libcxx/atomics/libcpp-has-no-threads.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/atomics/libcpp-has-no-threads.fail.cpp rename to libcudacxx/test/libcudacxx/libcxx/atomics/libcpp-has-no-threads.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/atomics/libcpp-has-no-threads.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/atomics/libcpp-has-no-threads.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/atomics/libcpp-has-no-threads.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/atomics/libcpp-has-no-threads.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/atomics/version.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/atomics/version.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/atomics/version.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/atomics/version.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/arithmetic.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/arithmetic.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/comparison.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/comparison.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/comparison.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/comparison.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/dereference.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/dereference.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/dereference.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/dereference.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/types.compile.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/types.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/iterators/bounded_iter/types.compile.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/iterators/bounded_iter/types.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/libcpp_alignof.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/libcpp_alignof.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/libcpp_alignof.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/libcpp_alignof.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/type_traits/is_constant_evaluated.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/type_traits/is_constant_evaluated.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/type_traits/is_constant_evaluated.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/type_traits/is_constant_evaluated.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/type_traits/is_implicitly_default_constructible.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/type_traits/is_implicitly_default_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/type_traits/is_implicitly_default_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/type_traits/is_implicitly_default_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/type_traits/is_pointer.arc.pass.mm b/libcudacxx/test/libcudacxx/libcxx/type_traits/is_pointer.arc.pass.mm similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/type_traits/is_pointer.arc.pass.mm rename to libcudacxx/test/libcudacxx/libcxx/type_traits/is_pointer.arc.pass.mm diff --git a/libcudacxx/.upstream-tests/test/libcxx/type_traits/lazy_metafunctions.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/type_traits/lazy_metafunctions.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/type_traits/lazy_metafunctions.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/type_traits/lazy_metafunctions.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/utilities/function.objects/abi_bug_cxx03_cxx11_example.sh.cpp b/libcudacxx/test/libcudacxx/libcxx/utilities/function.objects/abi_bug_cxx03_cxx11_example.sh.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/utilities/function.objects/abi_bug_cxx03_cxx11_example.sh.cpp rename to libcudacxx/test/libcudacxx/libcxx/utilities/function.objects/abi_bug_cxx03_cxx11_example.sh.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/utilities/meta/is_referenceable.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/utilities/meta/is_referenceable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/utilities/meta/is_referenceable.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/utilities/meta/is_referenceable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/utilities/meta/meta_base.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/utilities/meta/meta_base.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/utilities/meta/meta_base.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/utilities/meta/meta_base.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/utilities/meta/stress_tests/stress_test_is_same.sh.cpp b/libcudacxx/test/libcudacxx/libcxx/utilities/meta/stress_tests/stress_test_is_same.sh.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/utilities/meta/stress_tests/stress_test_is_same.sh.cpp rename to libcudacxx/test/libcudacxx/libcxx/utilities/meta/stress_tests/stress_test_is_same.sh.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/utilities/meta/stress_tests/stress_test_metafunctions.sh.cpp b/libcudacxx/test/libcudacxx/libcxx/utilities/meta/stress_tests/stress_test_metafunctions.sh.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/utilities/meta/stress_tests/stress_test_metafunctions.sh.cpp rename to libcudacxx/test/libcudacxx/libcxx/utilities/meta/stress_tests/stress_test_metafunctions.sh.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/utilities/meta/stress_tests/stress_test_variant_overloads_impl.sh.cpp b/libcudacxx/test/libcudacxx/libcxx/utilities/meta/stress_tests/stress_test_variant_overloads_impl.sh.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/utilities/meta/stress_tests/stress_test_variant_overloads_impl.sh.cpp rename to libcudacxx/test/libcudacxx/libcxx/utilities/meta/stress_tests/stress_test_variant_overloads_impl.sh.cpp diff --git a/libcudacxx/.upstream-tests/test/libcxx/utilities/meta/version.pass.cpp b/libcudacxx/test/libcudacxx/libcxx/utilities/meta/version.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/libcxx/utilities/meta/version.pass.cpp rename to libcudacxx/test/libcudacxx/libcxx/utilities/meta/version.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/lit.cfg b/libcudacxx/test/libcudacxx/lit.cfg similarity index 100% rename from libcudacxx/.upstream-tests/test/lit.cfg rename to libcudacxx/test/libcudacxx/lit.cfg diff --git a/libcudacxx/.upstream-tests/test/lit.site.cfg.in b/libcudacxx/test/libcudacxx/lit.site.cfg.in similarity index 100% rename from libcudacxx/.upstream-tests/test/lit.site.cfg.in rename to libcudacxx/test/libcudacxx/lit.site.cfg.in diff --git a/libcudacxx/.upstream-tests/test/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.fences/atomic_signal_fence.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.fences/atomic_signal_fence.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.fences/atomic_signal_fence.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.fences/atomic_signal_fence.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.fences/atomic_thread_fence.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.fences/atomic_thread_fence.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.fences/atomic_thread_fence.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.fences/atomic_thread_fence.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_wait.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_wait.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/atomic_flag_wait.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/atomic_flag_wait.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/clear.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/clear.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/clear.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/clear.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/copy_assign.fail.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/copy_assign.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/copy_assign.fail.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/copy_assign.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/copy_ctor.fail.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/copy_ctor.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/copy_ctor.fail.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/copy_ctor.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/copy_volatile_assign.fail.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/copy_volatile_assign.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/copy_volatile_assign.fail.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/copy_volatile_assign.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/default.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/init.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/init.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/test_and_set.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.flag/test_and_set.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.flag/test_and_set.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.flag/test_and_set.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.general/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.general/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.general/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.general/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.general/replace_failure_order.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.general/replace_failure_order.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.general/replace_failure_order.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.general/replace_failure_order.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.lockfree/lockfree.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.lockfree/lockfree.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.lockfree/lockfree.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.lockfree/lockfree.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.order/kill_dependency.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.order/kill_dependency.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.order/kill_dependency.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.order/kill_dependency.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.order/memory_order.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.order/memory_order.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.order/memory_order.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.order/memory_order.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.order/memory_order_new.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.order/memory_order_new.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.order/memory_order_new.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.order/memory_order_new.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.syn/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.syn/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.syn/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.syn/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/address.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/address.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/address.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/address.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/address_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/address_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/address_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/address_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/address_ref_constness.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/address_ref_constness.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/address_ref_constness.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/address_ref_constness.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/atomic_copyable.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/atomic_copyable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/atomic_copyable.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/atomic_copyable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/bool.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/bool.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/bool.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/bool.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/enum_class.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/enum_class.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/enum_class.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/enum_class.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/floating_point.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/floating_point.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/floating_point.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/floating_point.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/floating_point_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/floating_point_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/floating_point_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/floating_point_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/floating_point_ref_constness.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/floating_point_ref_constness.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/floating_point_ref_constness.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/floating_point_ref_constness.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/integral.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/integral.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/integral.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/integral.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/integral_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/integral_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/integral_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/integral_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/integral_ref_constness.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/integral_ref_constness.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/integral_ref_constness.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/integral_ref_constness.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/non_arithmetic.fail.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/non_arithmetic.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/non_arithmetic.fail.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/non_arithmetic.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/non_trivial.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/non_trivial.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/non_trivial.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/non_trivial.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/trivially_copyable.fail.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/trivially_copyable.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/trivially_copyable.fail.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/trivially_copyable.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/trivially_copyable_ref.fail.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/trivially_copyable_ref.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.generic/trivially_copyable_ref.fail.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.generic/trivially_copyable_ref.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.arith/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.arith/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.arith/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.arith/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.general/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.pointer/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.pointer/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.pointer/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.pointer/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.templ/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.templ/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.templ/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.templ/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_ref_member_wait.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_ref_member_wait.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_ref_member_wait.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_ref_member_wait.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/atomics/atomics.types.operations/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/atomics/atomics.types.operations/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.equiv/equivalence_relation.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.equiv/equivalence_relation.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.equiv/equivalence_relation.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.equiv/equivalence_relation.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.equiv/equivalence_relation.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.equiv/equivalence_relation.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.equiv/equivalence_relation.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.equiv/equivalence_relation.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.predicate/predicate.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.predicate/predicate.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.predicate/predicate.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.predicate/predicate.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.predicate/predicate.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.relation/relation.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.relation/relation.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.relation/relation.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.relation/relation.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.relation/relation.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.relation/relation.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.relation/relation.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.relation/relation.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.callable/concept.strictweakorder/strict_weak_order.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable_with.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable_with.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable_with.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable_with.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.assignable/assignable_from.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.assignable/assignable_from.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.assignable/assignable_from.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.assignable/assignable_from.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.constructible/constructible_from.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.constructible/constructible_from.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.constructible/constructible_from.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.constructible/constructible_from.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.convertible/convertible_to.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.convertible/convertible_to.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.convertible/convertible_to.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.convertible/convertible_to.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.copyconstructible/copy_constructible.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.copyconstructible/copy_constructible.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.copyconstructible/copy_constructible.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.copyconstructible/copy_constructible.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.default.init/default_initializable.verify.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.default.init/default_initializable.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.default.init/default_initializable.verify.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.default.init/default_initializable.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.derived/derived_from.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.derived/derived_from.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.derived/derived_from.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.derived/derived_from.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.destructible/destructible.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.destructible/destructible.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.destructible/destructible.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.destructible/destructible.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.moveconstructible/move_constructible.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.moveconstructible/move_constructible.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.moveconstructible/move_constructible.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.moveconstructible/move_constructible.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.same/same_as.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.same/same_as.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.same/same_as.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.same/same_as.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.swappable/swappable.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.swappable/swappable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.swappable/swappable.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.swappable/swappable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.swappable/swappable_with.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.swappable/swappable_with.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concept.swappable/swappable_with.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concept.swappable/swappable_with.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/arithmetic.h b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/arithmetic.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/arithmetic.h rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/arithmetic.h diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.object/copyable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.object/copyable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.object/copyable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.object/copyable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.object/movable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.object/movable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.object/movable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.object/movable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.object/regular.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.object/regular.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.object/regular.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.object/regular.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/concepts/concepts.object/semiregular.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/concepts/concepts.object/semiregular.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/concepts/concepts.object/semiregular.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/concepts/concepts.object/semiregular.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/deduct.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/deduct.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/deduct.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/deduct.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/deduct.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/deduct.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/deduct.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/deduct.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/default.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/initializer_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.cons/initializer_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.data/data.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.data/data.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.data/data.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.data/data.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.data/data_const.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.data/data_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.data/data_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.data/data_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.fill/fill.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.fill/fill.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.fill/fill.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.fill/fill.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.fill/fill.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.fill/fill.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.fill/fill.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.fill/fill.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.size/size.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.size/size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.size/size.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.size/size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.special/swap.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.special/swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.special/swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.special/swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.swap/swap.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.swap/swap.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.swap/swap.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.swap/swap.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.swap/swap.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.swap/swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.swap/swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.swap/swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get_rv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/get_rv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/tuple_element.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.tuple/tuple_size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/array.zero/tested_elsewhere.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/at.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/at.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/at.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/at.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/begin.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/begin.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/begin.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/begin.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/compare.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/compare.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/compare.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/compare.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/compare.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/compare.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/compare.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/compare.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/contiguous.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/contiguous.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/contiguous.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/contiguous.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/empty.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/empty.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/empty.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/empty.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/empty.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/empty.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/empty.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/empty.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/front_back.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/front_back.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/front_back.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/front_back.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/indexing.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/indexing.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/indexing.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/indexing.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/iterators.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/iterators.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/iterators.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/iterators.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/max_size.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/max_size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/max_size.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/max_size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/size_and_alignment.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/size_and_alignment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/size_and_alignment.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/size_and_alignment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/sequences/array/types.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/sequences/array/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/sequences/array/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/sequences/array/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/foo_customizations.hpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/foo_customizations.hpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/foo_customizations.hpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/foo_customizations.hpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.accessor.default.members/access.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.accessor.default.members/access.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.accessor.default.members/access.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.accessor.default.members/access.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.accessor.default.members/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.accessor.default.members/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.accessor.default.members/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.accessor.default.members/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.accessor.default.members/offset.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.accessor.default.members/offset.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.accessor.default.members/offset.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.accessor.default.members/offset.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cmp/compare.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cmp/compare.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cmp/compare.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cmp/compare.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/array.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/array.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/convertible_to_size_t.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/convertible_to_size_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/convertible_to_size_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/convertible_to_size_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/default.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/param_pack.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/param_pack.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/param_pack.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/param_pack.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/span.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/span.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.cons/span.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.cons/span.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.obs/extent.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.obs/extent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.obs/extent.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.obs/extent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.obs/rank.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.obs/rank.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.obs/rank.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.obs/rank.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.obs/static_extent.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.obs/static_extent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.obs/static_extent.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.obs/static_extent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.overview/extents_element.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.overview/extents_element.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.overview/extents_element.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.overview/extents_element.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.overview/index_type.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.overview/index_type.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.overview/index_type.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.overview/index_type.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.util/extents_util.hpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.util/extents_util.hpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.extents.util/extents_util.hpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.extents.util/extents_util.hpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.cons/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.cons/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.cons/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.cons/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.cons/layout_right_init.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.cons/layout_right_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.cons/layout_right_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.cons/layout_right_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.cons/layout_stride_init.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.cons/layout_stride_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.cons/layout_stride_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.cons/layout_stride_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.cons/list_init.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.cons/list_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.cons/list_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.cons/list_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/compare.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/compare.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/compare.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/compare.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/compare.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/compare.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/compare.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/compare.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/extents.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/extents.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/extents.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/extents.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/is_exhaustive.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/is_exhaustive.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/is_exhaustive.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/is_exhaustive.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/is_strided.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/is_strided.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/is_strided.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/is_strided.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/is_unique.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/is_unique.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/is_unique.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/is_unique.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/paren_op.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/paren_op.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/paren_op.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/paren_op.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/required_span_size.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/required_span_size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/required_span_size.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/required_span_size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/stride.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/stride.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.left.obs/stride.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.left.obs/stride.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.cons/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.cons/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.cons/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.cons/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.cons/layout_left_init.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.cons/layout_left_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.cons/layout_left_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.cons/layout_left_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.cons/layout_stride_init.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.cons/layout_stride_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.cons/layout_stride_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.cons/layout_stride_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.cons/list_init.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.cons/list_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.cons/list_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.cons/list_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/compare.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/compare.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/compare.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/compare.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/compare.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/compare.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/compare.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/compare.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/extents.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/extents.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/extents.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/extents.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/is_exhaustive.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/is_exhaustive.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/is_exhaustive.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/is_exhaustive.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/is_strided.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/is_strided.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/is_strided.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/is_strided.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/is_unique.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/is_unique.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/is_unique.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/is_unique.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/paren_op.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/paren_op.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/paren_op.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/paren_op.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/required_span_size.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/required_span_size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/required_span_size.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/required_span_size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/stride.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/stride.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.right.obs/stride.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.right.obs/stride.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.cons/list_init.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.cons/list_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.cons/list_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.cons/list_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.fail.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.fail.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/compare.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/extents.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/extents.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/extents.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/extents.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/is_exhaustive.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/is_exhaustive.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/is_exhaustive.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/is_exhaustive.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/is_strided.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/is_strided.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/is_strided.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/is_strided.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/is_unique.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/is_unique.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/is_unique.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/is_unique.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/paren_op.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/paren_op.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/paren_op.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/paren_op.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/required_span_size.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/required_span_size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/required_span_size.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/required_span_size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/stride.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/stride.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/stride.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/stride.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/strides.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/strides.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.stride.obs/strides.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.stride.obs/strides.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.util/layout_util.hpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.util/layout_util.hpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.layout.util/layout_util.hpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.layout.util/layout_util.hpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/array_init_extents.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/array_init_extents.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/array_init_extents.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/array_init_extents.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_c_array.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_c_array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_c_array.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_c_array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_const_c_array.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_const_c_array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_const_c_array.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_const_c_array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_copy.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents_pack.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents_pack.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents_pack.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_extents_pack.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_layouts.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_layouts.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_layouts.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_layouts.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_mapping.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_mapping.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_mapping.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_mapping.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/ctad_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/custom_accessor.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/custom_accessor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/custom_accessor.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/custom_accessor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/custom_layout.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/custom_layout.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/custom_layout.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/custom_layout.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/data_c_array.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/data_c_array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/data_c_array.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/data_c_array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/default.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/extents.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/extents.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/extents.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/extents.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/extents_pack.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/extents_pack.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/extents_pack.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/extents_pack.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_left.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_left.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_left.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_left.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_right.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_right.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_right.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_right.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_stride.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_stride.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_stride.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/list_init_layout_stride.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/mapping.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/mapping.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/mapping.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/mapping.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/span_init_extents.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/span_init_extents.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.cons/span_init_extents.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.cons/span_init_extents.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/accessor.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/accessor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/accessor.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/accessor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/brackets_op.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/brackets_op.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/brackets_op.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/brackets_op.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/data_handle.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/data_handle.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/data_handle.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/data_handle.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/empty.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/empty.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/empty.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/empty.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/extent.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/extent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/extent.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/extent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/extents.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/extents.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/extents.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/extents.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/is_exhaustive.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/is_exhaustive.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/is_exhaustive.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/is_exhaustive.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/is_strided.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/is_strided.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/is_strided.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/is_strided.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/is_unique.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/is_unique.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/is_unique.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/is_unique.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/mapping.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/mapping.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/mapping.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/mapping.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/rank.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/rank.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/rank.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/rank.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/size.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/size.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/stride.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/stride.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/stride.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/stride.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/swap.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.members/swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.members/swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.util/mdspan_util.hpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.util/mdspan_util.hpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.mdspan.util/mdspan_util.hpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.mdspan.util/mdspan_util.hpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.submdspan.submdspan/dim_reduction.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.submdspan.submdspan/dim_reduction.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.submdspan.submdspan/dim_reduction.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.submdspan.submdspan/dim_reduction.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.submdspan.submdspan/pair_init.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.submdspan.submdspan/pair_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.submdspan.submdspan/pair_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.submdspan.submdspan/pair_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.submdspan.submdspan/return_type.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.submdspan.submdspan/return_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.submdspan.submdspan/return_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.submdspan.submdspan/return_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.submdspan.submdspan/tuple_init.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.submdspan.submdspan/tuple_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/mdspan.submdspan.submdspan/tuple_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan.submdspan.submdspan/tuple_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/my_accessor.hpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/my_accessor.hpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/my_accessor.hpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/my_accessor.hpp diff --git a/libcudacxx/.upstream-tests/test/std/containers/views/mdspan/my_int.hpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/my_int.hpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/containers/views/mdspan/my_int.hpp rename to libcudacxx/test/libcudacxx/std/containers/views/mdspan/my_int.hpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.container/data.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.container/data.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.container/data.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.container/data.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.container/empty.array.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.container/empty.array.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.container/empty.array.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.container/empty.array.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.container/empty.container.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.container/empty.container.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.container/empty.container.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.container/empty.container.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.container/empty.initializer_list.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.container/empty.initializer_list.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.container/empty.initializer_list.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.container/empty.initializer_list.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.container/empty.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.container/empty.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.container/empty.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.container/empty.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.container/size.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.container/size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.container/size.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.container/size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.container/ssize.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.container/ssize.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.container/ssize.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.container/ssize.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.basic/iterator.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.operations/distance.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.operations/next.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.operations/next.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.operations/next.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.operations/next.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/const_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/const_volatile_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/iter_reference_t.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/iter_reference_t.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/iter_reference_t.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/iter_reference_t.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/iterator.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/iterator.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/iterator.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/iterator.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/iterator.traits/volatile_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_sentinel.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_sentinel.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_sentinel.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_sentinel.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/constraints.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/constraints.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/constraints.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/constraints.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count_sentinel.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count_sentinel.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count_sentinel.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_count_sentinel.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_sentinel.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_sentinel.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_sentinel.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/iterator_sentinel.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/types.h b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/types.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/range.iter.ops/types.h rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/range.iter.ops/types.h diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/contiguous_iterator_tag.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/contiguous_iterator_tag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/contiguous_iterator_tag.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/contiguous_iterator_tag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.range/begin-end.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.range/begin-end.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.range/begin-end.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.range/begin-end.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.range/begin-end.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.range/begin-end.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.range/begin-end.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.range/begin-end.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.copy/indirectly_copyable_storable.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.ind.swap/indirectly_swappable.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.permutable/permutable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.permutable/permutable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.permutable/permutable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.permutable/permutable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.permutable/permutable.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.permutable/permutable.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.permutable/permutable.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.permutable/permutable.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.sortable/sortable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.sortable/sortable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.sortable/sortable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.sortable/sortable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.sortable/sortable.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.sortable/sortable.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/alg.req.sortable/sortable.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/alg.req.sortable/sortable.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/bidirectional.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/bidirectional.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/bidirectional.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/bidirectional.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/forward.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/forward.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/forward.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/forward.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_result_t.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_result_t.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_result_t.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_result_t.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/input.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/input.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/input.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/input.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/incrementable_traits.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/incrementable_traits.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/incrementable_traits.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/incrementable_traits.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/iter_difference_t.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/iter_difference_t.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/iter_difference_t.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/iter_difference_t.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/indirectly_readable_traits.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/indirectly_readable_traits.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/indirectly_readable_traits.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/indirectly_readable_traits.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/incrementable.h b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/incrementable.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/incrementable.h rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/incrementable.h diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/forward_iterator.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.forward/subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/incrementable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/incrementable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/incrementable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/incrementable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.inc/subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/input_iterator.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.input/subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.output/output_iterator.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.output/output_iterator.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.output/output_iterator.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.output/output_iterator.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/contiguous_iterator.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/contiguous_iterator.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/contiguous_iterator.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/contiguous_iterator.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/indirectly_readable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/indirectly_readable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/indirectly_readable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/indirectly_readable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/iter_common_reference_t.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/iter_common_reference_t.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/iter_common_reference_t.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/iter_common_reference_t.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.subsumption.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.subsumption.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.subsumption.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sentinel_for.subsumption.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sized_sentinel_for.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sized_sentinel_for.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sized_sentinel_for.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sized_sentinel_for.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.winc/weakly_incrementable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.winc/weakly_incrementable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.winc/weakly_incrementable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.winc/weakly_incrementable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.writable/indirectly_writable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.writable/indirectly_writable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.writable/indirectly_writable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.writable/indirectly_writable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.nodiscard.verify.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.nodiscard.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.nodiscard.verify.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.nodiscard.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_rvalue_reference_t.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_rvalue_reference_t.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_rvalue_reference_t.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_rvalue_reference_t.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/unqualified_lookup_wrapper.h b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/unqualified_lookup_wrapper.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.cust/unqualified_lookup_wrapper.h rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.cust/unqualified_lookup_wrapper.h diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.requirements.general/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.requirements.general/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/iterator.requirements.general/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/iterator.requirements.general/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/output.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/output.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/output.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/output.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/random.access.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/random.access.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.requirements/random.access.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.requirements/random.access.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterator.synopsis/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterator.synopsis/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterator.synopsis/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterator.synopsis/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterators.general/gcc_workaround.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterators.general/gcc_workaround.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterators.general/gcc_workaround.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterators.general/gcc_workaround.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/iterators.general/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/iterators.general/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/iterators.general/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/iterators.general/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/default.sentinel/default.sentinel.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/default.sentinel/default.sentinel.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/default.sentinel/default.sentinel.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/default.sentinel/default.sentinel.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/lv_value.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/lv_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/lv_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/lv_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/rv_value.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/rv_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/rv_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/rv_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/post.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/post.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/post.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/post.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/pre.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/pre.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/pre.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_increment/pre.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/lv_value.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/lv_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/lv_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/lv_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/rv_value.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/rv_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/rv_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/rv_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/post.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/post.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/post.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/post.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/pre.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/pre.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/pre.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/pre.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/lv_value.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/lv_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/lv_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/lv_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/rv_value.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/rv_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/rv_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_assign/rv_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/post.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/post.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/post.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/post.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/pre.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/pre.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/pre.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_increment/pre.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/insert.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/make_move_iterator.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_eq.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_eq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_eq.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_eq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gt.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_gte.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lt.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lt.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lt.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lt.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_lte.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_neq.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_neq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_neq.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_neq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/default.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/tested_elsewhere.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/tested_elsewhere.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/tested_elsewhere.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.conv/tested_elsewhere.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/post.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/post.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/post.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/post.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/pre.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/pre.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/pre.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.decr/pre.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/post.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/post.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/post.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/post.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/pre.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/pre.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/pre.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.incr/pre.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.ref/op_arrow.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.ref/op_arrow.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.ref/op_arrow.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.ref/op_arrow.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/op_star.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/op_star.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/op_star.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/op_star.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance_back/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance_back/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance_back/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_advance_back/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_assign/move_iterator.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_diff/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_diff/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_diff/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_diff/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_plus/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_plus/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_plus/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op_plus/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.ops/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.requirements/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.requirements/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iter.requirements/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iter.requirements/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/assign.converting.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/assign.converting.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/assign.converting.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/assign.converting.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/base.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/base.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/base.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/base.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/concept_conformance.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/concept_conformance.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/concept_conformance.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/concept_conformance.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/constraints.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/constraints.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/constraints.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/constraints.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.converting.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.converting.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.converting.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.converting.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.default.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.default.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.sentinel.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.sentinel.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.sentinel.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/ctor.sentinel.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/op_eq.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/op_eq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/move.sentinel/op_eq.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/move.sentinel/op_eq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/move.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/move.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/default.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.conv/tested_elsewhere.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.conv/tested_elsewhere.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.conv/tested_elsewhere.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.conv/tested_elsewhere.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance_back/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance_back/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance_back/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance_back/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/post.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/post.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/post.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/post.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/pre.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/pre.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/pre.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_decrement/pre.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_eq/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_eq/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_eq/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_eq/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_geq/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_geq/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_geq/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_geq/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_gt/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_gt/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_gt/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_gt/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/post.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/post.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/post.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/post.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/pre.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/pre.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/pre.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_increment/pre.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_leq/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_leq/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_leq/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_leq/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_lt/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_lt/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_lt/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_lt/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_minus/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_minus/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_minus/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_minus/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_ne/test.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_ne/test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_ne/test.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_ne/test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_plus/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_plus/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_plus/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_plus/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_star/op_star.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_star/op_star.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_star/op_star.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_star/op_star.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/difference_type.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/difference_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/difference_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/difference_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/unreachable.sentinel/unreachable_sentinel.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/predef.iterators/unreachable.sentinel/unreachable_sentinel.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/predef.iterators/unreachable.sentinel/unreachable_sentinel.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/predef.iterators/unreachable.sentinel/unreachable_sentinel.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.fail.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.fail.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/istream.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/istream.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/istream.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/istream.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/arrow.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/arrow.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/arrow.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/arrow.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/dereference.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/dereference.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/dereference.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/dereference.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/equal.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/post_increment.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/post_increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/post_increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/post_increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/pre_increment.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/pre_increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/pre_increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/istream.iterator.ops/pre_increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istream.iterator/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/default.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/istream.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/istream.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/istream.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/istream.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/proxy.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/proxy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/proxy.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/proxy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/streambuf.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/streambuf.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/streambuf.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/streambuf.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/equal.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/post_increment.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/post_increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/post_increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/post_increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/pre_increment.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/pre_increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/pre_increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/pre_increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_eq/equal.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_eq/equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_eq/equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_eq/equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_increment/dereference.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_increment/dereference.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_increment/dereference.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_increment/dereference.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_ne/not_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_ne/not_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_ne/not_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_ne/not_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_proxy/proxy.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_proxy/proxy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_proxy/proxy.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_proxy/proxy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/begin_array.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/begin_array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/begin_array.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/begin_array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/begin_const.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/begin_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/begin_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/begin_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/begin_non_const.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/begin_non_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/begin_non_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/begin_non_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/end_array.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/end_array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/end_array.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/end_array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/end_const.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/end_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/end_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/end_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/end_non_const.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/end_non_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/iterator.range/end_non_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/iterator.range/end_non_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream_delim.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream_delim.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream_delim.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/ostream_delim.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/dereference.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/dereference.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/dereference.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/dereference.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/increment.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ostream.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ostream.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ostream.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/ostream.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/streambuf.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/streambuf.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/streambuf.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/streambuf.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/assign_c.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/assign_c.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/assign_c.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/assign_c.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/deref.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/deref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/deref.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/deref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/increment.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp b/libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.general/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.general/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.general/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.general/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/c.limits/climits.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/c.limits/climits.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/c.limits/climits.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/c.limits/climits.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/is_specialized.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/is_specialized.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/is_specialized.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/is_specialized.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.special/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.special/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/numeric.special/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.special/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/round.style/check_values.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/round.style/check_values.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/limits/round.style/check_values.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/round.style/check_values.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.limits/version.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.limits/version.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.limits/version.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.limits/version.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byte.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byte.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byte.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byte.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/and.assign.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/and.assign.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/and.assign.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/and.assign.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/and.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/and.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/and.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/and.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/enum_direct_init.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/enum_direct_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/enum_direct_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/enum_direct_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/lshift.assign.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/lshift.assign.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/lshift.assign.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/lshift.assign.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/lshift.fail.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/lshift.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/lshift.fail.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/lshift.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/lshift.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/lshift.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/lshift.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/lshift.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/not.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/not.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/not.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/not.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/or.assign.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/or.assign.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/or.assign.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/or.assign.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/or.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/or.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/or.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/or.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/rshift.assign.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/rshift.assign.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/rshift.assign.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/rshift.assign.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/rshift.fail.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/rshift.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/rshift.fail.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/rshift.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/rshift.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/rshift.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/rshift.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/rshift.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/to_integer.fail.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/to_integer.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/to_integer.fail.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/to_integer.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/to_integer.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/to_integer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/to_integer.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/to_integer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/xor.assign.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/xor.assign.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/xor.assign.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/xor.assign.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/xor.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/xor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/byteops/xor.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/byteops/xor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/max_align_t.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/max_align_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/max_align_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/max_align_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/null.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/null.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/null.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/null.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/nullptr_t.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/nullptr_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/nullptr_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/nullptr_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/nullptr_t_integral_cast.fail.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/nullptr_t_integral_cast.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/nullptr_t_integral_cast.fail.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/nullptr_t_integral_cast.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/offsetof.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/offsetof.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/offsetof.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/offsetof.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/ptrdiff_t.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/ptrdiff_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/ptrdiff_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/ptrdiff_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/language.support/support.types/size_t.pass.cpp b/libcudacxx/test/libcudacxx/std/language.support/support.types/size_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/language.support/support.types/size_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/language.support/support.types/size_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bit.endian/endian.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bit.endian/endian.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bit.endian/endian.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bit.endian/endian.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/bit_width.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/bit_width.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/countl_one.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/countl_one.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/countl_one.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/countl_one.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/countl_zero.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/countl_zero.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/countr_one.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/countr_one.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/countr_one.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/countr_one.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/countr_zero.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/countr_zero.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/popcount.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/popcount.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.count/popcount.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bitops.count/popcount.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.rot/rotl.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bitops.rot/rotl.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.rot/rotl.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bitops.rot/rotl.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.rot/rotr.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/bitops.rot/rotr.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/bitops.rot/rotr.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/bitops.rot/rotr.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/invocable.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/invocable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/invocable.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/invocable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/bit/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/bit/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/bit/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/bit/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/cases.h b/libcudacxx/test/libcudacxx/std/numerics/complex.number/cases.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/cases.h rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/cases.h diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/UDT_is_rejected.fail.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/UDT_is_rejected.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/UDT_is_rejected.fail.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/UDT_is_rejected.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/arg.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/arg.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/arg.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/arg.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/conj.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/conj.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/conj.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/conj.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/imag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/imag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/norm.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/norm.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/norm.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/norm.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/pow.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/pow.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/pow.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/pow.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/proj.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/proj.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/proj.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/proj.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/real.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/real.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/cmplx.over/real.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/cmplx.over/real.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/assignment_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/assignment_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/assignment_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/assignment_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/assignment_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/assignment_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/assignment_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/assignment_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/divide_equal_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/divide_equal_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/divide_equal_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/divide_equal_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/minus_equal_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/minus_equal_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/minus_equal_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/minus_equal_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/minus_equal_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/minus_equal_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/minus_equal_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/minus_equal_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/plus_equal_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/plus_equal_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/plus_equal_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/plus_equal_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/plus_equal_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/plus_equal_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/plus_equal_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/plus_equal_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/times_equal_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/times_equal_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/times_equal_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/times_equal_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/times_equal_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/times_equal_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.member.ops/times_equal_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.member.ops/times_equal_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.members/construct.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.members/construct.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.members/construct.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.members/construct.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.members/real_imag.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.members/real_imag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.members/real_imag.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.members/real_imag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_divide_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_divide_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_divide_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_divide_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_minus_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_minus_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_minus_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_minus_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_minus_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_minus_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_minus_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_minus_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_plus_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_plus_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_plus_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_plus_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_plus_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_plus_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_plus_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_plus_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_times_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_times_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_times_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_times_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_times_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_times_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/complex_times_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/complex_times_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_divide_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_divide_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_divide_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_divide_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_minus_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_minus_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_minus_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_minus_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_plus_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_plus_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_plus_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_plus_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_times_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_times_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/scalar_times_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/scalar_times_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/unary_minus.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/unary_minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/unary_minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/unary_minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/unary_plus.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/unary_plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.ops/unary_plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.ops/unary_plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.special/double_float_implicit.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.special/double_float_implicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.special/double_float_implicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.special/double_float_implicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.special/float_double_implicit.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.special/float_double_implicit.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.special/float_double_implicit.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.special/float_double_implicit.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.synopsis/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.synopsis/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.synopsis/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.synopsis/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/acos.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/acos.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/acos.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/acos.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/acosh.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/acosh.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/acosh.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/acosh.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/asin.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/asin.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/asin.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/asin.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/asinh.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/asinh.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/asinh.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/asinh.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/atan.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/atan.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/atan.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/atan.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/atanh.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/atanh.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/atanh.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/atanh.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/cos.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/cosh.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/exp.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/exp.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/exp.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/exp.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/log.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/log.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/log.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/log.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/log10.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/pow_complex_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/pow_complex_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/pow_scalar_complex.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/sin.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/sinh.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/sqrt.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/sqrt.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/sqrt.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/sqrt.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/tan.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/abs.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/abs.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/abs.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/abs.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/arg.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/arg.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/arg.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/arg.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/conj.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/conj.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/conj.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/conj.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/imag.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/imag.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/imag.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/imag.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/norm.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/norm.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/norm.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/norm.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/polar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/polar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/proj.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/proj.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/proj.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/proj.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/real.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/real.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex.value.ops/real.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex.value.ops/real.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex/abi_latest.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex/abi_latest.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex/abi_latest.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex/abi_latest.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex/abi_v3.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex/abi_v3.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex/abi_v3.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex/abi_v3.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex/types.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/complex/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/complex/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/numerics/complex.number/layout.pass.cpp b/libcudacxx/test/libcudacxx/std/numerics/complex.number/layout.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/numerics/complex.number/layout.pass.cpp rename to libcudacxx/test/libcudacxx/std/numerics/complex.number/layout.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/arrive.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/arrive.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/arrive.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/arrive.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/arrive_and_drop.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/arrive_and_drop.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/arrive_and_drop.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/arrive_and_drop.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/arrive_and_wait.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/arrive_and_wait.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/arrive_and_wait.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/arrive_and_wait.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/completion.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/completion.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/completion.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/completion.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/max.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/max.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/max.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/max.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/try_wait_for.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/try_wait_for.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/try_wait_for.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/try_wait_for.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/try_wait_parity_for.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/try_wait_parity_for.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/try_wait_parity_for.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/try_wait_parity_for.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/try_wait_parity_until.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/try_wait_parity_until.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/try_wait_parity_until.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/try_wait_parity_until.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/try_wait_until.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/try_wait_until.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/try_wait_until.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/try_wait_until.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.barrier/version.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.barrier/version.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.barrier/version.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.barrier/version.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.latch/arrive_and_wait.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.latch/arrive_and_wait.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.latch/arrive_and_wait.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.latch/arrive_and_wait.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.latch/count_down.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.latch/count_down.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.latch/count_down.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.latch/count_down.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.latch/max.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.latch/max.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.latch/max.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.latch/max.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.latch/try_wait.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.latch/try_wait.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.latch/try_wait.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.latch/try_wait.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.latch/version.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.latch/version.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.latch/version.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.latch/version.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/acquire.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.semaphore/acquire.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/acquire.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.semaphore/acquire.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/max.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.semaphore/max.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/max.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.semaphore/max.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/release.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.semaphore/release.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/release.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.semaphore/release.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/timed.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.semaphore/timed.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/timed.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.semaphore/timed.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/try_acquire.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.semaphore/try_acquire.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/try_acquire.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.semaphore/try_acquire.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/version.pass.cpp b/libcudacxx/test/libcudacxx/std/thread/thread.semaphore/version.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/thread/thread.semaphore/version.pass.cpp rename to libcudacxx/test/libcudacxx/std/thread/thread.semaphore/version.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.bad/ctor.error.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.bad/ctor.error.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.bad/ctor.error.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.bad/ctor.error.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.bad/error.member.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.bad/error.member.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.bad/error.member.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.bad/error.member.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.bad/what.noexcept.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.bad/what.noexcept.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.bad/what.noexcept.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.bad/what.noexcept.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.U.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.U.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.U.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.U.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/emplace.intializer_list.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/emplace.intializer_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/emplace.intializer_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/emplace.intializer_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/emplace.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/emplace.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/assign/emplace.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/assign/emplace.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.convert.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.convert.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.convert.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.convert.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.convert.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.convert.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.convert.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.convert.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.default.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.default.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.inplace.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.inplace.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.inplace.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.inplace.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.u.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.u.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.u.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.u.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.unexpect.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.unexpect.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.unexpected.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.unexpected.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.unexpected.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/ctor/ctor.unexpected.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/dtor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/dtor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/dtor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/dtor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/equality/equality.T2.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/equality/equality.T2.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/equality/equality.T2.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/equality/equality.T2.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/equality/equality.other_expected.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/equality/equality.other_expected.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/equality/equality.other_expected.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/equality/equality.other_expected.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/equality/equality.unexpected.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/equality/equality.unexpected.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/equality/equality.unexpected.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/equality/equality.unexpected.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/monadic/or_else.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/monadic/or_else.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/monadic/or_else.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/monadic/or_else.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/monadic/transform.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/monadic/transform.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/arrow.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/arrow.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/arrow.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/arrow.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/bool.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/bool.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/bool.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/bool.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/deref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/deref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/deref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/deref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/error.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/error.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/error.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/error.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/has_value.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/has_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/has_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/has_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/value.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/value.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/value_or.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/value_or.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/observers/value_or.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/observers/value_or.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/swap/member.swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/swap/member.swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.expected/swap/member.swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.expected/swap/member.swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/assign/assign.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/assign/assign.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/assign/assign.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/assign/assign.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/assign/assign.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/assign/assign.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/assign/assign.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/assign/assign.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctad.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctad.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctad.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctad.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.error.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.error.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.error.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.error.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.inplace.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.inplace.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.inplace.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.inplace.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.inplace_init_list.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.inplace_init_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.inplace_init_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.inplace_init_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/ctor/ctor.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/ctor/ctor.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/equality.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/equality.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/equality.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/equality.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/observer/error.const_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/observer/error.const_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/observer/error.const_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/observer/error.const_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/observer/error.const_ref_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/observer/error.const_ref_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/observer/error.const_ref_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/observer/error.const_ref_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/observer/error.ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/observer/error.ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/observer/error.ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/observer/error.ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/observer/error.ref_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/observer/error.ref_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/observer/error.ref_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/observer/error.ref_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/swap/swap.free.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/swap/swap.free.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/swap/swap.free.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/swap/swap.free.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/swap/swap.member.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/swap/swap.member.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.unexpected/swap/swap.member.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.unexpected/swap/swap.member.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/assign.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/assign.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/assign.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/assign.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/emplace.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/emplace.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/assign/emplace.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/assign/emplace.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.convert.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.convert.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.convert.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.convert.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.convert.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.convert.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.convert.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.convert.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.default.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.default.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.inplace.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.inplace.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.inplace.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.inplace.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.unexpect.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.unexpect.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.unexpect.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.unexpect.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.unexpected.copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.unexpected.copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.unexpected.copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.unexpected.copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.unexpected.move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.unexpected.move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/ctor/ctor.unexpected.move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/ctor/ctor.unexpected.move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/dtor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/dtor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/dtor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/dtor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/equality/equality.other_expected.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/equality/equality.other_expected.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/equality/equality.other_expected.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/equality/equality.other_expected.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/equality/equality.unexpected.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/equality/equality.unexpected.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/equality/equality.unexpected.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/equality/equality.unexpected.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/monadic/and_then.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/monadic/and_then.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/monadic/and_then.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/monadic/and_then.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/monadic/or_else.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/monadic/or_else.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/monadic/or_else.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/monadic/or_else.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/monadic/transform.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/monadic/transform.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/monadic/transform.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/monadic/transform.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/bool.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/bool.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/bool.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/bool.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/deref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/deref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/deref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/deref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/error.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/error.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/error.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/error.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/has_value.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/has_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/has_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/has_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/value.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/observers/value.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/observers/value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/swap/free.swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/swap/free.swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/swap/free.swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/swap/free.swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/swap/member.swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/swap/member.swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/expected.void/swap/member.swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/expected/expected.void/swap/member.swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/expected/types.h b/libcudacxx/test/libcudacxx/std/utilities/expected/types.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/expected/types.h rename to libcudacxx/test/libcudacxx/std/utilities/expected/types.h diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/transparent.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/transparent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/arithmetic.operations/transparent.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/arithmetic.operations/transparent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/bit_not.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/bit_not.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/bit_not.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/bit_not.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/transparent.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/transparent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/bitwise.operations/transparent.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/bitwise.operations/transparent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/constexpr_init.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/constexpr_init.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/constexpr_init.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/constexpr_init.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/equal_to.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/equal_to.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/equal_to.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/equal_to.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/greater.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/greater.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/greater.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/greater.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/greater_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/greater_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/less.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/less.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/less.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/less.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/less_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/less_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/less_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/less_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/not_equal_to.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/not_equal_to.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/not_equal_to.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/not_equal_to.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.hpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.hpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.hpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.hpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/transparent.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/transparent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/comparisons/transparent.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/comparisons/transparent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.bind_front/bind_front.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.bind_front/bind_front.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.bind_front/bind_front.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.bind_front/bind_front.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.bind_front/bind_front.verify.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.bind_front/bind_front.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.bind_front/bind_front.verify.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.bind_front/bind_front.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.def/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.def/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.def/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.def/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.identity/identity.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.identity/identity.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.identity/identity.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.identity/identity.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.invoke/invoke.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.invoke/invoke.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.invoke/invoke.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_data.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_data.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_data.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_data.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_data.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_data.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_data.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_data.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_function.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_function.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_function.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_function.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_function_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_function_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_function_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_function_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_function_const_volatile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_function_const_volatile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_function_const_volatile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_function_const_volatile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_function_volatile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_function_volatile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.memfn/member_function_volatile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.memfn/member_function_volatile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.require/INVOKE_tested_elsewhere.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.require/INVOKE_tested_elsewhere.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.require/INVOKE_tested_elsewhere.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.require/INVOKE_tested_elsewhere.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.require/binary_function.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.require/binary_function.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.require/binary_function.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.require/binary_function.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.require/unary_function.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/func.require/unary_function.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/func.require/unary_function.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/func.require/unary_function.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/logical.operations/logical_and.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/logical.operations/logical_and.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/logical.operations/logical_not.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/logical.operations/logical_not.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/logical.operations/logical_or.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/logical.operations/logical_or.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/logical.operations/transparent.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/logical.operations/transparent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/logical.operations/transparent.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/logical.operations/transparent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/binary_negate.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/binary_negate.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/binary_negate.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/binary_negate.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/not1.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/not1.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/not1.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/not1.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/not2.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/not2.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/not2.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/not2.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/unary_negate.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/unary_negate.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/negators/unary_negate.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/negators/unary_negate.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/equal_to.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/equal_to.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/equal_to.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/equal_to.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/greater.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/greater.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/greater.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/greater.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/greater_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/greater_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/greater_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/greater_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/less.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/less.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/less.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/less.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/less_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/less_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/less_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/less_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/not_equal_to.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/not_equal_to.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/range.cmp/not_equal_to.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/range.cmp/not_equal_to.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/binder_typedefs.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/binder_typedefs.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/binder_typedefs.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/binder_typedefs.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/ctor.incomplete.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/ctor.incomplete.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/ctor.incomplete.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/ctor.incomplete.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/deduct.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/deduct.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/deduct.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/deduct.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor2.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor2.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor2.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor2.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref.incomplete.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/cref.incomplete.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref.incomplete.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/cref.incomplete.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/lwg3146.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/lwg3146.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/lwg3146.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/lwg3146.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref.incomplete.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/ref.incomplete.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref.incomplete.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/ref.incomplete.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.incomplete.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.incomplete.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.incomplete.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.incomplete.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_int_0.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_int_0.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_int_0.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_int_0.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_void_0.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_void_0.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_void_0.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/invoke_void_0.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/robust_against_adl.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/robust_against_adl.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/refwrap.invoke/robust_against_adl.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/refwrap.invoke/robust_against_adl.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/type.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/type.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/type_properties.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/type_properties.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/unwrap_ref_decay.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/unwrap_ref_decay.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/unwrap_ref_decay.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/unwrap_ref_decay.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/unwrap_reference.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/unwrap_reference.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/unwrap_reference.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/unwrap_reference.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/weak_result.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/weak_result.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/function.objects/refwrap/weak_result.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/function.objects/refwrap/weak_result.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.general/integer_seq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.general/integer_seq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.general/integer_seq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.general/integer_seq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.intseq/integer_seq.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.intseq/integer_seq.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.intseq/integer_seq.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.intseq/integer_seq.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.make/make_integer_seq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.make/make_integer_seq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.make/make_integer_seq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.make/make_integer_seq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.make/make_integer_seq_fallback.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.make/make_integer_seq_fallback.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.make/make_integer_seq_fallback.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.make/make_integer_seq_fallback.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.make/make_integer_seq_fallback.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.make/make_integer_seq_fallback.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/intseq/intseq.make/make_integer_seq_fallback.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/intseq/intseq.make/make_integer_seq_fallback.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.temp.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.temp.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.temp.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.addressof/addressof.temp.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.addressof/constexpr_addressof.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.addressof/constexpr_addressof.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.addressof/constexpr_addressof.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.addressof/constexpr_addressof.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_n.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_n.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_n.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_n.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.const.eval/is_constant_evaluated.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.const.eval/is_constant_evaluated.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.help/bool_constant.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.help/bool_constant.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.help/bool_constant.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.help/bool_constant.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.help/integral_constant.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.help/integral_constant.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.help/integral_constant.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.help/integral_constant.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.logical/conjunction.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.logical/conjunction.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.logical/conjunction.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.logical/conjunction.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.logical/disjunction.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.logical/disjunction.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.logical/disjunction.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.logical/disjunction.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.logical/negation.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.logical/negation.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.logical/negation.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.logical/negation.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_base_of.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_base_of.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_convertible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_convertible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_convertible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_convertible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_convertible_fallback.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_convertible_fallback.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_convertible_fallback.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_convertible_fallback.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_invocable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_invocable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_invocable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_invocable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_convertible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_nothrow_convertible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_convertible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_nothrow_convertible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_same.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_same.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_same.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.rel/is_same.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rqmts/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.rqmts/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rqmts/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.rqmts/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_storage.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/aligned_storage.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_storage.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/aligned_storage.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/enable_if.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if2.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/enable_if2.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if2.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/enable_if2.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/remove_cvref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/remove_cvref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/remove_cvref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/remove_cvref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/result_of.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/result_of.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ptr/add_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ptr/add_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ptr/add_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ptr/add_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ptr/remove_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ptr/remove_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ptr/remove_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ptr/remove_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ref/add_rvalue_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ref/add_rvalue_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ref/add_rvalue_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ref/add_rvalue_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ref/remove_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ref/remove_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.ref/remove_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.ref/remove_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.trans/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.trans/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.type.synop/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.type.synop/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.type.synop/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.type.synop/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/extent.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary.prop.query/extent.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/extent.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary.prop.query/extent.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/rank.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary.prop.query/rank.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/rank.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary.prop.query/rank.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/void_t.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary.prop.query/void_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/void_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary.prop.query/void_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/array.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/array.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/class.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/class.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/class.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/class.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/enum.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/enum.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/enum.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/enum.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/floating_point.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/floating_point.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/floating_point.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/floating_point.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/function.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/function.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/function.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/function.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/integral.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/integral.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/integral.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/integral.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_class.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_class.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_class.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_class.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_enum.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_enum.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_enum.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_enum.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_floating_point.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_floating_point.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_floating_point.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_floating_point.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_lvalue_reference.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_lvalue_reference.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_lvalue_reference.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_lvalue_reference.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_object_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_member_object_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_object_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_member_object_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_member_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_member_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_null_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_null_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_null_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_null_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_rvalue_reference.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_rvalue_reference.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_rvalue_reference.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_rvalue_reference.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_union.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_union.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_union.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_union.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_void.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_void.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_void.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/is_void.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/member_object_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/member_object_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/member_object_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/member_object_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/nullptr.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/nullptr.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/nullptr.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/nullptr.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/rvalue_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/rvalue_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/rvalue_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/rvalue_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/union.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/union.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/union.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/union.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/void.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/void.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/void.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.cat/void.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/array.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/array.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/class.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/class.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/class.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/class.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/enum.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/enum.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/enum.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/enum.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/floating_point.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/floating_point.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/floating_point.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/floating_point.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/function.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/function.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/function.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/function.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/integral.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/integral.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/integral.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/integral.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_bounded_array.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_bounded_array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_bounded_array.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_bounded_array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_compound.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_compound.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_compound.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_compound.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_fundamental.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_fundamental.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_fundamental.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_fundamental.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_member_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_member_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_member_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_member_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_object.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_object.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_object.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_object.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_scalar.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_scalar.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_scalar.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_scalar.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_unbounded_array.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_unbounded_array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_unbounded_array.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/is_unbounded_array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/lvalue_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/lvalue_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/lvalue_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/lvalue_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/member_function_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/member_function_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/member_function_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/member_function_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/member_object_pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/member_object_pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/member_object_pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/member_object_pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/pointer.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/pointer.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/pointer.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/pointer.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/rvalue_ref.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/rvalue_ref.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/rvalue_ref.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/rvalue_ref.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/union.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/union.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/union.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/union.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/void.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/void.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/void.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.comp/void.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_virtual_destructor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/has_virtual_destructor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_virtual_destructor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/has_virtual_destructor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_assignable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_assignable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_assignable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_assignable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_final.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_final.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_final.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_final.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_assignable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_move_assignable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_assignable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_move_assignable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_move_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_move_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_assignable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_assignable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_assignable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_assignable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_assignable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_assignable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_assignable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_assignable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_default_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_default_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_default_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_default_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable_with.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable_with.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable_with.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable_with.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_pod.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_pod.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_pod.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_pod.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_polymorphic.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_polymorphic.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_polymorphic.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_polymorphic.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_signed.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_signed.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_signed.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_signed.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_standard_layout.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_standard_layout.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_standard_layout.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_standard_layout.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_with.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_with.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_with.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_with.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivial.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivial.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivial.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivial.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_assignable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_assignable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_assignable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_assignable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_assignable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_assignable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_assignable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_assignable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable_volatile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable_volatile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable_volatile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable_volatile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_default_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_default_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_default_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_default_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_assignable.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_assignable.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_assignable.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_assignable.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_constructible.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_constructible.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_constructible.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_unsigned.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_unsigned.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_unsigned.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_unsigned.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_volatile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_volatile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_volatile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_volatile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/meta/meta.unary/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/greater.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/greater.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/greater.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/greater.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/greater_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/greater_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/greater_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/greater_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/less_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/less_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/less_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/less_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/less_than.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/less_than.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/less_than.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/less_than.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/not_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/not_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.comp_with_t/not_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.comp_with_t/not_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.monadic/and_then.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.monadic/and_then.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.monadic/and_then.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.monadic/and_then.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.monadic/or_else.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.monadic/or_else.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.monadic/or_else.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.monadic/or_else.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.monadic/transform.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.monadic/transform.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.monadic/transform.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.monadic/transform.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/greater.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/greater.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/greater.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/greater.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/greater_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/greater_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/greater_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/greater_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/less_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/less_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/less_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/less_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/less_than.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/less_than.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/less_than.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/less_than.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/not_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/not_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullops/not_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullops/not_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullopt/nullopt_t.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullopt/nullopt_t.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullopt/nullopt_t.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullopt/nullopt_t.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/assign_value.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/assign_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/assign_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/assign_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/const_optional_U.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/const_optional_U.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/const_optional_U.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/const_optional_U.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/emplace_initializer_list.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/emplace_initializer_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/emplace_initializer_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/emplace_initializer_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/nullopt_t.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/nullopt_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/nullopt_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/nullopt_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/optional_U.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/optional_U.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.assign/optional_U.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.assign/optional_U.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/U.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/U.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/U.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/U.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/const_T.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/const_T.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/const_T.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/const_T.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/const_optional_U.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/const_optional_U.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/const_optional_U.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/const_optional_U.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/deduct.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/deduct.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/default.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/empty_in_place_t_does_not_clobber.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/empty_in_place_t_does_not_clobber.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/empty_in_place_t_does_not_clobber.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/empty_in_place_t_does_not_clobber.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/explicit_const_optional_U.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/explicit_const_optional_U.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/explicit_const_optional_U.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/explicit_const_optional_U.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/explicit_optional_U.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/explicit_optional_U.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/explicit_optional_U.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/explicit_optional_U.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/in_place_t.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/in_place_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/in_place_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/in_place_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/initializer_list.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/initializer_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/initializer_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/initializer_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/nullopt_t.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/nullopt_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/nullopt_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/nullopt_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/optional_U.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/optional_U.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/optional_U.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/optional_U.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/rvalue_T.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/rvalue_T.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.ctor/rvalue_T.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.ctor/rvalue_T.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.dtor/dtor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.dtor/dtor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.dtor/dtor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.dtor/dtor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/bool.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/bool.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/bool.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/bool.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/dereference.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/dereference.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/dereference.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/dereference.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/dereference_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/dereference_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/dereference_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/dereference_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/dereference_const_rvalue.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/dereference_const_rvalue.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/dereference_const_rvalue.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/dereference_const_rvalue.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/dereference_rvalue.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/dereference_rvalue.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/dereference_rvalue.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/dereference_rvalue.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/has_value.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/has_value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/has_value.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/has_value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/op_arrow.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/op_arrow.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/op_arrow.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/op_arrow.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/op_arrow_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/op_arrow_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/op_arrow_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/op_arrow_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_const.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_const.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_const.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_const.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_const_rvalue.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_const_rvalue.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_const_rvalue.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_const_rvalue.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_or.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_or.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_or.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_or.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_or_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_or_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_or_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_or_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_rvalue.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_rvalue.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.observe/value_rvalue.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.observe/value_rvalue.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.swap/swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.swap/swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional.object.swap/swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional.object.swap/swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional_requires_destructible_object.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional_requires_destructible_object.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/optional_requires_destructible_object.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/optional_requires_destructible_object.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/special_members.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/special_members.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/special_members.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/special_members.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/triviality.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/triviality.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/triviality.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/triviality.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.object/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/greater_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/greater_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/greater_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/greater_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/greater_than.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/greater_than.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/greater_than.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/greater_than.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/less_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/less_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/less_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/less_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/less_than.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/less_than.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/less_than.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/less_than.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/not_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/not_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.relops/not_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.relops/not_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.specalg/make_optional.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.specalg/make_optional.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.specalg/make_optional.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.specalg/make_optional.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.specalg/make_optional_explicit.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.specalg/make_optional_explicit.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.specalg/make_optional_explicit.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.specalg/make_optional_explicit.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.specalg/make_optional_explicit_initializer_list.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.specalg/make_optional_explicit_initializer_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.specalg/make_optional_explicit_initializer_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.specalg/make_optional_explicit_initializer_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.specalg/swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.specalg/swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.specalg/swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.specalg/swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.syn/optional_in_place_t.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.syn/optional_in_place_t.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.syn/optional_in_place_t.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.syn/optional_in_place_t.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.syn/optional_includes_initializer_list.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.syn/optional_includes_initializer_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.syn/optional_includes_initializer_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.syn/optional_includes_initializer_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/optional/optional.syn/optional_nullopt_t.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/optional/optional.syn/optional_nullopt_t.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/optional/optional.syn/optional_nullopt_t.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/optional/optional.syn/optional_nullopt_t.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_add.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_add.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_add.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_add.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_add.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_add.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_add.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_add.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_divide.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_divide.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_divide.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_divide.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_divide.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_divide.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_divide.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_divide.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_multiply.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_multiply.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_multiply.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_multiply.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_multiply.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_multiply.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_multiply.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_multiply.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_subtract.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_subtract.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_subtract.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_subtract.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_subtract.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_subtract.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.arithmetic/ratio_subtract.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.arithmetic/ratio_subtract.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_greater.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_greater.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_greater.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_greater.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_greater_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_greater_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_greater_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_greater_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_less.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_less.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_less.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_less.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_less_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_less_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_less_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_less_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_not_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_not_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.comparison/ratio_not_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.comparison/ratio_not_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.ratio/ratio.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.ratio/ratio.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.ratio/ratio.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.ratio/ratio.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.ratio/ratio1.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.ratio/ratio1.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.ratio/ratio1.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.ratio/ratio1.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.ratio/ratio2.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.ratio/ratio2.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.ratio/ratio2.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.ratio/ratio2.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.ratio/ratio3.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.ratio/ratio3.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.ratio/ratio3.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.ratio/ratio3.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.si/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.si/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/ratio.si/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/ratio.si/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/ratio/typedefs.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/ratio/typedefs.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/ratio/typedefs.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/ratio/typedefs.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/clock.h b/libcudacxx/test/libcudacxx/std/utilities/time/clock.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/clock.h rename to libcudacxx/test/libcudacxx/std/utilities/time/clock.h diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/date.time/ctime.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/date.time/ctime.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/date.time/ctime.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/date.time/ctime.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/hours.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/hours.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/hours.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/hours.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/microseconds.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/microseconds.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/microseconds.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/microseconds.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/milliseconds.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/milliseconds.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/milliseconds.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/milliseconds.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/minutes.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/minutes.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/minutes.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/minutes.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/months.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/months.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/months.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/months.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/nanoseconds.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/nanoseconds.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/nanoseconds.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/nanoseconds.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/rep.h b/libcudacxx/test/libcudacxx/std/utilities/time/rep.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/rep.h rename to libcudacxx/test/libcudacxx/std/utilities/time/rep.h diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/seconds.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/seconds.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/seconds.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/seconds.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/euclidian.h b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/euclidian.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/euclidian.h rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/euclidian.h diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/decrement.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/decrement.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/decrement.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/decrement.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/increment.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/plus_minus_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/plus_minus_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/plus_minus_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.members/plus_minus_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.day/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.day/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.last/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.last/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.last/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.last/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/day.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/day.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/day.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/day.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.md/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.md/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mdlast/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mdlast/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/decrement.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/decrement.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/decrement.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/decrement.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/increment.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/plus_minus_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/plus_minus_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/plus_minus_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.members/plus_minus_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/literals.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/literals.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/literals.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/literals.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/time.cal.month.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.month/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.month/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/weekday_indexed.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/weekday_indexed.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/weekday_indexed.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/weekday_indexed.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwd/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwd/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/weekday_last.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/weekday_last.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/weekday_last.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/weekday_last.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.mwdlast/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.mwdlast/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/month_day.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/month_day.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/month_day.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/month_day.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/month_day_last.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/month_day_last.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/month_day_last.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/month_day_last.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/month_weekday.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/month_weekday.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/month_weekday.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/month_weekday.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/month_weekday_last.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/month_weekday_last.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/month_weekday_last.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/month_weekday_last.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month_day.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month_day.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month_day.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month_day.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month_day_last.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month_day_last.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month_day_last.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month_day_last.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month_weekday.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month_weekday.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month_weekday.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month_weekday.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month_weekday_last.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month_weekday_last.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.operators/year_month_weekday_last.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.operators/year_month_weekday_last.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/index.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/index.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/index.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/index.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/weekday.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/weekday.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/weekday.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/weekday.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdidx/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdidx/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/weekday.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/weekday.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/weekday.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.members/weekday.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.wdlast/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.wdlast/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/c_encoding.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/c_encoding.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/c_encoding.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/c_encoding.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.local_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.local_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.local_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.local_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.sys_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.sys_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.sys_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ctor.sys_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/decrement.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/decrement.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/decrement.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/decrement.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/increment.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/iso_encoding.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/iso_encoding.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/iso_encoding.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/iso_encoding.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/operator_index.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/operator_index.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/operator_index.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/operator_index.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/plus_minus_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/plus_minus_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/plus_minus_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.members/plus_minus_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/literals.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/literals.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/literals.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/literals.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.weekday/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.weekday/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/decrement.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/decrement.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/decrement.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/decrement.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/increment.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/increment.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/increment.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/increment.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/is_leap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/is_leap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/is_leap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/is_leap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/plus_minus_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.year/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.year/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/plus_minus_equal_year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ym/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ym/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.local_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.local_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.local_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.local_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.sys_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.sys_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.sys_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.sys_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.year_month_day_last.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.year_month_day_last.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.year_month_day_last.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ctor.year_month_day_last.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/day.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/day.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/day.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/day.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.local_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.local_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.local_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.local_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.sys_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.sys_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.sys_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/op.sys_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/plus_minus_equal_year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymd/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymd/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/day.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/day.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/day.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/day.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month_day_last.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month_day_last.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month_day_last.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/month_day_last.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_local_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_local_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_local_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_local_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_sys_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_sys_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_sys_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/op_sys_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/plus_minus_equal_year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.local_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.local_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.local_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.local_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.sys_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.sys_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.sys_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ctor.sys_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/index.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/index.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/index.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/index.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.local_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.local_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.local_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.local_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.sys_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.sys_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.sys_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.sys_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/plus_minus_equal_year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday_indexed.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday_indexed.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday_indexed.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/weekday_indexed.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwd/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwd/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ok.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ok.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ok.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ok.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_local_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_local_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_local_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_local_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_sys_days.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_sys_days.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_sys_days.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/op_sys_days.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_month.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_month.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_month.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_month.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/plus_minus_equal_year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/weekday.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/weekday.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/weekday.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/weekday.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/year.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/year.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/year.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/year.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/comparisons.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/comparisons.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/comparisons.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/comparisons.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/minus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/minus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/minus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/minus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/plus.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/plus.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/plus.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/plus.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/streaming.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/streaming.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/streaming.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/streaming.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.cal/time.cal.ymwdlast/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.cal/time.cal.ymwdlast/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock.req/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock.req/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock.req/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock.req/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.file/file_time.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.file/file_time.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.file/file_time.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.file/file_time.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.file/now.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.file/now.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.file/now.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.file/now.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.file/rep_signed.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.file/rep_signed.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.file/rep_signed.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.file/rep_signed.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/from_time_t.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/from_time_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/from_time_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/from_time_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/local_time.types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/local_time.types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/local_time.types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/local_time.types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/now.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/now.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/now.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/now.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/sys.time.types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/sys.time.types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/sys.time.types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/sys.time.types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/to_time_t.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/to_time_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.clock/time.clock.system/to_time_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.clock/time.clock.system/to_time_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/default_ratio.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/default_ratio.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/default_ratio.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/default_ratio.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/duration.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/duration.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/duration.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/duration.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/positive_num.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/positive_num.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/positive_num.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/positive_num.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/ratio.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/ratio.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/ratio.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/ratio.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.alg/abs.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.alg/abs.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.alg/abs.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.alg/abs.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.alg/abs.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.alg/abs.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.alg/abs.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.alg/abs.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_++.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_++.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_++.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_++.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_++int.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_++int.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_++int.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_++int.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_+.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_+.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_+.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_+.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_+_eq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_+_eq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_+_eq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_+_eq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_--.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_--.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_--.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_--.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_--int.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_--int.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_--int.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_--int.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_-.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_-.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_-.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_-.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_-_eq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_-_eq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_-_eq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_-_eq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_divide_eq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_divide_eq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_divide_eq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_divide_eq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_duration.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_duration.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_duration.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_duration.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_rep.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_rep.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_rep.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_mod_eq_rep.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_times_eq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_times_eq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.arithmetic/op_times_eq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.arithmetic/op_times_eq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/ceil.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/ceil.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/ceil.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/ceil.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/ceil.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/ceil.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/ceil.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/ceil.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/duration_cast.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/duration_cast.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/duration_cast.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/duration_cast.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/floor.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/floor.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/floor.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/floor.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/floor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/floor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/floor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/floor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/round.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/round.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/round.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/round.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/round.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/round.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/round.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/round.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/toduration.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/toduration.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cast/toduration.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cast/toduration.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.comparisons/op_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.comparisons/op_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.comparisons/op_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.comparisons/op_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.comparisons/op_less.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.comparisons/op_less.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.comparisons/op_less.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.comparisons/op_less.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_exact.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_exact.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_exact.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_exact.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_float_to_int.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_float_to_int.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_float_to_int.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_float_to_int.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_inexact.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_inexact.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_inexact.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_inexact.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_inexact.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_inexact.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_inexact.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_inexact.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_int_to_float.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_int_to_float.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_int_to_float.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_int_to_float.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_overflow.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_overflow.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/convert_overflow.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/convert_overflow.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/default.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep01.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep01.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep01.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep01.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep02.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep02.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep02.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep02.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep02.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep02.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep02.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep02.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep03.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep03.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.cons/rep03.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.cons/rep03.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals.abiv3.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals.abiv3.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals.abiv3.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals.abiv3.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals1.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals1.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals1.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals1.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals1.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals1.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals1.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals1.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals2.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals2.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals2.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals2.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals2.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals2.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.literals/literals2.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.literals/literals2.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_+.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_+.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_+.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_+.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_-.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_-.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_-.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_-.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_mod_duration.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_mod_duration.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_mod_duration.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_mod_duration.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep1.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep1.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep1.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep1.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep2.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep2.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep2.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep2.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.observer/tested_elsewhere.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.observer/tested_elsewhere.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.observer/tested_elsewhere.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.observer/tested_elsewhere.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.special/max.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.special/max.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.special/max.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.special/max.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.special/min.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.special/min.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.special/min.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.special/min.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.special/zero.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.special/zero.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/time.duration.special/zero.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/time.duration.special/zero.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.duration/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.duration/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.duration/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/hhmmss.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/hhmmss.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/hhmmss.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/hhmmss.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.12/is_am.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.12/is_am.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.12/is_am.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.12/is_am.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.12/is_pm.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.12/is_pm.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.12/is_pm.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.12/is_pm.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.12/make12.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.12/make12.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.12/make12.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.12/make12.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.12/make24.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.12/make24.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.12/make24.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.12/make24.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/hours.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/hours.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/hours.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/hours.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/is_negative.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/is_negative.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/is_negative.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/is_negative.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/minutes.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/minutes.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/minutes.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/minutes.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/precision.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/precision.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/precision.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/precision.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/precision_type.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/precision_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/precision_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/precision_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/subseconds.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/subseconds.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/subseconds.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/subseconds.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/to_duration.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/to_duration.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/to_duration.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/to_duration.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/width.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/width.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/width.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.members/width.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.nonmembers/nothing.to.do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.nonmembers/nothing.to.do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.hms/time.hms.nonmembers/nothing.to.do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.hms/time.hms.nonmembers/nothing.to.do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/default_duration.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/default_duration.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/default_duration.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/default_duration.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/duration.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/duration.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/duration.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/duration.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.arithmetic/op_minus_eq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.arithmetic/op_minus_eq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.arithmetic/op_minus_eq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.arithmetic/op_minus_eq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.arithmetic/op_plus_eq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.arithmetic/op_plus_eq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.arithmetic/op_plus_eq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.arithmetic/op_plus_eq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/ceil.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/ceil.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/ceil.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/ceil.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/ceil.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/ceil.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/ceil.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/ceil.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/floor.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/floor.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/floor.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/floor.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/floor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/floor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/floor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/floor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/round.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/round.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/round.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/round.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/round.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/round.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/round.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/round.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/toduration.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/toduration.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cast/toduration.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cast/toduration.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.comparisons/op_equal.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.comparisons/op_equal.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.comparisons/op_equal.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.comparisons/op_equal.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.comparisons/op_less.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.comparisons/op_less.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.comparisons/op_less.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.comparisons/op_less.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/convert.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/convert.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/convert.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/convert.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/convert.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/convert.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/convert.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/convert.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/default.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/duration.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/duration.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/duration.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/duration.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/duration.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/duration.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.cons/duration.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.cons/duration.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.nonmember/op_+.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.nonmember/op_+.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.nonmember/op_+.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.nonmember/op_+.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.observer/tested_elsewhere.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.observer/tested_elsewhere.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.observer/tested_elsewhere.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.observer/tested_elsewhere.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.special/max.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.special/max.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.special/max.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.special/max.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.special/min.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.special/min.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.point/time.point.special/min.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.point/time.point.special/min.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.traits/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.traits/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.duration_values/max.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.duration_values/max.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.duration_values/max.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.duration_values/max.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.duration_values/min.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.duration_values/min.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.duration_values/min.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.duration_values/min.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.duration_values/zero.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.duration_values/zero.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.duration_values/zero.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.duration_values/zero.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.specializations/duration.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.specializations/duration.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.specializations/duration.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.specializations/duration.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.specializations/time_point.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.specializations/time_point.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/time.traits/time.traits.specializations/time_point.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/time.traits/time.traits.specializations/time_point.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/weeks.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/weeks.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/weeks.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/weeks.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/time/years.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/time/years.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/time/years.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/time/years.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.general/ignore.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.general/ignore.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.general/ignore.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.general/ignore.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/TupleFunction.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/TupleFunction.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/TupleFunction.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/TupleFunction.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/alloc_first.h b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/alloc_first.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/alloc_first.h rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/alloc_first.h diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/alloc_last.h b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/alloc_last.h similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/alloc_last.h rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/alloc_last.h diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply_extended_types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.apply/apply_extended_types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply_extended_types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.apply/apply_extended_types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply_large_arity.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.apply/apply_large_arity.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply_large_arity.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.apply/apply_large_arity.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/convert_move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/convert_move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/copy.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/copy.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/copy.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/copy.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/move_pair.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/move_pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.assign/move_pair.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.assign/move_pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR20855_tuple_ref_binding_diagnostics.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR20855_tuple_ref_binding_diagnostics.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR20855_tuple_ref_binding_diagnostics.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR20855_tuple_ref_binding_diagnostics.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR22806_constrain_tuple_like_ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR22806_constrain_tuple_like_ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR22806_constrain_tuple_like_ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR22806_constrain_tuple_like_ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR23256_constrain_UTypes_ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR23256_constrain_UTypes_ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR23256_constrain_UTypes_ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR23256_constrain_UTypes_ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR27684_contains_ref_to_incomplete_type.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR27684_contains_ref_to_incomplete_type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR27684_contains_ref_to_incomplete_type.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR27684_contains_ref_to_incomplete_type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_UTypes.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_UTypes.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_UTypes.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_UTypes.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_Types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_pair.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_pair.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move_pair.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move_pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move_pair.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_move_pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types2.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types2.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types2.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types2.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/move_pair.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/move_pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/move_pair.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/move_pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/nothrow_cnstr.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/nothrow_cnstr.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/nothrow_cnstr.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/nothrow_cnstr.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/test_lazy_sfinae.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/test_lazy_sfinae.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/test_lazy_sfinae.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/test_lazy_sfinae.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/tuple_array_template_depth.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/tuple_array_template_depth.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/tuple_array_template_depth.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.cnstr/tuple_array_template_depth.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_rv.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_rv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_rv.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/get_rv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.array.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.array.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.utility.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.utility.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.utility.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.utility.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_value_sfinae.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_value_sfinae.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_value_sfinae.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_value_sfinae.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.special/non_member_swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.special/non_member_swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.special/non_member_swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.special/non_member_swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.traits/uses_allocator.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.traits/uses_allocator.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.traits/uses_allocator.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/tuple/tuple.tuple/tuple.traits/uses_allocator.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/allocator.requirements/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility.requirements/allocator.requirements/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/allocator.requirements/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility.requirements/allocator.requirements/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/hash.requirements/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility.requirements/hash.requirements/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/hash.requirements/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility.requirements/hash.requirements/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility.requirements/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility.requirements/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/nullablepointer.requirements/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility.requirements/nullablepointer.requirements/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/nullablepointer.requirements/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility.requirements/nullablepointer.requirements/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/swappable.requirements/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility.requirements/swappable.requirements/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/swappable.requirements/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility.requirements/swappable.requirements/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/utility.arg.requirements/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility.requirements/utility.arg.requirements/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility.requirements/utility.arg.requirements/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility.requirements/utility.arg.requirements/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/as_const/as_const.compile.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/as_const/as_const.compile.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/as_const/as_const.compile.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/as_const/as_const.compile.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/as_const/as_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/as_const/as_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/as_const/as_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/as_const/as_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/declval/declval.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/declval/declval.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/declval/declval.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/declval/declval.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/exchange/exchange.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/exchange/exchange.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/exchange/exchange.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/exchange/exchange.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/forward/forward.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/forward/forward.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/forward/forward.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/forward/forward.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/forward/forward.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/forward/forward.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/forward/forward.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/forward/forward.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/forward/forward_like.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/forward/forward_like.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/forward/forward_like.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/forward/forward_like.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/forward/move.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/forward/move.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/forward/move.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/forward/move.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/forward/move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/forward/move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/forward/move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/forward/move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/forward/move_if_noexcept.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/forward/move_if_noexcept.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/forward/move_if_noexcept.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/forward/move_if_noexcept.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/operators/rel_ops.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/operators/rel_ops.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/operators/rel_ops.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/operators/rel_ops.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_const.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_const.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_const.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_const.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_const_rv.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_const_rv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_const_rv.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_const_rv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_non_const.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_non_const.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_non_const.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_non_const.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_rv.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_rv.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/get_rv.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/get_rv.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/pairs.by.type.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/pairs.by.type.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/pairs.by.type.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/pairs.by.type.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/pairs.by.type1.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/pairs.by.type1.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/pairs.by.type1.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/pairs.by.type1.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/pairs.by.type2.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/pairs.by.type2.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/pairs.by.type2.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/pairs.by.type2.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/tuple_element.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/tuple_element.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/tuple_element.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/tuple_element.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/tuple_size.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/tuple_size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.astuple/tuple_size.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.astuple/tuple_size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.piecewise/piecewise_construct.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.piecewise/piecewise_construct.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.piecewise/piecewise_construct.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.piecewise/piecewise_construct.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pair.piecewise/piecewise_construct_t.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.general/nothing_to_do.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.general/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.general/nothing_to_do.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.general/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/U_V.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/U_V.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/U_V.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/U_V.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_const_pair_U_V.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_const_pair_U_V.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_const_pair_U_V.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_const_pair_U_V.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_pair.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_pair.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_pair_cxx03.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_pair_cxx03.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_pair_cxx03.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_pair_cxx03.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_rv_pair.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_rv_pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_rv_pair.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_rv_pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_rv_pair_U_V.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_rv_pair_U_V.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/assign_rv_pair_U_V.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/assign_rv_pair_U_V.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/const_first_const_second.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/const_first_const_second.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/const_first_const_second.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/const_first_const_second.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/const_first_const_second_cxx03.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/const_first_const_second_cxx03.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/const_first_const_second_cxx03.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/const_first_const_second_cxx03.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/const_pair_U_V.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/const_pair_U_V.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/const_pair_U_V.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/const_pair_U_V.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/const_pair_U_V_cxx03.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/const_pair_U_V_cxx03.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/const_pair_U_V_cxx03.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/const_pair_U_V_cxx03.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/copy_ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/copy_ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/copy_ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/copy_ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/default-sfinae.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/default-sfinae.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/default-sfinae.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/default-sfinae.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/default.explicit.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/default.explicit.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/default.explicit.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/default.explicit.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/default.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/implicit_deduction_guides.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/implicit_deduction_guides.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/implicit_deduction_guides.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/implicit_deduction_guides.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/move_ctor.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/move_ctor.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/move_ctor.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/move_ctor.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/not_constexpr_cxx11.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/not_constexpr_cxx11.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/not_constexpr_cxx11.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/not_constexpr_cxx11.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/piecewise.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/piecewise.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/piecewise.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/piecewise.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/rv_pair_U_V.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/rv_pair_U_V.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/rv_pair_U_V.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/rv_pair_U_V.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/trivial_copy_move.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/trivial_copy_move.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/trivial_copy_move.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/trivial_copy_move.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/types.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.pair/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.pair/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.spec/make_pair.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.spec/make_pair.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.spec/make_pair.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.spec/make_pair.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.spec/non_member_swap.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.spec/non_member_swap.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/pairs/pairs.spec/non_member_swap.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/pairs/pairs.spec/non_member_swap.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.inplace/inplace.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.inplace/inplace.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.inplace/inplace.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.inplace/inplace.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_equal/cmp_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_equal/cmp_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_equal/cmp_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_equal/cmp_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_greater/cmp_greater.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_greater/cmp_greater.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_greater/cmp_greater.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_greater/cmp_greater.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_greater_equal/cmp_greater_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_greater_equal/cmp_greater_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_greater_equal/cmp_greater_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_greater_equal/cmp_greater_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_less/cmp_less.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_less/cmp_less.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_less/cmp_less.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_less/cmp_less.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_less_equal/cmp_less_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_less_equal/cmp_less_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_less_equal/cmp_less_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_less_equal/cmp_less_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_not_equal/cmp_not_equal.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_not_equal/cmp_not_equal.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.cmp_not_equal/cmp_not_equal.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.cmp_not_equal/cmp_not_equal.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.fail.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.fail.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.in_range/in_range.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.in_range/in_range.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.intcmp/intcmp.in_range/in_range.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.intcmp/intcmp.in_range/in_range.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.underlying/to_underlying.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.underlying/to_underlying.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.underlying/to_underlying.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.underlying/to_underlying.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.underlying/to_underlying.verify.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.underlying/to_underlying.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.underlying/to_underlying.verify.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.underlying/to_underlying.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.unreachable/unreachable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.unreachable/unreachable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.unreachable/unreachable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.unreachable/unreachable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/utilities/utility/utility.unreachable/unreachable.verify.cpp b/libcudacxx/test/libcudacxx/std/utilities/utility/utility.unreachable/unreachable.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/utilities/utility/utility.unreachable/unreachable.verify.cpp rename to libcudacxx/test/libcudacxx/std/utilities/utility/utility.unreachable/unreachable.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/array.fail.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/array.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/array.fail.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/array.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/array.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/array.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/array.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/array.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/assign.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/assign.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/assign.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/assign.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/copy.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/copy.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/copy.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/copy.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/deduct.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/deduct.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/deduct.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/deduct.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/default.fail.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/default.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/default.fail.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/default.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/default.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/default.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/default.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/default.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/initializer_list.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/initializer_list.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/initializer_list.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/initializer_list.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/iterator_len.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/iterator_len.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/iterator_len.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/iterator_len.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/iterator_len.verify.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/iterator_len.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/iterator_len.verify.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/iterator_len.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/iterator_sentinel.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/iterator_sentinel.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/iterator_sentinel.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/iterator_sentinel.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/iterator_sentinel.verify.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/iterator_sentinel.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/iterator_sentinel.verify.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/iterator_sentinel.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/range.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/range.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/range.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/range.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/range.verify.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/range.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/range.verify.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/range.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/span.dtor.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/span.dtor.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/span.dtor.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/span.dtor.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/span.fail.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/span.fail.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/span.fail.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/span.fail.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/span.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/span.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/span.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/span.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/stdarray.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.cons/stdarray.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.cons/stdarray.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.cons/stdarray.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.elem/back.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.elem/back.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.elem/back.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.elem/back.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.elem/data.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.elem/data.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.elem/data.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.elem/data.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.elem/front.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.elem/front.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.elem/front.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.elem/front.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.elem/op_idx.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.elem/op_idx.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.elem/op_idx.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.elem/op_idx.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.iterators/begin.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.iterators/begin.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.iterators/begin.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.iterators/begin.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.iterators/end.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.iterators/end.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.iterators/end.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.iterators/end.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.iterators/rbegin.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.iterators/rbegin.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.iterators/rbegin.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.iterators/rbegin.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.iterators/rend.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.iterators/rend.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.iterators/rend.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.iterators/rend.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.objectrep/as_bytes.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.objectrep/as_bytes.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.objectrep/as_bytes.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.objectrep/as_bytes.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.objectrep/as_writable_bytes.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.objectrep/as_writable_bytes.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.objectrep/as_writable_bytes.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.objectrep/as_writable_bytes.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.objectrep/as_writable_bytes.verify.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.objectrep/as_writable_bytes.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.objectrep/as_writable_bytes.verify.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.objectrep/as_writable_bytes.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.obs/empty.nodiscard.verify.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.obs/empty.nodiscard.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.obs/empty.nodiscard.verify.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.obs/empty.nodiscard.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.obs/empty.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.obs/empty.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.obs/empty.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.obs/empty.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.obs/size.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.obs/size.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.obs/size.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.obs/size.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.obs/size_bytes.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.obs/size_bytes.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.obs/size_bytes.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.obs/size_bytes.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/first.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.sub/first.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/first.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.sub/first.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/first.verify.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.sub/first.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/first.verify.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.sub/first.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/last.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.sub/last.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/last.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.sub/last.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/last.verify.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.sub/last.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/last.verify.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.sub/last.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/subspan.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.sub/subspan.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/subspan.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.sub/subspan.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/subspan.verify.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/span.sub/subspan.verify.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/span.sub/subspan.verify.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/span.sub/subspan.verify.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/trivially_copyable.compile.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/trivially_copyable.compile.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/trivially_copyable.compile.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/trivially_copyable.compile.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/std/views/views.span/types.pass.cpp b/libcudacxx/test/libcudacxx/std/views/views.span/types.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/std/views/views.span/types.pass.cpp rename to libcudacxx/test/libcudacxx/std/views/views.span/types.pass.cpp diff --git a/libcudacxx/.upstream-tests/maintenance/all-internal-headers b/libcudacxx/test/maintenance/all-internal-headers old mode 100755 new mode 100644 similarity index 100% rename from libcudacxx/.upstream-tests/maintenance/all-internal-headers rename to libcudacxx/test/maintenance/all-internal-headers diff --git a/libcudacxx/.upstream-tests/maintenance/cuda-to-std b/libcudacxx/test/maintenance/cuda-to-std old mode 100755 new mode 100644 similarity index 100% rename from libcudacxx/.upstream-tests/maintenance/cuda-to-std rename to libcudacxx/test/maintenance/cuda-to-std diff --git a/libcudacxx/.upstream-tests/maintenance/std-to-cuda b/libcudacxx/test/maintenance/std-to-cuda old mode 100755 new mode 100644 similarity index 100% rename from libcudacxx/.upstream-tests/maintenance/std-to-cuda rename to libcudacxx/test/maintenance/std-to-cuda diff --git a/libcudacxx/.upstream-tests/maintenance/stdlib-headers b/libcudacxx/test/maintenance/stdlib-headers similarity index 100% rename from libcudacxx/.upstream-tests/maintenance/stdlib-headers rename to libcudacxx/test/maintenance/stdlib-headers diff --git a/libcudacxx/.upstream-tests/test/host_only/CMakeLists.txt b/libcudacxx/test/smoke/CMakeLists.txt similarity index 92% rename from libcudacxx/.upstream-tests/test/host_only/CMakeLists.txt rename to libcudacxx/test/smoke/CMakeLists.txt index 5ad4a1b176..5b82c67679 100644 --- a/libcudacxx/.upstream-tests/test/host_only/CMakeLists.txt +++ b/libcudacxx/test/smoke/CMakeLists.txt @@ -1,10 +1,10 @@ -add_custom_target(libcudacxx_tu_tests) +add_custom_target(libcudacxx.test.smoke) set(cpp_std_versions 11 14 17 20) set(cpp_11_exclusions "cuda/annotated_ptr" "cuda/std/mdspan") set(cpp_14_exclusions "cuda/annotated_ptr" "cuda/std/mdspan") -set(cpp_17_exclusions "cuda/annotated_ptr") +set(cpp_17_exclusions "cuda/annotated_ptr" "cuda/std/mdspan") set(cpp_20_exclusions "cuda/annotated_ptr") function(libcudacxx_add_standalone_header_test test_file_output_var header_under_test version) @@ -33,12 +33,11 @@ function(libcudacxx_add_standalone_header_test test_file_output_var header_under set_target_properties(${executable_name} PROPERTIES CXX_STANDARD ${version}) set_target_properties(${executable_name} PROPERTIES CXX_STANDARD_REQUIRED ON) set_target_properties(${executable_name} PROPERTIES CXX_EXTENSIONS OFF) - add_dependencies(libcudacxx_tu_tests ${executable_name}) + add_dependencies(libcudacxx.test.smoke ${executable_name}) endif() endfunction() -# Don'libcudacxx generate CUDA targets, they fail currently. file(GLOB cuda_headers LIST_DIRECTORIES false RELATIVE "${libcudacxx_SOURCE_DIR}/include" "${libcudacxx_SOURCE_DIR}/include/cuda/*") file(GLOB cuda_std_headers LIST_DIRECTORIES false RELATIVE "${libcudacxx_SOURCE_DIR}/include" "${libcudacxx_SOURCE_DIR}/include/cuda/std/*") diff --git a/libcudacxx/.upstream-tests/test/host_only/detect_dialect.cpp b/libcudacxx/test/smoke/detect_dialect.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/host_only/detect_dialect.cpp rename to libcudacxx/test/smoke/detect_dialect.cpp diff --git a/libcudacxx/.upstream-tests/test/host_only/header_test.cpp.in b/libcudacxx/test/smoke/header_test.cpp.in similarity index 89% rename from libcudacxx/.upstream-tests/test/host_only/header_test.cpp.in rename to libcudacxx/test/smoke/header_test.cpp.in index e03bc04385..d274a1ceda 100644 --- a/libcudacxx/.upstream-tests/test/host_only/header_test.cpp.in +++ b/libcudacxx/test/smoke/header_test.cpp.in @@ -6,6 +6,10 @@ // //===----------------------------------------------------------------------===// +#if defined(_MSC_VER) +# define NOMINMAX +#endif + #include <@header_under_test@> int main() { diff --git a/libcudacxx/.upstream-tests/test/support/Counter.h b/libcudacxx/test/support/Counter.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/Counter.h rename to libcudacxx/test/support/Counter.h diff --git a/libcudacxx/.upstream-tests/test/support/DefaultOnly.h b/libcudacxx/test/support/DefaultOnly.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/DefaultOnly.h rename to libcudacxx/test/support/DefaultOnly.h diff --git a/libcudacxx/.upstream-tests/test/support/MoveOnly.h b/libcudacxx/test/support/MoveOnly.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/MoveOnly.h rename to libcudacxx/test/support/MoveOnly.h diff --git a/libcudacxx/.upstream-tests/test/support/allocators.h b/libcudacxx/test/support/allocators.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/allocators.h rename to libcudacxx/test/support/allocators.h diff --git a/libcudacxx/.upstream-tests/test/support/any_helpers.h b/libcudacxx/test/support/any_helpers.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/any_helpers.h rename to libcudacxx/test/support/any_helpers.h diff --git a/libcudacxx/.upstream-tests/test/support/archetypes.h b/libcudacxx/test/support/archetypes.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/archetypes.h rename to libcudacxx/test/support/archetypes.h diff --git a/libcudacxx/.upstream-tests/test/support/archetypes.ipp b/libcudacxx/test/support/archetypes.ipp similarity index 100% rename from libcudacxx/.upstream-tests/test/support/archetypes.ipp rename to libcudacxx/test/support/archetypes.ipp diff --git a/libcudacxx/.upstream-tests/test/support/asan_testing.h b/libcudacxx/test/support/asan_testing.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/asan_testing.h rename to libcudacxx/test/support/asan_testing.h diff --git a/libcudacxx/.upstream-tests/test/support/assert_checkpoint.h b/libcudacxx/test/support/assert_checkpoint.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/assert_checkpoint.h rename to libcudacxx/test/support/assert_checkpoint.h diff --git a/libcudacxx/.upstream-tests/test/support/callable_types.h b/libcudacxx/test/support/callable_types.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/callable_types.h rename to libcudacxx/test/support/callable_types.h diff --git a/libcudacxx/.upstream-tests/test/support/charconv_test_helpers.h b/libcudacxx/test/support/charconv_test_helpers.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/charconv_test_helpers.h rename to libcudacxx/test/support/charconv_test_helpers.h diff --git a/libcudacxx/.upstream-tests/test/support/check_assertion.h b/libcudacxx/test/support/check_assertion.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/check_assertion.h rename to libcudacxx/test/support/check_assertion.h diff --git a/libcudacxx/.upstream-tests/test/support/cmpxchg_loop.h b/libcudacxx/test/support/cmpxchg_loop.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/cmpxchg_loop.h rename to libcudacxx/test/support/cmpxchg_loop.h diff --git a/libcudacxx/.upstream-tests/test/support/compare_types.h b/libcudacxx/test/support/compare_types.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/compare_types.h rename to libcudacxx/test/support/compare_types.h diff --git a/libcudacxx/.upstream-tests/test/support/concurrent_agents.h b/libcudacxx/test/support/concurrent_agents.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/concurrent_agents.h rename to libcudacxx/test/support/concurrent_agents.h diff --git a/libcudacxx/.upstream-tests/test/support/constexpr_char_traits.h b/libcudacxx/test/support/constexpr_char_traits.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/constexpr_char_traits.h rename to libcudacxx/test/support/constexpr_char_traits.h diff --git a/libcudacxx/.upstream-tests/test/support/container_debug_tests.h b/libcudacxx/test/support/container_debug_tests.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/container_debug_tests.h rename to libcudacxx/test/support/container_debug_tests.h diff --git a/libcudacxx/.upstream-tests/test/support/container_test_types.h b/libcudacxx/test/support/container_test_types.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/container_test_types.h rename to libcudacxx/test/support/container_test_types.h diff --git a/libcudacxx/.upstream-tests/test/support/controlled_allocators.h b/libcudacxx/test/support/controlled_allocators.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/controlled_allocators.h rename to libcudacxx/test/support/controlled_allocators.h diff --git a/libcudacxx/.upstream-tests/test/support/coroutine_types.h b/libcudacxx/test/support/coroutine_types.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/coroutine_types.h rename to libcudacxx/test/support/coroutine_types.h diff --git a/libcudacxx/.upstream-tests/test/support/count_new.h b/libcudacxx/test/support/count_new.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/count_new.h rename to libcudacxx/test/support/count_new.h diff --git a/libcudacxx/.upstream-tests/test/support/counting_predicates.h b/libcudacxx/test/support/counting_predicates.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/counting_predicates.h rename to libcudacxx/test/support/counting_predicates.h diff --git a/libcudacxx/.upstream-tests/test/support/cuda_space_selector.h b/libcudacxx/test/support/cuda_space_selector.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/cuda_space_selector.h rename to libcudacxx/test/support/cuda_space_selector.h diff --git a/libcudacxx/.upstream-tests/test/support/deleter_types.h b/libcudacxx/test/support/deleter_types.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/deleter_types.h rename to libcudacxx/test/support/deleter_types.h diff --git a/libcudacxx/.upstream-tests/test/support/demangle.h b/libcudacxx/test/support/demangle.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/demangle.h rename to libcudacxx/test/support/demangle.h diff --git a/libcudacxx/.upstream-tests/test/support/disable_missing_braces_warning.h b/libcudacxx/test/support/disable_missing_braces_warning.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/disable_missing_braces_warning.h rename to libcudacxx/test/support/disable_missing_braces_warning.h diff --git a/libcudacxx/.upstream-tests/test/support/emplace_constructible.h b/libcudacxx/test/support/emplace_constructible.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/emplace_constructible.h rename to libcudacxx/test/support/emplace_constructible.h diff --git a/libcudacxx/.upstream-tests/test/support/experimental_any_helpers.h b/libcudacxx/test/support/experimental_any_helpers.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/experimental_any_helpers.h rename to libcudacxx/test/support/experimental_any_helpers.h diff --git a/libcudacxx/.upstream-tests/test/support/filesystem_dynamic_test_helper.py b/libcudacxx/test/support/filesystem_dynamic_test_helper.py similarity index 100% rename from libcudacxx/.upstream-tests/test/support/filesystem_dynamic_test_helper.py rename to libcudacxx/test/support/filesystem_dynamic_test_helper.py diff --git a/libcudacxx/.upstream-tests/test/support/filesystem_include.h b/libcudacxx/test/support/filesystem_include.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/filesystem_include.h rename to libcudacxx/test/support/filesystem_include.h diff --git a/libcudacxx/.upstream-tests/test/support/filesystem_test_helper.h b/libcudacxx/test/support/filesystem_test_helper.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/filesystem_test_helper.h rename to libcudacxx/test/support/filesystem_test_helper.h diff --git a/libcudacxx/.upstream-tests/test/support/format_string.h b/libcudacxx/test/support/format_string.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/format_string.h rename to libcudacxx/test/support/format_string.h diff --git a/libcudacxx/.upstream-tests/test/support/fp_compare.h b/libcudacxx/test/support/fp_compare.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/fp_compare.h rename to libcudacxx/test/support/fp_compare.h diff --git a/libcudacxx/.upstream-tests/test/support/hexfloat.h b/libcudacxx/test/support/hexfloat.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/hexfloat.h rename to libcudacxx/test/support/hexfloat.h diff --git a/libcudacxx/.upstream-tests/test/support/indirectly_readable.h b/libcudacxx/test/support/indirectly_readable.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/indirectly_readable.h rename to libcudacxx/test/support/indirectly_readable.h diff --git a/libcudacxx/.upstream-tests/test/support/is_transparent.h b/libcudacxx/test/support/is_transparent.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/is_transparent.h rename to libcudacxx/test/support/is_transparent.h diff --git a/libcudacxx/.upstream-tests/test/support/iterator_traits_cpp17_iterators.h b/libcudacxx/test/support/iterator_traits_cpp17_iterators.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/iterator_traits_cpp17_iterators.h rename to libcudacxx/test/support/iterator_traits_cpp17_iterators.h diff --git a/libcudacxx/.upstream-tests/test/support/min_allocator.h b/libcudacxx/test/support/min_allocator.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/min_allocator.h rename to libcudacxx/test/support/min_allocator.h diff --git a/libcudacxx/.upstream-tests/test/support/msvc_stdlib_force_include.h b/libcudacxx/test/support/msvc_stdlib_force_include.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/msvc_stdlib_force_include.h rename to libcudacxx/test/support/msvc_stdlib_force_include.h diff --git a/libcudacxx/.upstream-tests/test/support/nasty_containers.h b/libcudacxx/test/support/nasty_containers.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/nasty_containers.h rename to libcudacxx/test/support/nasty_containers.h diff --git a/libcudacxx/.upstream-tests/test/support/nasty_macros.h b/libcudacxx/test/support/nasty_macros.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/nasty_macros.h rename to libcudacxx/test/support/nasty_macros.h diff --git a/libcudacxx/.upstream-tests/test/support/nothing_to_do.pass.cpp b/libcudacxx/test/support/nothing_to_do.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/support/nothing_to_do.pass.cpp rename to libcudacxx/test/support/nothing_to_do.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/support/nvrtc_limit_macros.h b/libcudacxx/test/support/nvrtc_limit_macros.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/nvrtc_limit_macros.h rename to libcudacxx/test/support/nvrtc_limit_macros.h diff --git a/libcudacxx/.upstream-tests/test/support/placement_new.h b/libcudacxx/test/support/placement_new.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/placement_new.h rename to libcudacxx/test/support/placement_new.h diff --git a/libcudacxx/.upstream-tests/test/support/platform_support.h b/libcudacxx/test/support/platform_support.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/platform_support.h rename to libcudacxx/test/support/platform_support.h diff --git a/libcudacxx/.upstream-tests/test/support/pointer_comparison_test_helper.h b/libcudacxx/test/support/pointer_comparison_test_helper.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/pointer_comparison_test_helper.h rename to libcudacxx/test/support/pointer_comparison_test_helper.h diff --git a/libcudacxx/.upstream-tests/test/support/poisoned_hash_helper.h b/libcudacxx/test/support/poisoned_hash_helper.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/poisoned_hash_helper.h rename to libcudacxx/test/support/poisoned_hash_helper.h diff --git a/libcudacxx/.upstream-tests/test/support/private_constructor.h b/libcudacxx/test/support/private_constructor.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/private_constructor.h rename to libcudacxx/test/support/private_constructor.h diff --git a/libcudacxx/.upstream-tests/test/support/propagate_const_helpers.h b/libcudacxx/test/support/propagate_const_helpers.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/propagate_const_helpers.h rename to libcudacxx/test/support/propagate_const_helpers.h diff --git a/libcudacxx/.upstream-tests/test/support/rapid-cxx-test.h b/libcudacxx/test/support/rapid-cxx-test.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/rapid-cxx-test.h rename to libcudacxx/test/support/rapid-cxx-test.h diff --git a/libcudacxx/.upstream-tests/test/support/read_write.h b/libcudacxx/test/support/read_write.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/read_write.h rename to libcudacxx/test/support/read_write.h diff --git a/libcudacxx/.upstream-tests/test/support/set_windows_crt_report_mode.h b/libcudacxx/test/support/set_windows_crt_report_mode.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/set_windows_crt_report_mode.h rename to libcudacxx/test/support/set_windows_crt_report_mode.h diff --git a/libcudacxx/.upstream-tests/test/support/template_cost_testing.h b/libcudacxx/test/support/template_cost_testing.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/template_cost_testing.h rename to libcudacxx/test/support/template_cost_testing.h diff --git a/libcudacxx/.upstream-tests/test/support/test.workarounds/c1xx_broken_za_ctor_check.pass.cpp b/libcudacxx/test/support/test.workarounds/c1xx_broken_za_ctor_check.pass.cpp similarity index 100% rename from libcudacxx/.upstream-tests/test/support/test.workarounds/c1xx_broken_za_ctor_check.pass.cpp rename to libcudacxx/test/support/test.workarounds/c1xx_broken_za_ctor_check.pass.cpp diff --git a/libcudacxx/.upstream-tests/test/support/test_allocator.h b/libcudacxx/test/support/test_allocator.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/test_allocator.h rename to libcudacxx/test/support/test_allocator.h diff --git a/libcudacxx/.upstream-tests/test/support/test_comparisons.h b/libcudacxx/test/support/test_comparisons.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/test_comparisons.h rename to libcudacxx/test/support/test_comparisons.h diff --git a/libcudacxx/.upstream-tests/test/support/test_convertible.h b/libcudacxx/test/support/test_convertible.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/test_convertible.h rename to libcudacxx/test/support/test_convertible.h diff --git a/libcudacxx/.upstream-tests/test/support/test_iterators.h b/libcudacxx/test/support/test_iterators.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/test_iterators.h rename to libcudacxx/test/support/test_iterators.h diff --git a/libcudacxx/.upstream-tests/test/support/test_macros.h b/libcudacxx/test/support/test_macros.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/test_macros.h rename to libcudacxx/test/support/test_macros.h diff --git a/libcudacxx/.upstream-tests/test/support/test_memory_resource.h b/libcudacxx/test/support/test_memory_resource.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/test_memory_resource.h rename to libcudacxx/test/support/test_memory_resource.h diff --git a/libcudacxx/.upstream-tests/test/support/test_workarounds.h b/libcudacxx/test/support/test_workarounds.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/test_workarounds.h rename to libcudacxx/test/support/test_workarounds.h diff --git a/libcudacxx/.upstream-tests/test/support/tracked_value.h b/libcudacxx/test/support/tracked_value.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/tracked_value.h rename to libcudacxx/test/support/tracked_value.h diff --git a/libcudacxx/.upstream-tests/test/support/truncate_fp.h b/libcudacxx/test/support/truncate_fp.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/truncate_fp.h rename to libcudacxx/test/support/truncate_fp.h diff --git a/libcudacxx/.upstream-tests/test/support/type_classification/copyable.h b/libcudacxx/test/support/type_classification/copyable.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/type_classification/copyable.h rename to libcudacxx/test/support/type_classification/copyable.h diff --git a/libcudacxx/.upstream-tests/test/support/type_classification/movable.h b/libcudacxx/test/support/type_classification/movable.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/type_classification/movable.h rename to libcudacxx/test/support/type_classification/movable.h diff --git a/libcudacxx/.upstream-tests/test/support/type_classification/moveconstructible.h b/libcudacxx/test/support/type_classification/moveconstructible.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/type_classification/moveconstructible.h rename to libcudacxx/test/support/type_classification/moveconstructible.h diff --git a/libcudacxx/.upstream-tests/test/support/type_classification/semiregular.h b/libcudacxx/test/support/type_classification/semiregular.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/type_classification/semiregular.h rename to libcudacxx/test/support/type_classification/semiregular.h diff --git a/libcudacxx/.upstream-tests/test/support/type_classification/swappable.h b/libcudacxx/test/support/type_classification/swappable.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/type_classification/swappable.h rename to libcudacxx/test/support/type_classification/swappable.h diff --git a/libcudacxx/.upstream-tests/test/support/type_id.h b/libcudacxx/test/support/type_id.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/type_id.h rename to libcudacxx/test/support/type_id.h diff --git a/libcudacxx/.upstream-tests/test/support/unique_ptr_test_helper.h b/libcudacxx/test/support/unique_ptr_test_helper.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/unique_ptr_test_helper.h rename to libcudacxx/test/support/unique_ptr_test_helper.h diff --git a/libcudacxx/.upstream-tests/test/support/user_defined_integral.h b/libcudacxx/test/support/user_defined_integral.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/user_defined_integral.h rename to libcudacxx/test/support/user_defined_integral.h diff --git a/libcudacxx/.upstream-tests/test/support/uses_alloc_types.h b/libcudacxx/test/support/uses_alloc_types.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/uses_alloc_types.h rename to libcudacxx/test/support/uses_alloc_types.h diff --git a/libcudacxx/.upstream-tests/test/support/variant_test_helpers.h b/libcudacxx/test/support/variant_test_helpers.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/variant_test_helpers.h rename to libcudacxx/test/support/variant_test_helpers.h diff --git a/libcudacxx/.upstream-tests/test/support/verbose_assert.h b/libcudacxx/test/support/verbose_assert.h similarity index 100% rename from libcudacxx/.upstream-tests/test/support/verbose_assert.h rename to libcudacxx/test/support/verbose_assert.h diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/__init__.py b/libcudacxx/test/utils/libcudacxx/__init__.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/__init__.py rename to libcudacxx/test/utils/libcudacxx/__init__.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/compiler.py b/libcudacxx/test/utils/libcudacxx/compiler.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/compiler.py rename to libcudacxx/test/utils/libcudacxx/compiler.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/dumpversion.cpp b/libcudacxx/test/utils/libcudacxx/dumpversion.cpp similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/dumpversion.cpp rename to libcudacxx/test/utils/libcudacxx/dumpversion.cpp diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/empty.cpp b/libcudacxx/test/utils/libcudacxx/empty.cpp similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/empty.cpp rename to libcudacxx/test/utils/libcudacxx/empty.cpp diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/__init__.py b/libcudacxx/test/utils/libcudacxx/sym_check/__init__.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/__init__.py rename to libcudacxx/test/utils/libcudacxx/sym_check/__init__.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/diff.py b/libcudacxx/test/utils/libcudacxx/sym_check/diff.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/diff.py rename to libcudacxx/test/utils/libcudacxx/sym_check/diff.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/extract.py b/libcudacxx/test/utils/libcudacxx/sym_check/extract.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/extract.py rename to libcudacxx/test/utils/libcudacxx/sym_check/extract.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/match.py b/libcudacxx/test/utils/libcudacxx/sym_check/match.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/match.py rename to libcudacxx/test/utils/libcudacxx/sym_check/match.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/util.py b/libcudacxx/test/utils/libcudacxx/sym_check/util.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/sym_check/util.py rename to libcudacxx/test/utils/libcudacxx/sym_check/util.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/test/__init__.py b/libcudacxx/test/utils/libcudacxx/test/__init__.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/test/__init__.py rename to libcudacxx/test/utils/libcudacxx/test/__init__.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/test/config.py b/libcudacxx/test/utils/libcudacxx/test/config.py similarity index 99% rename from libcudacxx/.upstream-tests/utils/libcudacxx/test/config.py rename to libcudacxx/test/utils/libcudacxx/test/config.py index 1e42c11058..c3377c5656 100644 --- a/libcudacxx/.upstream-tests/utils/libcudacxx/test/config.py +++ b/libcudacxx/test/utils/libcudacxx/test/config.py @@ -812,7 +812,7 @@ def configure_default_compile_flags(self): self.cxx.flags += ['-m' + name + '-version-min=' + version] # Add includes for support headers used in the tests. - support_path = os.path.join(self.libcudacxx_src_root, 'test/support') + support_path = os.path.join(self.libcudacxx_src_root, 'test', 'support') self.cxx.compile_flags += ['-I' + support_path] # Add includes for the PSTL headers @@ -982,7 +982,7 @@ def configure_filesystem_compile_flags(self): if not self.get_lit_bool('enable_filesystem', default=True): return - static_env = os.path.join(self.libcudacxx_src_root, 'test', 'std', + static_env = os.path.join(self.libcudacxx_src_root, 'test', 'libcudacxx', 'std', 'input.output', 'filesystems', 'Inputs', 'static_test_env') static_env = os.path.realpath(static_env) assert os.path.isdir(static_env) @@ -1393,7 +1393,7 @@ def configure_substitutions(self): # Configure run env substitution. sub.append(('%run', '%t.exe')) # Configure not program substitutions - not_py = os.path.join(self.libcudacxx_src_root, 'utils', 'not.py') + not_py = os.path.join(self.libcudacxx_src_root, 'test', 'utils', 'not.py') not_str = '%s %s ' % (pipes.quote(sys.executable), pipes.quote(not_py)) sub.append(('not ', not_str)) if self.get_lit_conf('libcudacxx_gdb'): diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/test/executor.py b/libcudacxx/test/utils/libcudacxx/test/executor.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/test/executor.py rename to libcudacxx/test/utils/libcudacxx/test/executor.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/test/format.py b/libcudacxx/test/utils/libcudacxx/test/format.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/test/format.py rename to libcudacxx/test/utils/libcudacxx/test/format.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/test/googlebenchmark.py b/libcudacxx/test/utils/libcudacxx/test/googlebenchmark.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/test/googlebenchmark.py rename to libcudacxx/test/utils/libcudacxx/test/googlebenchmark.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/test/target_info.py b/libcudacxx/test/utils/libcudacxx/test/target_info.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/test/target_info.py rename to libcudacxx/test/utils/libcudacxx/test/target_info.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/test/tracing.py b/libcudacxx/test/utils/libcudacxx/test/tracing.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/test/tracing.py rename to libcudacxx/test/utils/libcudacxx/test/tracing.py diff --git a/libcudacxx/.upstream-tests/utils/libcudacxx/util.py b/libcudacxx/test/utils/libcudacxx/util.py similarity index 100% rename from libcudacxx/.upstream-tests/utils/libcudacxx/util.py rename to libcudacxx/test/utils/libcudacxx/util.py diff --git a/libcudacxx/.upstream-tests/utils/nvidia/getsm/.gitignore b/libcudacxx/test/utils/nvidia/getsm/.gitignore similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/getsm/.gitignore rename to libcudacxx/test/utils/nvidia/getsm/.gitignore diff --git a/libcudacxx/.upstream-tests/utils/nvidia/getsm/CMakeLists.txt b/libcudacxx/test/utils/nvidia/getsm/CMakeLists.txt similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/getsm/CMakeLists.txt rename to libcudacxx/test/utils/nvidia/getsm/CMakeLists.txt diff --git a/libcudacxx/.upstream-tests/utils/nvidia/getsm/main.cu b/libcudacxx/test/utils/nvidia/getsm/main.cu similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/getsm/main.cu rename to libcudacxx/test/utils/nvidia/getsm/main.cu diff --git a/libcudacxx/.upstream-tests/utils/nvidia/nvrtc/CMakeLists.txt b/libcudacxx/test/utils/nvidia/nvrtc/CMakeLists.txt similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/nvrtc/CMakeLists.txt rename to libcudacxx/test/utils/nvidia/nvrtc/CMakeLists.txt diff --git a/libcudacxx/.upstream-tests/utils/nvidia/nvrtc/README.md b/libcudacxx/test/utils/nvidia/nvrtc/README.md similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/nvrtc/README.md rename to libcudacxx/test/utils/nvidia/nvrtc/README.md diff --git a/libcudacxx/.upstream-tests/utils/nvidia/nvrtc/nvrtcc.cpp b/libcudacxx/test/utils/nvidia/nvrtc/nvrtcc.cpp similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/nvrtc/nvrtcc.cpp rename to libcudacxx/test/utils/nvidia/nvrtc/nvrtcc.cpp diff --git a/libcudacxx/.upstream-tests/utils/nvidia/nvrtc/nvrtcc_build.h b/libcudacxx/test/utils/nvidia/nvrtc/nvrtcc_build.h similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/nvrtc/nvrtcc_build.h rename to libcudacxx/test/utils/nvidia/nvrtc/nvrtcc_build.h diff --git a/libcudacxx/.upstream-tests/utils/nvidia/nvrtc/nvrtcc_common.h b/libcudacxx/test/utils/nvidia/nvrtc/nvrtcc_common.h similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/nvrtc/nvrtcc_common.h rename to libcudacxx/test/utils/nvidia/nvrtc/nvrtcc_common.h diff --git a/libcudacxx/.upstream-tests/utils/nvidia/nvrtc/nvrtcc_run.h b/libcudacxx/test/utils/nvidia/nvrtc/nvrtcc_run.h similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/nvrtc/nvrtcc_run.h rename to libcudacxx/test/utils/nvidia/nvrtc/nvrtcc_run.h diff --git a/libcudacxx/.upstream-tests/utils/nvidia/nvrtc/utils/platform.h b/libcudacxx/test/utils/nvidia/nvrtc/utils/platform.h similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/nvrtc/utils/platform.h rename to libcudacxx/test/utils/nvidia/nvrtc/utils/platform.h diff --git a/libcudacxx/.upstream-tests/utils/nvidia/nvrtc/utils/platform.linux.h b/libcudacxx/test/utils/nvidia/nvrtc/utils/platform.linux.h similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/nvrtc/utils/platform.linux.h rename to libcudacxx/test/utils/nvidia/nvrtc/utils/platform.linux.h diff --git a/libcudacxx/.upstream-tests/utils/nvidia/nvrtc/utils/platform.win.h b/libcudacxx/test/utils/nvidia/nvrtc/utils/platform.win.h similarity index 100% rename from libcudacxx/.upstream-tests/utils/nvidia/nvrtc/utils/platform.win.h rename to libcudacxx/test/utils/nvidia/nvrtc/utils/platform.win.h diff --git a/libcudacxx/utils b/libcudacxx/utils deleted file mode 120000 index ef489a83ab..0000000000 --- a/libcudacxx/utils +++ /dev/null @@ -1 +0,0 @@ -.upstream-tests/utils \ No newline at end of file