From: Alberto Gonzalez Date: Mon, 16 Mar 2020 06:44:21 +0000 (+0000) Subject: Add test for `exec` command. X-Git-Tag: working-ls180~741^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a09b260c015457ad9a9cadbe0931b411d748420d;p=yosys.git Add test for `exec` command. --- diff --git a/tests/various/exec.ys b/tests/various/exec.ys new file mode 100644 index 000000000..0eec00719 --- /dev/null +++ b/tests/various/exec.ys @@ -0,0 +1,6 @@ +exec -expect-return 0 -- exit 0 +exec -expect-return 27 -- exit 27 +exec -expect-stdout nana -expect-stdout api -not-expect-stdout giraffe -- echo "bananapie" + +logger -expect error "stdout did have a line" 1 +exec -not-expect-stdout giraffe -- echo "giraffe"