Skip to content

Commit 643aab2

Browse files
committed
Add RandomRunTests (and temporarily expose RandomRun in tests)
1 parent 908c6bb commit 643aab2

3 files changed

Lines changed: 622 additions & 1 deletion

File tree

tests/run-tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ cp -r ../elm.json "${PACKAGE_PATH}/elm.json"
3030
cp -r ../README.md "${PACKAGE_PATH}/README.md"
3131
cp -r ../LICENSE "${PACKAGE_PATH}/LICENSE"
3232

33+
echo "Patching elm.json to expose some internal modules"
34+
sed -i.bak 's/"Expect",/"Expect","RandomRun",/' "${PACKAGE_PATH}/elm.json"
35+
3336
if [[ "${RANDOMIZED}" -eq 1 ]]; then
3437
SEED=$(head -200 /dev/urandom | cksum | cut -f1 -d " ")
3538
echo "Randomizing seed to ${SEED}"

0 commit comments

Comments
 (0)