qa: introduce runners and more tests for newlib

For each test, if a script exists with the same name of the test
plus the .runner suffix, the runner is run instead of the test.

As a first example qa/lib/newlib/testsuite/atexit is run by
qa/lib/newlib/testsuite/atexit.runner.

These .runner scripts allow more complex checks of the side effects
generated by the test.
This commit is contained in:
2017-04-28 00:47:12 +02:00
parent ac33157c37
commit 2481b01515
10 changed files with 95 additions and 31 deletions

View File

@@ -0,0 +1,7 @@
/* let's start with a K&R classic */
#include <stdio.h>
int main()
{
printf("hello, world\n");
return 0;
}