Tests pass, but Exit Error Code 1 on Zig master branch
cryptodeal opened this issue · comments
James Deal commented
What version of Zig is running?
0.12.0-dev.403+f40f81cbf
What platform is your computer?
Darwin 22.6.0 arm64 arm
What steps can reproduce the bug?
Clone repo, ensure ArrayFire is installed (brew is easiest) & run zig build test -DZT_ARRAYFIRE_USE_CPU
What is the expected behavior?
Tests all pass, no transitive failure.
What do you see instead?
zig build test -DZT_ARRAYFIRE_USE_CPU
run test: error: 'test.Shape basic' logged errors: [default] (err): Shape index 5 out of bounds for shape with 2 dimensions.
run test: error: 'test.DeviceManager getDeviceCount' logged errors: [default] (err): [DeviceManager.getDeviceCount] device type `CUDA` unavailable
run test: error: 'test.DeviceManager getDevicesOfType' logged errors: le
[default] (err): [DeviceManager.getDeviceCount] device type `CUDA` unavailable
[default] (err): [DeviceManager.getDeviceCount] device type `CUDA` unavailable
run test: error: 'test.DeviceManager getActiveDevice' logged errors: [default] (err): [DeviceManager.getActiveDevice] device type `CUDA` unavailable
run test: error: le
run test: error: while executing test 'test.ArrayFireBackend getInstance (singleton)', the following test command failed:
/Users/cryptodeal/zigTensor/zig-cache/o/60be981ad86657c471b1ec5e9b3b92c9/test --listen=-
Build Summary: 2/4 steps succeeded; 1 failed; 46/46 tests passed (disable with --summary none)
test transitive failure
└─ run test 46/46 passed
error: the following build command failed with exit code 1:
/Users/cryptodeal/zigTensor/zig-cache/o/0a87308b9ce553604f0fb9f6718445df/build /Users/cryptodeal/zig/0.12.0-dev.403+f40f81cbf/files/zig /Users/cryptodeal/zigTensor /Users/cryptodeal/zigTensor/zig-cache /Users/cryptodeal/.cache/zig test -DZT_ARRAYFIRE_USE_CPU
Additional information
Works running tests on 0.12.0-dev.167+dd6a9caea