diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-04 00:02:29 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-04 00:02:29 +0300 |
| commit | 867af1264fd30fbc123347f3667fcb68495931a7 (patch) | |
| tree | ac6e309cfcaf3f6434961fa2520e8cf8b2fbfc48 /test cases/unit/37 python extmodule/blaster.py | |
| parent | ecf4024592a438387bc0cf694f6971715d7f5059 (diff) | |
| parent | 17bfbb99e5897ac759aca42d3ee375ebb33bd087 (diff) | |
| download | meson-867af1264fd30fbc123347f3667fcb68495931a7.tar.gz | |
Merge pull request #3945 from mesonbuild/dircondenser
Condense directory names with script.
Diffstat (limited to 'test cases/unit/37 python extmodule/blaster.py')
| -rwxr-xr-x | test cases/unit/37 python extmodule/blaster.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test cases/unit/37 python extmodule/blaster.py b/test cases/unit/37 python extmodule/blaster.py new file mode 100755 index 000000000..163b6d426 --- /dev/null +++ b/test cases/unit/37 python extmodule/blaster.py @@ -0,0 +1,14 @@ +#!/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) |
