Idris2/tests/idris2/pkg/pkg017/run
2023-09-07 14:57:22 +01:00

13 lines
529 B
Plaintext

. ../../../testutils.sh
mkdir prefix
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
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