summaryrefslogtreecommitdiff
path: root/test cases/unit/39 python extmodule/blaster.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-03-16 18:36:25 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-03-16 18:39:02 -0400
commit4b0c0810df8e0fae9529d879539b8926b5b278a3 (patch)
tree31f11e73e0141678e8f60e4c16ba492215733f91 /test cases/unit/39 python extmodule/blaster.py
parentff844f3a1fd0cac31e2f61add59393b16548c97c (diff)
downloadmeson-4b0c0810df8e0fae9529d879539b8926b5b278a3.tar.gz
unittests: convert python tests to project tests
Perhaps when this test case was originally created, project tests could not use a matrix of options? This is certainly possible today, so don't write special unittest handling for this instead. This adds proper visibility into what gets run and what doesn't. Now we know which python executables got tested and which got skipped.
Diffstat (limited to 'test cases/unit/39 python extmodule/blaster.py')
-rwxr-xr-xtest cases/unit/39 python extmodule/blaster.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/test cases/unit/39 python extmodule/blaster.py b/test cases/unit/39 python extmodule/blaster.py
deleted file mode 100755
index 163b6d426..000000000
--- a/test cases/unit/39 python extmodule/blaster.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-import tachyon
-
-result = tachyon.phaserize('shoot')
-
-if not isinstance(result, int):
- print('Returned result not an integer.')
- sys.exit(1)
-
-if result != 1:
- print('Returned result {} is not 1.'.format(result))
- sys.exit(1)