diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2018-12-21 11:52:05 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2019-03-12 17:05:21 +0000 |
| commit | b4f396151ba736078e12c01a079ba53ad02f0e26 (patch) | |
| tree | 23c6ddb86dae26af1dc3ded121e77904700268c4 /tests/tcg/mips/hello-mips.c | |
| parent | d0ce6257c660d202aff160eedbc359e1e8653a30 (diff) | |
| download | focaccia-qemu-b4f396151ba736078e12c01a079ba53ad02f0e26.tar.gz focaccia-qemu-b4f396151ba736078e12c01a079ba53ad02f0e26.zip | |
tests/tcg/mips: fix hello-mips compilation
The compilation flags for proper building are in the source tree. We also fix exit to 0 so the result is counted as a success. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/mips/hello-mips.c')
| -rw-r--r-- | tests/tcg/mips/hello-mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/mips/hello-mips.c b/tests/tcg/mips/hello-mips.c index c7052fdf2e..4e1cf501af 100644 --- a/tests/tcg/mips/hello-mips.c +++ b/tests/tcg/mips/hello-mips.c @@ -60,5 +60,5 @@ static inline int write(int fd, const char *buf, int len) void __start(void) { write (1, "Hello, World!\n", 14); - exit1 (42); + exit1(0); } |