Commit Graph

33 Commits

Author SHA1 Message Date
Elliot Glaysher
03ed4dbee5 Rebuild the test support library so its easier and doesn't use entropy. 2018-08-29 14:57:22 -07:00
Elliot Glaysher
6b0bb3ddef Fix test output. 2018-08-24 10:46:31 -07:00
Ted Blackman
174ab25b14 remove lib/new-hoon and all uses 2018-08-23 15:03:55 -07:00
Ted Blackman
84cc46e609 +test passes using %ct and presenting compile errors 2018-08-22 20:53:49 -07:00
Curtis Yarvin
a26105370b Old help totally cleaned out. 2018-05-24 15:39:56 -07:00
Curtis Yarvin
07fd6faab9 Merge branch 'master' into research-merge; broken 2018-05-03 10:51:39 -07:00
Anton Dyudin
8280e41dd1 Use ++tang instead of ++wall test output 2018-04-17 14:36:42 -07:00
C. Guy Yarvin
3afa0876d3 Stop using obsolete $~ syntax. 2018-03-18 21:18:20 -07:00
C. Guy Yarvin
5f7d3922bd End use of legacy $| and $& syntax. 2018-03-18 20:54:47 -07:00
Anton Dyudin
c24a546813
Merge pull request #665 from ohAitch/cleaner-travis
Refactor testing framework
2018-03-16 17:06:58 -07:00
Anton Dyudin
3bb24f1327 move test- check- prefix filter to lib/tester 2018-03-09 19:27:32 -08:00
Anton Dyudin
0a5a1de791 deterministic, immediate-printing tests 2018-03-07 15:46:27 -08:00
Fang
85b70d2555
Run ++check- arms in addition to ++test- ones during tests. 2018-03-07 23:26:34 +01:00
Fang
efc258744e
Make +test only run arms starting with ++test- 2018-03-07 20:44:28 +01:00
Elliot Glaysher
48585d2b2f +test now deals with recursive directory structures.
+test now offloads creation of the test tree into a renderer. this should help
with caching. using a renderer also lets us deal with hierarchical directory
structures, leading to better organization.
2018-01-06 22:51:52 -08:00
Elliot Glaysher
437f205ef7 %143-ification. 2017-12-31 10:41:01 -08:00
Elliot Glaysher
4e5e48d0b2 Add an optional filter to the +test generator.
Now that we are running multiple suites, make the generator take an optional
path so you can run just a single suite or even a single test.
2017-12-30 23:23:54 -08:00
Elliot Glaysher
f764db7145 Don't pass the entropy back as part of the results. 2017-12-30 22:41:01 -08:00
Elliot Glaysher
bd6736b6cf Rebuild the test runner.
The test runner now has a notion of tests being part of a hierarchical path,
and allows running what were multiple suites in one run.
2017-12-30 22:37:49 -08:00
Elliot Glaysher
e6dc49a4d2 Separate out all tests into files.
This moves the remaining test suites into their own test files, however,
we are still not autogenerating a list of tests.
2017-12-26 13:03:47 -08:00
Elliot Glaysher
4029cc0bb1 Experiment moving the tests and tester into their own file. 2017-11-26 15:41:49 -08:00
Elliot Glaysher
fa10e2fdb2 Code review on test stuff with Anton.
- Deletes old unused example stuff
- Nicer null check
- Make dynamic compiling an order of magnitude faster
  - Lift the !> out of mule.
  - Make it a stack of cores instead of one core.
2017-11-13 16:43:39 -08:00
Elliot Glaysher
1541a8df75 A few more gates / minor changes. 2017-11-05 15:44:37 -08:00
Elliot Glaysher
c2b8d61fa2 insert -> put 2017-10-13 23:28:11 -07:00
Elliot Glaysher
22dca3032f Remove 'transform' and use 'map'. 2017-10-13 23:13:15 -07:00
Elliot Glaysher
5e2f544a13 Change the name of ++map to ++dict so 'map' can be used for 'transform'. 2017-10-13 23:09:01 -07:00
Elliot Glaysher
7d46bccdfc Change the interface for random numbers. 2017-09-29 21:26:50 -07:00
Elliot Glaysher
08962cfd63 First quickcheck test.
Test that the ++alter:mp family is a ++valid treap after a large number of
random actions.
2017-09-28 23:05:23 -07:00
Elliot Glaysher
1157710c74 Fix the semantics and runtime of ++filter. 2017-09-27 23:10:45 -07:00
Elliot Glaysher
3b007e389c Fix the runtime of ++alter and family.
Previous runtime was pretty nutty and walked the tree multiple times.
2017-09-27 21:20:32 -07:00
Elliot Glaysher
0d2b14f4b7 Weld should work on differently typed lists. 2017-09-27 21:18:02 -07:00
Elliot Glaysher
21926968ae Clean out lots of todos. 2017-09-25 15:54:41 -07:00
Elliot Glaysher
326b602aae Port new-hoon.hoon and tests to master. 2017-09-25 10:31:22 -07:00