Idris2/tests/idris2/pkg/pkg017/run

13 lines
529 B
Plaintext
Raw Normal View History

2023-09-01 13:10:49 +03:00
. ../../../testutils.sh
2023-08-29 13:47:42 +03:00
mkdir prefix
2023-08-30 16:46:49 +03:00
IDRIS2_PREFIX="$test_dir/prefix" idris2 --install-with-src a1/a1.ipkg > /dev/null
IDRIS2_PREFIX="$test_dir/prefix" idris2 --install-with-src a2/a2.ipkg > /dev/null
2023-08-30 16:46:49 +03:00
IDRIS2_PREFIX="$test_dir/prefix" idris2 --no-prelude --ide-mode < input1 | grep -v ":highlight-source" | cut -c 7- | filter_test_dir
IDRIS2_PREFIX="$test_dir/prefix" idris2 --no-prelude --ide-mode < input2 | grep -v ":highlight-source" | cut -c 7- | filter_test_dir
rm -r a1/build a2/build b1/build b2/build
rm -rf prefix