diff options
| author | ewy <ewy0@protonmail.com> | 2026-06-14 17:50:45 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-06-14 17:50:45 +0200 |
| commit | 40577525de2a01ca0b21a5d88757295ae7735580 (patch) | |
| tree | 5b7bd7d3884e1524517f36913ca18ac3a5a4ae0e /integration_tests/make/simple.test.sh | |
| parent | fc9d57a500e522ce254f34681c67c6b2f3300cd8 (diff) | |
enable multiline for make regex so we can find multiple make targets (lol)
Diffstat (limited to 'integration_tests/make/simple.test.sh')
| -rw-r--r-- | integration_tests/make/simple.test.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/integration_tests/make/simple.test.sh b/integration_tests/make/simple.test.sh new file mode 100644 index 0000000..d6c9b7a --- /dev/null +++ b/integration_tests/make/simple.test.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +result="$($PIK hello)" +if [[ ! "$result" == *"Hello, World"* ]] ; then + echo "expected Hello, World" >&2 + exit 1 +fi +result="$($PIK other)" +if [[ ! "$result" == *"Hello from Makefile!"* ]] ; then + echo "expected Hello from Makefile!" >&2 + exit 1 +fi |
