Skip to content

Commit f5fb27e

Browse files
committed
Move test runner note to own paragraph
1 parent 8e32ef0 commit f5fb27e

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

play/README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,6 @@ manually:
7373
BB_EXTERNAL_WD="$(pwd)" BB_EXTERNAL_COMMAND="../rolling-shutter/bin/rolling-shutter keyper --config work/keyper-dkg-external/keyper-2.toml" clojure -M:test keyper-dkg-external
7474
```
7575

76-
If you obtained a `sht-standalone.jar` you can run the same (without the need to
77-
install clojure), by calling
78-
79-
```
80-
BB_EXTERNAL_COMMAND="../rolling-shutter/bin/rolling-shutter keyper --config work/keyper-dkg-external/keyper-2.toml" java -jar sht-standalone.jar -M:test keyper-dkg-external
81-
```
82-
8376
### Parameters in the environment
8477

8578
You can find the test system parameters in the environment of the
@@ -105,3 +98,21 @@ Here you see, that the keyper implementation under tests, should use port
10598
`23102` for its `p2p` connection, the ethereum node is running at
10699
`http://127.0.0.1:8545/` etc. Not all of these may be relevant to your
107100
implementation.
101+
102+
### Self contained testrunner
103+
104+
It is possible to compile the testrunner into a self contained `.jar` file, by
105+
running
106+
107+
```
108+
clojure -T:build
109+
```
110+
111+
If you have such a `sht-standalone.jar` you can run the above test (without the
112+
need to install clojure), by calling
113+
114+
```
115+
BB_EXTERNAL_COMMAND="../rolling-shutter/bin/rolling-shutter keyper --config work/keyper-dkg-external/keyper-2.toml" java -jar sht-standalone.jar -M:test keyper-dkg-external
116+
```
117+
118+
(The `circleci` integration tests make use of this.)

0 commit comments

Comments
 (0)