Commit graph

2556 commits

Author SHA1 Message Date
Michiel Borkent
07c9f58cf8 sci: minor cleanups 2021-06-27 23:14:56 +02:00
Michiel Borkent
98ab1338ab sci: refactor error reporting structure 2021-06-27 16:31:14 +02:00
Michiel Borkent
4133c9f562 sci [skip ci] 2021-06-25 12:53:09 +02:00
Bob
16911a54f0
add more windows testing (#902)
- add default test selector to skip "windows only" tests
- in cases where the differences between *nix shell and windows shell
  make the test very messy, add a separate "windows only" test
- make more tests work on Windows
2021-06-24 22:34:57 +02:00
Michiel Borkent
6843eb6d2e sci: minor cleanup [skip ci] 2021-06-24 15:09:50 +02:00
Michiel Borkent
e42603dac0 example [skip ci] 2021-06-24 13:22:34 +02:00
Michiel Borkent
c7942badfb sci: issue 575 2021-06-24 10:35:06 +02:00
Michiel Borkent
b1992e028d sci: tests [skip ci] 2021-06-22 22:29:10 +02:00
Michiel Borkent
9df9566836 CHANGELOG [skip ci] 2021-06-21 22:41:24 +02:00
Michiel Borkent
ef64e93238 replikativ/hasch tests in CI 2021-06-21 21:58:41 +02:00
Michiel Borkent
e47e77c3d6 Add java.io.FileInputStream 2021-06-21 19:42:04 +02:00
Michiel Borkent
d90f4e7bac
sci: pull apart bindings in eval (#900) 2021-06-21 12:00:53 +02:00
Michiel Borkent
e143eb1cb1 [#899] Fix JVM test 2021-06-20 14:26:40 +02:00
Michiel Borkent
f27098f877 CHANGELOG [skip ci] 2021-06-20 13:33:04 +02:00
Michiel Borkent
af754d013f [#899] (read-line) is buggy in REPL 2021-06-20 13:32:33 +02:00
Michiel Borkent
13773d0104 sci: minor map eval 2021-06-20 12:42:28 +02:00
Bob
35e2cd9d05
make tests run on windows as the default (#235) (#898)
* make tests run on windows as the default

- change from selecting tests to run to selecting tests to skip (remove all :windows tags, add
  :skip-windows tag to tests that don't currently work on windows)
- handfuls of calls to `normalize` and `escape-file-paths` to handle platform differences
- split `task-test` to make most of the tests run on windows, and exclude just a couple of Unix-y tests

* make a binding name clearer

* skip nrepl-server-test on Windows

- test fails on CI, so disabling it for now

* unset bb environment vars after running tests

* unset bb environment var after running release-artifact

BABASHKA_EDN being set can interfere with some tests, so unset it before running the
native tests

* skip uberjar test on Windows

uberjar-test's 'throw on empty classpath' test failing on Windows native
 (but passes on JVM) - skip it for now
2021-06-20 09:23:58 +02:00
Michiel Borkent
55f9458f65 sci: minor map eval stuff 2021-06-19 23:02:24 +02:00
Michiel Borkent
f6cd060c83 doc [skip ci] 2021-06-19 16:39:55 +02:00
Michiel Borkent
99c01b7261 Add normalize-keywords example [skip ci] 2021-06-19 16:33:01 +02:00
Michiel Borkent
cacb516e48 sci: get rid of needs-ctx in evaluator 2021-06-19 14:00:12 +02:00
Bob
ce4702318a
add more windows testing (#894)
- just handling line endings and escaping backslashes in file paths
2021-06-18 23:51:46 +02:00
Bob
e056cb96aa
add more windows testing (#891)
- add `normalize` call to `bb-native` output
- add `escape-file-paths` function to double up backslashes for Windows paths
  passed as strings
- add :windows selector to about 10 more tests, along with various small changes
  for Windows testing
- update test.bat to more closely mirror the Linux/Mac test script
2021-06-17 19:43:43 +02:00
Michiel Borkent
dfbbd4fda5 sci [skip ci] 2021-06-17 18:19:40 +02:00
Michiel Borkent
23eaed140c CHANGELOG [skip ci] 2021-06-16 21:20:16 +02:00
Michiel Borkent
af036f9d3a
Passing form on Windows with question mark breaks evaluation #889 2021-06-16 21:18:31 +02:00
Michiel Borkent
7d696f0dc5 deps.clj [skip ci] 2021-06-16 17:37:43 +02:00
Bob
63619fd66b
add windows selector to a couple of tests (#235) (#888) 2021-06-16 16:40:02 +02:00
Michiel Borkent
90ac55d588
Start porting Windows tests (#235) (#887) 2021-06-16 11:01:17 +02:00
Michiel Borkent
f519c35823 doc [skip ci] 2021-06-13 22:52:32 +02:00
Michiel Borkent
535b70093d Version bump 2021-06-13 22:26:46 +02:00
Michiel Borkent
0dc4c59794 v0.4.6 2021-06-13 21:55:43 +02:00
Michiel Borkent
35103f40ef
Upgrade to graal 21.1, fixes #884 (#885) 2021-06-13 21:53:07 +02:00
Michiel Borkent
4492db289e CHANGELOG [skip ci] 2021-06-10 12:38:35 +02:00
Michiel Borkent
d382eb9fc9 Version bump 2021-06-10 12:37:16 +02:00
Michiel Borkent
1a4c627702 v0.4.5 2021-06-10 12:21:45 +02:00
Michiel Borkent
637f0bb757 CHANGELOG [skip ci] 2021-06-10 12:21:38 +02:00
Michiel Borkent
6e4044c623 Async is not optional 2021-06-10 12:10:47 +02:00
Michiel Borkent
732d2b5a8b
Allow .notify / .wait interop call #879 2021-06-10 12:04:23 +02:00
Michiel Borkent
12d6afc885 STM: add commute 2021-06-09 22:47:17 +02:00
Michiel Borkent
6e86e69010 minor [skip ci] 2021-06-09 20:19:44 +02:00
Michiel Borkent
bda6c0f36e borkdude/deps.clj#46: fix passing JVM opts 2021-06-09 20:15:32 +02:00
Michiel Borkent
9385805423
STM (#882) 2021-06-09 15:47:34 +02:00
Michiel Borkent
18f5c566cc Add doc [skip ci] 2021-06-09 10:49:34 +02:00
Michiel Borkent
daa8eb06d7 Add doc [skip ci] 2021-06-09 10:48:33 +02:00
Michiel Borkent
ac4867daf7 Add doc [skip ci] 2021-06-09 10:40:12 +02:00
Michiel Borkent
15e54ef0a1
Add support for slingshot #675 (#881)
* Add java.util.Arrays/copyOfRange for slingshot

* add exception for tests

* Add slingshot tests
2021-06-09 10:39:43 +02:00
Michiel Borkent
426e97d1df sci: get rid of eval-call 2021-06-08 17:40:58 +02:00
Michiel Borkent
267c478e58 sci: only case for CLJS 2021-06-08 15:40:23 +02:00
Michiel Borkent
d6ac0687d9 sci: Get rid of static via meta call 2021-06-08 15:31:23 +02:00