This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch optimize-ddoc-cache
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 38e54ee12a501882b875eb6353bb60cd52422cdb
Author: Paul J. Davis <[email protected]>
AuthorDate: Tue Jul 11 18:25:12 2017 -0500

    TMP: soak-javascript target
---
 Makefile | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Makefile b/Makefile
index 9b1701e..1fba02c 100644
--- a/Makefile
+++ b/Makefile
@@ -124,6 +124,21 @@ endif
             -c 'startup_jitter=0' \
             test/javascript/run $(suites)
 
+.PHONY: soak-javascript
+soak-javascript:
+       @mkdir -p share/www/script/test
+ifeq ($(IN_RELEASE), true)
+       @cp test/javascript/tests/lorem*.txt share/www/script.test/
+else
+       @mkdir -p src/fauxton/dist/release/test
+       @cp test/javascript/tests/lorem*.txt src/fauxton/dist/release/test/
+endif
+       @rm -rf dev/lib
+       while [ $$? -eq 0 ]; do \
+               dev/run -n 1 -q --with-admin-party-please \
+                               -c 'startup_jitter=0' \
+                               test/javascript/run $(suites); \
+       done
 
 .PHONY: check-qs
 # target: check-qs - Run query server tests (ruby and rspec required!)

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to