This PR migrates most remaining tests to the new test suite. It also completes the migration of directories like `tests/lean/run`, meaning that PRs trying to add tests to those old directories will now fail.
11 lines
436 B
Bash
Executable file
11 lines
436 B
Bash
Executable file
#!/usr/bin/env bash
|
|
source ../../env_test.sh
|
|
source "$TEST_DIR/util.sh"
|
|
|
|
# LEAN_EXPORTING needs to be defined for .c files included in shared libraries
|
|
lean --c=SnakeLinter.c SnakeLinter.lean
|
|
leanc ${LEANC_OPTS-} -O3 -DNDEBUG -DLEAN_EXPORTING -shared -o SnakeLinter.so SnakeLinter.c
|
|
|
|
exec_capture SnakeLinter.lean lean -Dlinter.all=false --plugin=SnakeLinter.so SnakeLinter.lean
|
|
check_exit SnakeLinter.lean 1
|
|
check_out SnakeLinter.lean
|