parent
5148972bfe
commit
fa74ef4c57
5 changed files with 35 additions and 6 deletions
@ -0,0 +1,8 @@ |
||||
project('timeout', 'c') |
||||
|
||||
# This creates a test that times out. It is a manual test |
||||
# because currently there is no test suite for test that are expected |
||||
# to fail during unit test phase. |
||||
|
||||
exe = executable('sleepprog', 'sleepprog.c') |
||||
test('timeout', exe, timeout : 1) |
@ -0,0 +1,6 @@ |
||||
#include<unistd.h> |
||||
|
||||
int main(int argc, char **argv) { |
||||
sleep(1000); |
||||
return 0; |
||||
} |
Loading…
Reference in new issue