parent
6d9e1312a0
commit
00ecf811e6
2 changed files with 12 additions and 0 deletions
@ -0,0 +1,3 @@ |
||||
project('test is external', 'c') |
||||
|
||||
test('external', find_program('mytest.py'), args : ['correct']) |
@ -0,0 +1,9 @@ |
||||
#!/usr/bin/env python3 |
||||
|
||||
import sys |
||||
|
||||
if sys.argv[1] == 'correct': |
||||
print('Argument is correct.') |
||||
sys.exit(0) |
||||
print('Argument is incorrect:', sys.argv[1]) |
||||
sys.exit(1) |
Loading…
Reference in new issue