/red-system/tests/source/compiler/output-test.r
http://github.com/dockimbel/Red · R · 20 lines · 15 code · 5 blank · 0 comment · 0 complexity · 689b3469d571e7fd5c689f0615b16d79 MD5 · raw file
- REBOL [
- Title: "Test output from Red/System programs"
- File: %output-test.r
- License: "BSD-3 - https://github.com/dockimbel/Red/blob/master/BSD-3-License.txt"
- ]
- change-dir %../ ;; revert to tests/ directory from runnable/
-
- ~~~start-file~~~ "output"
- --test-- "hello"
- --compile-and-run %source/compiler/hello.reds
- --assert none <> find qt/output "hello"
- --assert none <> find qt/output "world"
-
- --test-- "empty"
- --compile-and-run %source/compiler/empty.reds
- --assert qt/output = ""
-
- ~~~end-file~~~