Doug Coleman
4bcae2590c
factor: Rename all #foo words except # so # can be a sigil.
2018-08-10 13:15:25 -05:00
Doug Coleman
9df90f9c87
tools.test: add MUST-FAIL: and MUST-FAIL-WITH:, still need named versions of these
2018-08-10 08:53:40 -05:00
Doug Coleman
f05c7e8cd8
factor: char: a -> ch'a.
...
Also all contractions are not allowed in word names anymore. Even Data cannot use contractions...
2018-08-09 18:02:38 -04:00
Doug Coleman
00fb574a8d
factor: SYMBOL: foo foo [ bar ] initialize -> INITIALIZED-SYMBOL: foo [ bar ]
2018-08-04 21:53:05 -04:00
Doug Coleman
7730fc5c64
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-08-02 07:57:42 -04:00
Doug Coleman
411a55314c
help.lint: Add a MAIN: to help-lint to test lint from command line like we already have for unit tests.
...
Also flush stdout for both MAIN: test apps.
2018-07-07 01:13:19 -05:00
Doug Coleman
e21125ac2c
tools.test: Print out test failures at the end of test main.
2018-07-07 01:13:19 -05:00
Doug Coleman
64ccdc40a0
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-03-06 10:57:40 -06:00
Björn Lindqvist
1887593b8e
tools.test: improved docs
2018-02-27 13:20:57 +01:00
Doug Coleman
a35dd209c3
modern: basis works with vocabs>identifiers
...
basis-vocabs [ dup . flush vocab>identifiers ] map
2017-12-24 19:16:13 -08:00
Doug Coleman
ce38445abc
modern: line endings
2017-10-27 20:25:43 -05:00
Doug Coleman
4b065d4790
tools.test: Working on crazy unit tests.
2017-09-16 23:25:54 -05:00
Doug Coleman
f32b6a171c
tools.test: Add UNIT-TEST: top-level form.
2017-09-16 15:42:10 -05:00
Doug Coleman
153f5372d3
factor: Really disable long unit tests for zealot. Only test root by
...
root.
2017-09-16 11:08:35 -05:00
Doug Coleman
ff93f58304
Merge branch 'master' into modern-harvey
2017-09-11 17:59:01 -05:00
Alexander Iljin
504c9959a1
Update some copyright headers to follow the current convention
...
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman
147ae66ab5
factor: SYNTAX: \foo
2017-08-31 21:21:13 -05:00
Doug Coleman
c436f6dbad
factor: char: postpone: color: hexcolor: flexhexcolor: decimal:
2017-08-31 21:21:13 -05:00
John Benediktsson
154de53470
tools.test: less duplication in unit-test~/v~.
2017-07-25 11:31:30 -07:00
John Benediktsson
47b45ccad3
tools.test: better errors when unit-test-~/v~ fail.
2017-07-25 11:26:50 -07:00
Doug Coleman
0ac181c797
tools.test: Fix unit-test~ and a couple of tests.
2017-07-23 11:50:52 -05:00
Doug Coleman
62129ffea4
basis: Add unit-test~ and unit-test-v~ for testing floats.
...
Use unit-test~ in math.functions in some places to make sure we like it.
2017-07-22 18:47:59 -05:00
John Benediktsson
94e285e6de
vocabs.metadata: remove filter-don't-test (inline it instead).
2017-07-05 09:41:05 -07:00
Robert Vollmert
445b55b3e5
test runner: non-zero exit code in case of failed tests
...
This makes it easier to detect unit test failures from the
command line.
2017-06-05 13:13:09 -07:00
Doug Coleman
9e76899dbd
tools.test: Make the flag public. Finish porting tester changes to fuzzer.
2017-06-04 14:47:35 -05:00
Doug Coleman
be1175b3c5
tools.test: Add long-unit-test and refactor a bit.
2017-06-04 12:55:52 -05:00
John Benediktsson
55d5577961
tools.test: fix fake unit test to notify observers after clearing test failures.
2017-05-29 08:42:32 -07:00
Alexander Iljin
6819db7e8f
tools.test-docs: fix the order of parameters for must-fail-with
2017-04-07 19:01:38 +03:00
Alexander Iljin
5fac469a8c
tools.test-docs: add missing $syntax entries
...
Previously only the unit-test help had $syntax.
2017-01-13 13:31:42 +03:00
John Benediktsson
dd3189ecb6
tools.test: adding with-test-file and with-test-directory.
...
These provide unique temp files (and directories) that are
automatically cleaned up when the quotation exits. Mostly this
allows us to simplify some of our test files.
2016-04-04 10:33:03 -07:00
John Benediktsson
beae638eab
tools.test: maybe "continue running tests" isn't a good idea.
2016-03-31 07:20:31 -07:00
John Benediktsson
a4b9e55987
tools.test: add a restartable-tests? flag to control restarts.
2016-03-31 06:51:17 -07:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
John Benediktsson
92496b5393
tools.test: better restart checking.
2016-03-30 23:29:37 -07:00
John Benediktsson
57f434b80e
tools.test: rethrow any restart failures from tests.
2016-03-30 16:40:24 -07:00
John Benediktsson
d99f67d5bb
tools.test: fix <test-failure> stack effect for file -> path change.
2016-03-29 08:06:56 -07:00
Björn Lindqvist
216a1234c2
tools.test: makes <test-failure> public
2015-12-17 23:50:49 +01:00
Björn Lindqvist
4551fdcb28
tools.test: print the callstack in test failures
...
So when mason reports a test failure it should include the whole
callstack. That should make it easier to catch the "No suitable
arithmetic method" random error that is hard to debug without a
callstack.
2015-12-04 16:57:40 +01:00
Doug Coleman
117727d444
parser, source-files: you need to bootstrap after this patch.
...
cleans up some file vs path naming.
file -> current-source-file
file -> current-test-file somewhere else
source-file -> path>source-file
source-file-tuple -> source-file
2015-07-23 22:03:43 -07:00
Doug Coleman
2c257f399c
factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.
2015-07-18 22:16:11 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824 .
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
Doug Coleman
6e60c811ac
core: Rename create to create-word, create-in to create-word-in.
2015-06-08 12:47:35 -07:00
Doug Coleman
a4c5a748ad
core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise.
2015-06-08 12:47:35 -07:00
Doug Coleman
726e5068f7
Revert "tools.test: Print tests homoiconically. There is too much spacing still"
...
This reverts commit 34a197248c .
2014-11-23 23:59:57 -08:00
Doug Coleman
beaa8ef083
Revert "tools.test: Fix using list."
...
This reverts commit 4306180c11 .
2014-11-23 23:59:35 -08:00
Doug Coleman
4306180c11
tools.test: Fix using list.
2014-11-23 18:01:19 -08:00
Doug Coleman
34a197248c
tools.test: Print tests homoiconically. There is too much spacing still
...
but it's better than before imo. See #1221 .
2014-11-23 16:51:40 -08:00