From b808c255b6a9ddba085bf5646e7d20ec344f2e2d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Apr 2020 08:48:53 +0200 Subject: Initial support for ad hoc recipes (still work in progress) --- libbuild2/test/script/parser+variable.test.testscript | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libbuild2/test/script/parser+variable.test.testscript (limited to 'libbuild2/test/script/parser+variable.test.testscript') diff --git a/libbuild2/test/script/parser+variable.test.testscript b/libbuild2/test/script/parser+variable.test.testscript new file mode 100644 index 0000000..3751a5f --- /dev/null +++ b/libbuild2/test/script/parser+variable.test.testscript @@ -0,0 +1,19 @@ +# file : libbuild2/test/script/parser+variable.test.testscript +# license : MIT; see accompanying LICENSE file + +: assignment +: +$* <>EOO +a = b +echo $a +EOI +echo b +EOO + +: empty-name +: +$* <>EOE != 0 += b +EOI +testscript:1:1: error: missing variable name +EOE -- cgit v1.1