diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/Makefile | 2 | ||||
| -rw-r--r-- | examples/in/fib | 1 | ||||
| -rw-r--r-- | examples/in/gcd | 1 | ||||
| -rw-r--r-- | examples/out/fib (renamed from examples/fib.ccl.test) | 0 | ||||
| -rw-r--r-- | examples/out/gcd (renamed from examples/gcd.ccl.test) | 0 |
5 files changed, 3 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile index c4901ab..faf2f75 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -6,4 +6,4 @@ all: ${TESTS} .PHONY: ${TESTS} ${TESTS}: @echo "Test: $@" - @test "`../3cl -d $@.ccl`" = "`cat $@.ccl.test`" + @test "`../3cl -d $@.ccl < in/$@`" = "`cat out/$@`" diff --git a/examples/in/fib b/examples/in/fib new file mode 100644 index 0000000..d698f74 --- /dev/null +++ b/examples/in/fib @@ -0,0 +1 @@ +lol this file doesnt have any read calls so i can write here anythin i want diff --git a/examples/in/gcd b/examples/in/gcd new file mode 100644 index 0000000..d698f74 --- /dev/null +++ b/examples/in/gcd @@ -0,0 +1 @@ +lol this file doesnt have any read calls so i can write here anythin i want diff --git a/examples/fib.ccl.test b/examples/out/fib index 933afe4..933afe4 100644 --- a/examples/fib.ccl.test +++ b/examples/out/fib diff --git a/examples/gcd.ccl.test b/examples/out/gcd index 441395f..441395f 100644 --- a/examples/gcd.ccl.test +++ b/examples/out/gcd |