aboutsummaryrefslogtreecommitdiff
path: root/test/behavior
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2023-07-01 14:29:11 +0200
committerRobin Voetter <robin@voetter.nl>2023-07-01 14:29:11 +0200
commitaa398034eb1b2fd74e1815ae2e75ca1a3ca4a567 (patch)
tree089f0f7f0a1ad1b6e304d22f83cf4d71c57c4561 /test/behavior
parent74f40ddd11451707a046f2a8b0807a656f81b51c (diff)
downloadzig-aa398034eb1b2fd74e1815ae2e75ca1a3ca4a567.tar.gz
zig-aa398034eb1b2fd74e1815ae2e75ca1a3ca4a567.zip
testing: disable printing for targets that do not support it
The SPIR-V cannot print the helpful error messages from the std.testing module. This commit overrides the default print function used here to one that only prints if the target supports it. For now, its only done for SPIR-V, but this function could be adapted to more targets that need it.
Diffstat (limited to 'test/behavior')
0 files changed, 0 insertions, 0 deletions