Sebastian Ullrich
757899a7d1
chore: run test suite with Elab.async for more coverage
2025-01-23 19:07:31 -07:00
larsk21
cf4e106304
fix: unused variables linter review comments
...
- ignore unused variables in dep arrows
- avoid negated options
- make syntax stack generation more performant
- make ignore functions more extensible
- change message severity to `warning`
2022-06-03 13:03:52 +02:00
larsk21
393fdef972
fix: disable linters in tests
2022-06-03 13:03:52 +02:00
Sebastian Ullrich
b2b78eb222
test: use printMessageEndPos for leantests
2021-01-15 16:27:59 +01:00
Sebastian Ullrich
897f277a3e
test: strip mvar suffixes
2020-09-15 09:32:00 -07:00
Sebastian Ullrich
053d4bab1c
chore: factor out and unify common test behavior; retrieve lean from PATH
...
`./test_single.sh foo.lean yes` is now `./test_single.sh -i foo.lean`
2020-05-14 14:38:52 +02:00
Leonardo de Moura
167549de59
chore: fix tests
2019-11-22 07:56:06 -08:00
Sebastian Ullrich
3dcd4febd9
feat: make LEAN_PATH a mapping from package names to root dirs, remove C++ impl
2019-11-20 16:39:53 +01:00
Sebastian Ullrich
1f601708e4
fix: print messages to stderr
...
This ensures that errors during dependency resolution in the Makefile actually show up
2019-11-10 09:01:43 -08:00
Sebastian Ullrich
5ce9ca81da
chore: revert "test: capture stderr as well"
...
This reverts commit 2866824b51 .
2019-10-29 19:55:48 +01:00
Sebastian Ullrich
2866824b51
test: capture stderr as well
...
This might or might not give more information on randomly failing tests on CI
/cc @leodemoura
2019-10-15 17:36:28 +02:00
Sebastian Ullrich
4c0f836305
chore(shell/lean): reduce lean interface to taking a single file, assuming all dependencies have already been built
2019-01-25 18:27:38 +01:00
Sebastian Ullrich
ef5cf54a86
chore(tests/lean/test_single): use --test-suite
2017-03-30 06:04:00 +02:00
Sebastian Ullrich
8e36d6304d
chore(tests/lean/test_all): fix on Windows
2017-03-30 06:04:00 +02:00
Sebastian Ullrich
4a33045b84
chore(tests/lean,shell/lean): run leantests and leanruntests in parallel
2017-03-30 06:04:00 +02:00
Gabriel Ebner
252931a470
feat(tests/lean/test_single): show unified diffs with color
2017-02-05 13:44:21 +01:00
Leonardo de Moura
461cc0d015
fix(tests/lean/test_single): remove .tmp files, avoid -i option
2016-12-23 09:48:02 -08:00
Gabriel Ebner
d079f66017
fix(tests/lean/test_single): work around sed on mac
2016-12-23 17:49:20 +01:00
Gabriel Ebner
1e827c1e20
fix(tests/lean/test_single): fix missing_import test on windows
2016-12-23 11:24:45 +01:00
Leonardo de Moura
eb0b158ad1
chore(tests/lean/test_single): remove tmp files
2016-12-08 11:33:54 -08:00
Leonardo de Moura
e13bac41c3
fix(frontends/lean): 'sorry' axiom auto generation
2016-12-08 10:31:52 -08:00
Leonardo de Moura
a9daf9390a
fix(tests/lean/test_single): MSYS2 compatibility
2016-12-01 11:28:35 -08:00
Leonardo de Moura
89d8afbc2b
fix(test_single.sh): OSX compatibility
2016-12-01 11:03:11 -08:00
Gabriel Ebner
a8df381d20
feat(*): parallel compilation
2016-11-29 11:12:40 -08:00
Leonardo de Moura
99b30d9c91
fix(tests/lean): remove config.lean
2016-11-13 09:38:40 -08:00
Leonardo de Moura
d636b34c1c
fix(tests/lean): make sure tests do not fail when compiling Lean with cmake option "-DIGNORE_SORRY=ON"
2015-05-11 11:49:23 -07:00
Soonho Kong
8243ed6339
fix(test*.sh): allow spaces in filename
...
fix #515
2015-03-28 23:29:52 -04:00
Leonardo de Moura
b5acbb2228
fix(frontends/lean/pp): missing parenthesis around abbreviations
...
fixes #476
2015-03-16 17:12:03 -07:00
Leonardo de Moura
10357f3f53
fix(tests/lean/nonexhaustive): remove line "warning: imported file uses 'sorry'" from test produced output
2015-02-01 21:25:52 -08:00
Leonardo de Moura
10a4148adb
fix(tests): make sure tests can be executed on Windows msys2 shell
2014-09-20 15:51:24 -07:00
Leonardo de Moura
dbaf81e16d
refactor(library): remove unnecessary 'standard' subdirectory
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-23 18:08:09 -07:00
Leonardo de Moura
e9c17b154c
fix(tests/lean): define LEAN_PATH in tests scripts
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-10 23:26:55 +01:00
Leonardo de Moura
f5f3816596
chore(tests): cleanup test scripts
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-29 09:03:39 -07:00
Leonardo de Moura
275f022d79
fix(tests/lean): ignore lines containing 'executing external script' in test scripts, these lines contain references to the path where Lean was built
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-26 18:41:01 -08:00
Leonardo de Moura
6b1b6c7bd1
feat(tests/lean): include standard error in the expected output
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-10 12:52:57 -08:00
Leonardo de Moura
e2999d3ff6
feat(*): add component name to check_stack and check_system
...
I also reduced the stack size to 8 Mb in the tests at tests/lean and tests/lean/slow. The idea is to simulate stackoverflow conditions.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-07 15:11:55 -08:00
Leonardo de Moura
87775cbc07
chore(build): include incorrect output in the logs
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-18 15:39:55 -08:00
Soonho Kong
20756c382c
test(*): split leantests, leanslowtests, leanluatests, leanluadocs into singletons
2013-11-18 18:27:11 -05:00