aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2019-01-16 18:51:31 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2019-01-17 20:52:06 +0200
commit65f3de70ac979b18233f405d2d7d33ac647f7376 (patch)
tree967a6ded7f797b6deedba53dbaa4dc6d26dab8a2
parentceaebf6bac171317fffc2c6bf1bffbc9968a48cc (diff)
downloadmeson-65f3de70ac979b18233f405d2d7d33ac647f7376.zip
meson-65f3de70ac979b18233f405d2d7d33ac647f7376.tar.gz
meson-65f3de70ac979b18233f405d2d7d33ac647f7376.tar.bz2
tests: Don't return an undefined value from main()
This caused test failures while backporting meson to an old runtime environment. Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--test cases/unit/17 prebuilt shared/patron.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/unit/17 prebuilt shared/patron.c b/test cases/unit/17 prebuilt shared/patron.c
index 82d9678..461d7b4 100644
--- a/test cases/unit/17 prebuilt shared/patron.c
+++ b/test cases/unit/17 prebuilt shared/patron.c
@@ -5,4 +5,5 @@ int main(int argc, char **argv) {
printf("You are standing outside the Great Library of Alexandria.\n");
printf("You decide to go inside.\n\n");
alexandria_visit();
+ return 0;
}