# Sanity test of python package
Test-Command: cd test/ ; python3 -c "import sys, torch as th; print(sys.version, th.__path__, th.__version__)"
Depends: python3-torch,
Restrictions: allow-stderr
Features: test-name=py_import_and_version

Test-Command: cd debian/tests ; python3 blas.py
Depends: dpkg-dev, python3-torch, libopenblas0
Restrictions: allow-stderr
Features: test-name=py_blas_openblas

Test-Command: cd debian/tests ; python3 blas.py
Depends: dpkg-dev, python3-torch, libblis4
Restrictions: allow-stderr
Features: test-name=py_blas_blis

Test-Command: cd debian/tests ; python3 sequential.py
Depends: python3-torch,
Restrictions: allow-stderr
Features: test-name=py_sequential

# Check dangling symbol links
#Test-Command: cd debian/tests ; export TH_PATH="$(python3 -c 'import torch; print(torch.__path__[0])')"; test -z "$(find ${TH_PATH}/lib -xtype l)"
#Depends: python3-torch,
#Restrictions: allow-stderr
#Features: test-name=py_torch_no_dangling_symlink

# We are only printing those for package maintainers. The find command may fail due to a dangling symlink from other packages.
Test-Command: cd debian/tests ; find /usr -xtype l -print || true
Depends: @
Restrictions: allow-stderr
Features: test-name=show_dangling_symlink_if_any

# Generating Autopkgtest Test Cases for the C++ Testing Programs
# Found 113 tests
#
# C++ test 1/113
Test-Command: /usr/lib/libtorch-test/CppSignature_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=1_of_113__cpptest__CppSignature_test
Restrictions: allow-stderr

# C++ test 2/113
Test-Command: /usr/lib/libtorch-test/Dict_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=2_of_113__cpptest__Dict_test
Restrictions: allow-stderr

# C++ test 3/113
Test-Command: /usr/lib/libtorch-test/IListRef_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=3_of_113__cpptest__IListRef_test
Restrictions: allow-stderr

# C++ test 4/113
Test-Command: /usr/lib/libtorch-test/KernelFunction_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=4_of_113__cpptest__KernelFunction_test
Restrictions: allow-stderr

# C++ test 5/113
Test-Command: /usr/lib/libtorch-test/List_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=5_of_113__cpptest__List_test
Restrictions: allow-stderr

# C++ test 6/113
Test-Command: /usr/lib/libtorch-test/MaybeOwned_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=6_of_113__cpptest__MaybeOwned_test
Restrictions: allow-stderr

# C++ test 7/113
Test-Command: /usr/lib/libtorch-test/StorageUtils_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=7_of_113__cpptest__StorageUtils_test
Restrictions: allow-stderr

# C++ test 8/113
Test-Command: /usr/lib/libtorch-test/accelerator_graph_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=8_of_113__cpptest__accelerator_graph_test
Restrictions: allow-stderr

# C++ test 9/113
Test-Command: /usr/lib/libtorch-test/apply_utils_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=9_of_113__cpptest__apply_utils_test
Restrictions: allow-stderr

# C++ test 10/113
Test-Command: /usr/lib/libtorch-test/atest
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=10_of_113__cpptest__atest
Restrictions: allow-stderr

# C++ test 11/113
Test-Command: /usr/lib/libtorch-test/backend_fallback_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=11_of_113__cpptest__backend_fallback_test
Restrictions: allow-stderr

# C++ test 12/113
Test-Command: /usr/lib/libtorch-test/basic
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=12_of_113__cpptest__basic
Restrictions: allow-stderr

# C++ test 13/113
Test-Command: /usr/lib/libtorch-test/broadcast_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=13_of_113__cpptest__broadcast_test
Restrictions: allow-stderr

# C++ test 14/113
Test-Command: /usr/lib/libtorch-test/c10_AllocatorConfig_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=14_of_113__cpptest__c10_AllocatorConfig_test
Restrictions: allow-stderr

# C++ test 15/113
Test-Command: /usr/lib/libtorch-test/c10_ArrayRef_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=15_of_113__cpptest__c10_ArrayRef_test
Restrictions: allow-stderr

# C++ test 16/113
Test-Command: /usr/lib/libtorch-test/c10_Bitset_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=16_of_113__cpptest__c10_Bitset_test
Restrictions: allow-stderr

# C++ test 17/113
Test-Command: /usr/lib/libtorch-test/c10_CompileTimeFunctionPointer_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=17_of_113__cpptest__c10_CompileTimeFunctionPointer_test
Restrictions: allow-stderr

# C++ test 18/113
Test-Command: /usr/lib/libtorch-test/c10_ConstexprCrc_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=18_of_113__cpptest__c10_ConstexprCrc_test
Restrictions: allow-stderr

# C++ test 19/113
Test-Command: /usr/lib/libtorch-test/c10_DeadlockDetection_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=19_of_113__cpptest__c10_DeadlockDetection_test
Restrictions: allow-stderr

# C++ test 20/113
Test-Command: /usr/lib/libtorch-test/c10_DeviceGuard_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=20_of_113__cpptest__c10_DeviceGuard_test
Restrictions: allow-stderr

# C++ test 21/113
Test-Command: /usr/lib/libtorch-test/c10_Device_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=21_of_113__cpptest__c10_Device_test
Restrictions: allow-stderr

# C++ test 22/113
Test-Command: /usr/lib/libtorch-test/c10_DispatchKeySet_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=22_of_113__cpptest__c10_DispatchKeySet_test
Restrictions: allow-stderr

# C++ test 23/113
Test-Command: /usr/lib/libtorch-test/c10_Enumerate_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=23_of_113__cpptest__c10_Enumerate_test
Restrictions: allow-stderr

# C++ test 24/113
Test-Command: /usr/lib/libtorch-test/c10_Half_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=24_of_113__cpptest__c10_Half_test
Restrictions: allow-stderr

# C++ test 25/113
Test-Command: /usr/lib/libtorch-test/c10_InlineDeviceGuard_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=25_of_113__cpptest__c10_InlineDeviceGuard_test
Restrictions: allow-stderr

# C++ test 26/113
Test-Command: /usr/lib/libtorch-test/c10_InlineStreamGuard_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=26_of_113__cpptest__c10_InlineStreamGuard_test
Restrictions: allow-stderr

# C++ test 27/113
Test-Command: /usr/lib/libtorch-test/c10_IntrusiveList_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=27_of_113__cpptest__c10_IntrusiveList_test
Restrictions: allow-stderr

# C++ test 28/113
Test-Command: /usr/lib/libtorch-test/c10_LeftRight_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=28_of_113__cpptest__c10_LeftRight_test
Restrictions: allow-stderr

# C++ test 29/113
Test-Command: /usr/lib/libtorch-test/c10_NetworkFlow_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=29_of_113__cpptest__c10_NetworkFlow_test
Restrictions: allow-stderr

# C++ test 30/113
Test-Command: /usr/lib/libtorch-test/c10_Scalar_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=30_of_113__cpptest__c10_Scalar_test
Restrictions: allow-stderr

# C++ test 31/113
Test-Command: /usr/lib/libtorch-test/c10_Semaphore_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=31_of_113__cpptest__c10_Semaphore_test
Restrictions: allow-stderr

# C++ test 32/113
Test-Command: /usr/lib/libtorch-test/c10_SizesAndStrides_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=32_of_113__cpptest__c10_SizesAndStrides_test
Restrictions: allow-stderr

# C++ test 33/113
Test-Command: /usr/lib/libtorch-test/c10_StreamGuard_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=33_of_113__cpptest__c10_StreamGuard_test
Restrictions: allow-stderr

# C++ test 34/113
Test-Command: /usr/lib/libtorch-test/c10_SymInt_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=34_of_113__cpptest__c10_SymInt_test
Restrictions: allow-stderr

# C++ test 35/113
Test-Command: /usr/lib/libtorch-test/c10_Synchronized_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=35_of_113__cpptest__c10_Synchronized_test
Restrictions: allow-stderr

# C++ test 36/113
Test-Command: /usr/lib/libtorch-test/c10_ThreadLocalDebugInfo_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=36_of_113__cpptest__c10_ThreadLocalDebugInfo_test
Restrictions: allow-stderr

# C++ test 37/113
Test-Command: /usr/lib/libtorch-test/c10_ThreadLocal_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=37_of_113__cpptest__c10_ThreadLocal_test
Restrictions: allow-stderr

# C++ test 38/113
Test-Command: /usr/lib/libtorch-test/c10_TypeIndex_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=38_of_113__cpptest__c10_TypeIndex_test
Restrictions: allow-stderr

# C++ test 39/113
Test-Command: /usr/lib/libtorch-test/c10_TypeSafeSignMath_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=39_of_113__cpptest__c10_TypeSafeSignMath_test
Restrictions: allow-stderr

# C++ test 40/113
Test-Command: /usr/lib/libtorch-test/c10_WaitCounter_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=40_of_113__cpptest__c10_WaitCounter_test
Restrictions: allow-stderr

# C++ test 41/113
Test-Command: /usr/lib/libtorch-test/c10_accumulate_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=41_of_113__cpptest__c10_accumulate_test
Restrictions: allow-stderr

# C++ test 42/113
Test-Command: /usr/lib/libtorch-test/c10_bfloat16_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=42_of_113__cpptest__c10_bfloat16_test
Restrictions: allow-stderr

# C++ test 43/113
Test-Command: /usr/lib/libtorch-test/c10_bit_cast_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=43_of_113__cpptest__c10_bit_cast_test
Restrictions: allow-stderr

# C++ test 44/113
Test-Command: /usr/lib/libtorch-test/c10_complex_math_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=44_of_113__cpptest__c10_complex_math_test
Restrictions: allow-stderr

# C++ test 45/113
Test-Command: /usr/lib/libtorch-test/c10_complex_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=45_of_113__cpptest__c10_complex_test
Restrictions: allow-stderr

# C++ test 46/113
Test-Command: /usr/lib/libtorch-test/c10_cow_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=46_of_113__cpptest__c10_cow_test
Restrictions: allow-stderr

# C++ test 47/113
Test-Command: /usr/lib/libtorch-test/c10_error_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=47_of_113__cpptest__c10_error_test
Restrictions: allow-stderr

# C++ test 48/113
Test-Command: /usr/lib/libtorch-test/c10_exception_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=48_of_113__cpptest__c10_exception_test
Restrictions: allow-stderr

# C++ test 49/113
Test-Command: /usr/lib/libtorch-test/c10_flags_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=49_of_113__cpptest__c10_flags_test
Restrictions: allow-stderr

# C++ test 50/113
Test-Command: /usr/lib/libtorch-test/c10_generic_math_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=50_of_113__cpptest__c10_generic_math_test
Restrictions: allow-stderr

# C++ test 51/113
Test-Command: /usr/lib/libtorch-test/c10_intrusive_ptr_benchmark
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=51_of_113__cpptest__c10_intrusive_ptr_benchmark
Restrictions: allow-stderr

# C++ test 52/113
Test-Command: /usr/lib/libtorch-test/c10_intrusive_ptr_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=52_of_113__cpptest__c10_intrusive_ptr_test
Restrictions: allow-stderr

# C++ test 53/113
Test-Command: /usr/lib/libtorch-test/c10_irange_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=53_of_113__cpptest__c10_irange_test
Restrictions: allow-stderr

# C++ test 54/113
Test-Command: /usr/lib/libtorch-test/c10_lazy_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=54_of_113__cpptest__c10_lazy_test
Restrictions: allow-stderr

# C++ test 55/113
Test-Command: /usr/lib/libtorch-test/c10_logging_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=55_of_113__cpptest__c10_logging_test
Restrictions: allow-stderr

# C++ test 56/113
Test-Command: /usr/lib/libtorch-test/c10_nofatal_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=56_of_113__cpptest__c10_nofatal_test
Restrictions: allow-stderr

# C++ test 57/113
Test-Command: /usr/lib/libtorch-test/c10_optional_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=57_of_113__cpptest__c10_optional_test
Restrictions: allow-stderr

# C++ test 58/113
Test-Command: /usr/lib/libtorch-test/c10_ordered_preserving_dict_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=58_of_113__cpptest__c10_ordered_preserving_dict_test
Restrictions: allow-stderr

# C++ test 59/113
Test-Command: /usr/lib/libtorch-test/c10_overflows_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=59_of_113__cpptest__c10_overflows_test
Restrictions: allow-stderr

# C++ test 60/113
Test-Command: /usr/lib/libtorch-test/c10_registry_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=60_of_113__cpptest__c10_registry_test
Restrictions: allow-stderr

# C++ test 61/113
Test-Command: /usr/lib/libtorch-test/c10_safe_conv_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=61_of_113__cpptest__c10_safe_conv_test
Restrictions: allow-stderr

# C++ test 62/113
Test-Command: /usr/lib/libtorch-test/c10_small_vector_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=62_of_113__cpptest__c10_small_vector_test
Restrictions: allow-stderr

# C++ test 63/113
Test-Command: /usr/lib/libtorch-test/c10_ssize_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=63_of_113__cpptest__c10_ssize_test
Restrictions: allow-stderr

# C++ test 64/113
Test-Command: /usr/lib/libtorch-test/c10_string_util_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=64_of_113__cpptest__c10_string_util_test
Restrictions: allow-stderr

# C++ test 65/113
Test-Command: /usr/lib/libtorch-test/c10_string_view_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=65_of_113__cpptest__c10_string_view_test
Restrictions: allow-stderr

# C++ test 66/113
Test-Command: /usr/lib/libtorch-test/c10_tempfile_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=66_of_113__cpptest__c10_tempfile_test
Restrictions: allow-stderr

# C++ test 67/113
Test-Command: /usr/lib/libtorch-test/c10_typeid_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=67_of_113__cpptest__c10_typeid_test
Restrictions: allow-stderr

# C++ test 68/113
Test-Command: /usr/lib/libtorch-test/cpu_allocator_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=68_of_113__cpptest__cpu_allocator_test
Restrictions: allow-stderr

# C++ test 69/113
Test-Command: /usr/lib/libtorch-test/cpu_generator_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=69_of_113__cpptest__cpu_generator_test
Restrictions: allow-stderr

# C++ test 70/113
Test-Command: /usr/lib/libtorch-test/cpu_profiling_allocator_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=70_of_113__cpptest__cpu_profiling_allocator_test
Restrictions: allow-stderr

# C++ test 71/113
Test-Command: /usr/lib/libtorch-test/cpu_rng_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=71_of_113__cpptest__cpu_rng_test
Restrictions: allow-stderr

# C++ test 72/113
Test-Command: /usr/lib/libtorch-test/dlconvertor_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=72_of_113__cpptest__dlconvertor_test
Restrictions: allow-stderr

# C++ test 73/113
Test-Command: /usr/lib/libtorch-test/extension_backend_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=73_of_113__cpptest__extension_backend_test
Restrictions: allow-stderr

# C++ test 74/113
Test-Command: /usr/lib/libtorch-test/half_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=74_of_113__cpptest__half_test
Restrictions: allow-stderr

# C++ test 75/113
Test-Command: /usr/lib/libtorch-test/index_kernel_utils_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=75_of_113__cpptest__index_kernel_utils_test
Restrictions: allow-stderr

# C++ test 76/113
Test-Command: /usr/lib/libtorch-test/inline_container_test || true
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=76_of_113__cpptest__inline_container_test
Restrictions: allow-stderr

# C++ test 77/113
Test-Command: /usr/lib/libtorch-test/ivalue_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=77_of_113__cpptest__ivalue_test
Restrictions: allow-stderr

# C++ test 78/113
Test-Command: /usr/lib/libtorch-test/kernel_function_legacy_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=78_of_113__cpptest__kernel_function_legacy_test
Restrictions: allow-stderr

# C++ test 79/113
Test-Command: /usr/lib/libtorch-test/kernel_function_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=79_of_113__cpptest__kernel_function_test
Restrictions: allow-stderr

# C++ test 80/113
Test-Command: /usr/lib/libtorch-test/kernel_lambda_legacy_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=80_of_113__cpptest__kernel_lambda_legacy_test
Restrictions: allow-stderr

# C++ test 81/113
Test-Command: /usr/lib/libtorch-test/kernel_lambda_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=81_of_113__cpptest__kernel_lambda_test
Restrictions: allow-stderr

# C++ test 82/113
Test-Command: /usr/lib/libtorch-test/kernel_stackbased_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=82_of_113__cpptest__kernel_stackbased_test
Restrictions: allow-stderr

# C++ test 83/113
Test-Command: /usr/lib/libtorch-test/lazy_tensor_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=83_of_113__cpptest__lazy_tensor_test
Restrictions: allow-stderr

# C++ test 84/113
Test-Command: /usr/lib/libtorch-test/legacy_vmap_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=84_of_113__cpptest__legacy_vmap_test
Restrictions: allow-stderr

# C++ test 85/113
Test-Command: /usr/lib/libtorch-test/make_boxed_from_unboxed_functor_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=85_of_113__cpptest__make_boxed_from_unboxed_functor_test
Restrictions: allow-stderr

# C++ test 86/113
Test-Command: /usr/lib/libtorch-test/math_kernel_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=86_of_113__cpptest__math_kernel_test
Restrictions: allow-stderr

# C++ test 87/113
Test-Command: /usr/lib/libtorch-test/memory_format_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=87_of_113__cpptest__memory_format_test
Restrictions: allow-stderr

# C++ test 88/113
Test-Command: /usr/lib/libtorch-test/memory_overlapping_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=88_of_113__cpptest__memory_overlapping_test
Restrictions: allow-stderr

# C++ test 89/113
Test-Command: /usr/lib/libtorch-test/mobile_memory_cleanup
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=89_of_113__cpptest__mobile_memory_cleanup
Restrictions: allow-stderr

# C++ test 90/113
Test-Command: /usr/lib/libtorch-test/native_test || true
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=90_of_113__cpptest__native_test
Restrictions: allow-stderr

# C++ test 91/113
Test-Command: /usr/lib/libtorch-test/op_allowlist_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=91_of_113__cpptest__op_allowlist_test
Restrictions: allow-stderr

# C++ test 92/113
Test-Command: /usr/lib/libtorch-test/op_registration_test || true
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=92_of_113__cpptest__op_registration_test
Restrictions: allow-stderr

# C++ test 93/113
Test-Command: /usr/lib/libtorch-test/operator_name_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=93_of_113__cpptest__operator_name_test
Restrictions: allow-stderr

# C++ test 94/113
Test-Command: /usr/lib/libtorch-test/operators_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=94_of_113__cpptest__operators_test
Restrictions: allow-stderr

# C++ test 95/113
Test-Command: /usr/lib/libtorch-test/packedtensoraccessor_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=95_of_113__cpptest__packedtensoraccessor_test
Restrictions: allow-stderr

# C++ test 96/113
Test-Command: /usr/lib/libtorch-test/pow_test || true
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=96_of_113__cpptest__pow_test
Restrictions: allow-stderr

# C++ test 97/113
Test-Command: /usr/lib/libtorch-test/quantized_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=97_of_113__cpptest__quantized_test
Restrictions: allow-stderr

# C++ test 98/113
Test-Command: /usr/lib/libtorch-test/reduce_ops_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=98_of_113__cpptest__reduce_ops_test
Restrictions: allow-stderr

# C++ test 99/113
Test-Command: /usr/lib/libtorch-test/reportMemoryUsage_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=99_of_113__cpptest__reportMemoryUsage_test
Restrictions: allow-stderr

# C++ test 100/113
Test-Command: /usr/lib/libtorch-test/scalar_tensor_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=100_of_113__cpptest__scalar_tensor_test
Restrictions: allow-stderr

# C++ test 101/113
Test-Command: /usr/lib/libtorch-test/scalar_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=101_of_113__cpptest__scalar_test
Restrictions: allow-stderr

# C++ test 102/113
Test-Command: /usr/lib/libtorch-test/stride_properties_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=102_of_113__cpptest__stride_properties_test
Restrictions: allow-stderr

# C++ test 103/113
Test-Command: /usr/lib/libtorch-test/tensor_iterator_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=103_of_113__cpptest__tensor_iterator_test
Restrictions: allow-stderr

# C++ test 104/113
Test-Command: /usr/lib/libtorch-test/test_parallel
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=104_of_113__cpptest__test_parallel
Restrictions: allow-stderr

# C++ test 105/113
Test-Command: /usr/lib/libtorch-test/thread_init_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=105_of_113__cpptest__thread_init_test
Restrictions: allow-stderr

# C++ test 106/113
Test-Command: /usr/lib/libtorch-test/type_ptr_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=106_of_113__cpptest__type_ptr_test
Restrictions: allow-stderr

# C++ test 107/113
Test-Command: /usr/lib/libtorch-test/type_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=107_of_113__cpptest__type_test
Restrictions: allow-stderr

# C++ test 108/113
Test-Command: /usr/lib/libtorch-test/undefined_tensor_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=108_of_113__cpptest__undefined_tensor_test
Restrictions: allow-stderr

# C++ test 109/113
Test-Command: /usr/lib/libtorch-test/verify_api_visibility
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=109_of_113__cpptest__verify_api_visibility
Restrictions: allow-stderr

# C++ test 110/113
Test-Command: /usr/lib/libtorch-test/vulkan_api_test || true
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=110_of_113__cpptest__vulkan_api_test
Restrictions: allow-stderr

# C++ test 111/113
Test-Command: /usr/lib/libtorch-test/weakref_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=111_of_113__cpptest__weakref_test
Restrictions: allow-stderr

# C++ test 112/113
Test-Command: /usr/lib/libtorch-test/wrapdim_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=112_of_113__cpptest__wrapdim_test
Restrictions: allow-stderr

# C++ test 113/113
Test-Command: /usr/lib/libtorch-test/xla_tensor_test
Depends: build-essential, ninja-build, libtorch-dev, libtorch-test
Features: test-name=113_of_113__cpptest__xla_tensor_test
Restrictions: allow-stderr

