Commit Graph

30763 Commits (739fb5d94f827fbc2377faf08173ba5f43aa3d00)

Author SHA1 Message Date
Doug Coleman 93b5e59f72 kernel: Only test that it fails 10 times for TravisCI to pass. 2018-07-07 03:15:09 -05:00
Doug Coleman ebf9edb243 .travis.yml: Don't test on clean branches. 2018-07-07 03:04:05 -05:00
Doug Coleman 54d36ec03f kernel: Test if one ``-1 f <array>`` hangs travisci.
Related to #2013.
2018-07-07 02:44:32 -05:00
Doug Coleman dadf462661 help.lint.coverage: Add yet another sanity test, clean up broken words after lint test. 2018-07-07 02:03:55 -05:00
Doug Coleman 8c9b3bf7a4 .travis.yml: Add the clean repositories.
I also had to force push to these from factorcode's script that syncs factorcode to github.
2018-07-07 01:47:46 -05:00
Doug Coleman 7a00e44cad .travis.yml: Print out changed vocabularies again. Also do help-lint-all. 2018-07-07 01:13:19 -05:00
Doug Coleman 4e9d383fe5 docs: Fix help-lint-all mistakes. 2018-07-07 01:13:19 -05:00
Doug Coleman ff466b894a zealot.factor: Test against the clean branch if we are pushing to master. 2018-07-07 01:13:19 -05: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 06b07b9e9c help.lint.checks: Fix regression in help-lint introduced in 8c158aa68f.
We haven't been checking words in help-lint for two years! Ack!
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 a3abec6f5c ui.backend.windows: And fix the UI for LoadCursor.
Related to #2011
2018-07-06 21:26:27 -05:00
Doug Coleman d92ebf4f82 .travis: Use tools.test as a command line app. 2018-07-06 21:22:37 -05:00
Doug Coleman 9d911fab73 cli.git: Fix parameter order. 2018-07-06 21:22:26 -05:00
Doug Coleman 0f2466e6fb windows.user32: Fix signature of LoadCursorW.
Also change a couple more that weren't exactly right.

Fixes #2011.
2018-07-06 21:21:29 -05:00
John Benediktsson 6e89e4ecab sequences.extras: fix bug in count-head, add some tests. 2018-07-06 08:07:11 -07:00
Doug Coleman 739742d0ae travis.yml: Testing all of core is too much code? It hung for 10m without any output.
Maybe we could load-all then test core?
Also, maybe doing ``"math" test`` takes too long because we test all the subvocabs, so we should just test single vocabs at a time, non-recursively.
2018-07-05 01:18:37 -05:00
Doug Coleman 4d3430c8cc .travis.yml: Test all of core/ on each PR since it doesn't take that long.
Related to #1760.
2018-07-05 00:34:16 -05:00
Doug Coleman 682e0b92e3 cli.git: Better branch names maybe.
zealot: use CI_BRANCH and set it in travis.
zealot.factor: Check against HEAD
.travis.yml: Travis seems to be terminating my command after the USING:.

[[
[0K$ ./factor -run=zealot.cli-changed-vocabs
io.pathnames
vocabs.loader
cli.git
modern
modern.out
modern.paths
modern.slices
sequences.extras
web-services.github
zealot.cli-changed-vocabs
zealot.factor
zealot

travis_time🔚155cd3d8:start=1530762416088842089,finish=1530762475370504525,duration=59281662436
[0K
[32;1mThe command "./factor -run=zealot.cli-changed-vocabs" exited with 0.[0m
travis_time:start:2ac2d2d0
[0K$ {:"./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e=\"USING"=>"kernel tools.test vocabs.hierarchy ; \\\"$line\\\" [ load ] [ test ] bi\" ; done"}
/home/travis/.travis/job_stages: line 78: {:./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e="USING=: No such file or directory

travis_time🔚2ac2d2d0:start=1530762475377510994,finish=1530762475383948090,duration=6437096
[0K
[31;1mThe command "{:"./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e=\"USING"=>"kernel tools.test vocabs.hierarchy ; \\"$line\\" [ load ] [ test ] bi\" ; done"}" exited with 127.[0m

Done. Your build exited with 1.
]]

zealot: test on cli.
travis: Load zealot so we can use it quickly twice. Also fetch origin/master so we can ``git diff`` against it.
2018-07-05 00:13:02 -05:00
Doug Coleman 957dea14b4 .travis.yml: Experimental command to test changed vocabs.
Takes into account if the vocabs can run on the test machine's platform or not.
2018-07-04 20:21:13 -05:00
Doug Coleman 96f2470e5d zealot: Get a list of changed vocabs from the last run until now.
Also add a word to get a list of vocabs that changed between any two git revs.
2018-07-04 20:20:20 -05:00
Doug Coleman d35df269d8 modern.out: fix load error.. 2018-07-04 20:19:54 -05:00
Doug Coleman 76e50c3479 cli.git: Add more git commands. 2018-07-04 20:19:31 -05:00
Doug Coleman 6df7360ec9 vocabs.loader: make a word for the default vocabs. 2018-07-04 20:19:02 -05:00
Doug Coleman e01d1133be modern: core-vocabs should not return the broken test vocabs. 2018-07-04 19:05:37 -05:00
Doug Coleman afd60c1d3b .gitignore: Don't ignore all directories that have factor in them, e.g. extra/zealot/factor/ 2018-07-04 18:47:50 -05:00
Doug Coleman 256f0ed4a4 modern: Add to extra/ some version of modern that has the modern.paths vocab.
For travisci.
2018-07-04 18:47:14 -05:00
Doug Coleman 138d150da2 zealot: Add a second CI type system to compete with mason.
This is for testing PRs against changed vocabs.
2018-07-04 18:35:24 -05:00
Doug Coleman 1a084d2293 webservices.github: Add more commands needed for zealot. 2018-07-04 18:33:37 -05:00
Doug Coleman 725bbf9e45 cli.git: Allow git commands from within the directory and from without.. 2018-07-04 18:32:34 -05:00
Doug Coleman 000f3eab07 sequences.extras: Add count-head and count-tail 2018-07-04 18:32:19 -05:00
Doug Coleman 147d13ed19 io.pathnames: Add a useful word 3append-path 2018-07-04 18:29:17 -05:00
Doug Coleman b1e179106b gap-buffer: fix using.
I'm cooking something up for travisci for this...
2018-07-04 18:05:40 -05:00
Doug Coleman 0e51880199 math.matrices: Add some more matrix norms. 2018-07-04 16:14:44 -05:00
Doug Coleman 9af298fd49 gap-buffer: resurrect! gap-buffer/cursortree still needs to be ported.
removed in c1792d169e
2018-07-04 16:10:39 -05:00
Doug Coleman 211d69561a escape-strings: Add a way to find the shortest lua-string escape.
Also add a way to escape a string as either 'foo "foo" or [[foo]] depending on which delimiters will do the job.

Add a couple helper words to assocs.extras
2018-06-30 00:39:39 -05:00
Doug Coleman 7fdb8fcab5 macho: Only test the vm-path on MacOS, but still let the macho library work on any platform.
Also testing TravisCI on a branch without a boot image -- it should use master boot image.
2018-06-25 23:02:59 -07:00
Doug Coleman 27172e1a2f build.sh: Fix broken command. 2018-06-25 17:07:53 -07:00
Doug Coleman b1ea62a626 macho: Update the structures for macho and add a unit test.
``vm-path dylib-exports`` passes on my machine now.
2018-06-25 17:06:55 -07:00
Doug Coleman 84dabbd6e0 build.sh: Try using the branch's boot image or fallback on `master` boot image.
Related to #2005
2018-06-25 17:05:10 -07:00
Doug Coleman 44411cad74 .travis.yml: Allow testing on any branch.
I don't know how to check this out except to push the change.

Related to #2005.
2018-06-23 18:45:45 -07:00
Doug Coleman 05c72e8690 factor: trim some long using lists. 2018-06-23 11:43:00 -07:00
Doug Coleman 06e85cc606 http.server: Actually use the port remapping instead of throwing it away.
For a port 8080 remapped to port 80, the ``or`` in this line looks like ``8080 80 or`` which doesn't get the remapped port.

Fixes #692 and #1992.
2018-06-23 11:41:41 -07:00
Doug Coleman 33a1b7625e cuda.demos.hello-world: We need a byte-array from map-index. 2018-06-23 10:51:38 -05:00
Doug Coleman 2ca1b32580 help.lint.checks: remove debug to fix deploy 23 2018-06-20 06:49:25 -05:00
Doug Coleman 88e58f9da8 factor: fix a few issues with new patch. 2018-06-19 23:39:33 -05:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Doug Coleman c477757fa0 xkcd: Everybody stand back. I know regular expressions. 2018-06-16 19:26:47 -05:00
Doug Coleman 317ceee23c tools.scaffold: delete from root cache but allow vocab to exist already.
If tools.scaffold fails, it is nice to rerun it to finish scaffolding anything it failed on and have it give you links to the files.
2018-06-15 18:09:21 -05:00
John Benediktsson b854217796 tools.scaffold: quick fix for scaffold-vocab bug.
root-cache was getting added to with ``f`` and then subsequent check fails.
2018-06-15 15:51:45 -07:00