create userland tests

Fix some more tabs.

Parse the "Simulated exit code not 0!" string in gem5 and exit with the proper status
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent 780e9ceeb4
commit f2e73bac83
18 changed files with 183 additions and 67 deletions

View File

@@ -1,6 +1,6 @@
#include <common.h>
int main(void) {
common_assert_fail();
common_assert_fail();
}

View File

@@ -2,5 +2,5 @@
#include <stdlib.h>
int main(void) {
exit(1);
exit(1);
}

View File

@@ -1,6 +1,6 @@
#include <stdio.h>
int main(void) {
puts("hello");
return 0;
puts("hello");
return 0;
}