aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-09-28 18:09:54 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-09-28 18:09:54 +0300
commitd4a922c21a65a1fc8c52bbce2c18fe3a0f169002 (patch)
tree909823a12e5115bc62e88a2dcfcef7231117fdae /test cases
parentd23e59ed5f82a3f2d3b0d70faf71a6d4ca16eaaa (diff)
downloadmeson-d4a922c21a65a1fc8c52bbce2c18fe3a0f169002.zip
meson-d4a922c21a65a1fc8c52bbce2c18fe3a0f169002.tar.gz
meson-d4a922c21a65a1fc8c52bbce2c18fe3a0f169002.tar.bz2
Can set build targets as arguments to run_target. Closes #270.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/58 run target/helloprinter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/common/58 run target/helloprinter.c b/test cases/common/58 run target/helloprinter.c
index 7f94b19..4a6e0ac 100644
--- a/test cases/common/58 run target/helloprinter.c
+++ b/test cases/common/58 run target/helloprinter.c
@@ -3,6 +3,7 @@
int main(int argc, char **argv) {
if(argc != 2) {
printf("I can not haz argument.\n");
+ return 1;
} else {
printf("I can haz argument: %s\n", argv[1]);
}