You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2025/06/15 03:37:52 UTC
(couchdb) 02/02: Run javascript test262 tests in CI
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch jenkins-add-test262-to-quickjs
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit fdf7320aa4d3b581b80e1cf8bf32d14f28966e0b
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Sat Jun 14 23:35:37 2025 -0400
Run javascript test262 tests in CI
---
Makefile | 6 ++++++
build-aux/Jenkinsfile.full | 1 +
2 files changed, 7 insertions(+)
diff --git a/Makefile b/Makefile
index fdab740a0..2f6c9d810 100644
--- a/Makefile
+++ b/Makefile
@@ -354,6 +354,12 @@ weatherreport-test: devclean escriptize
@dev/run "$(TEST_OPTS)" -n 1 -a adm:pass --no-eval \
'bin/weatherreport --etc dev/lib/node1/etc --level error'
+.PHONY: quickjs-javascript-tests
+# target: quickjs-javascript-tests - Run QuickJS JS conformance tests
+quickjs-javascript-tests: couch
+ @make -C src/couch_quickjs/quickjs test2-bootstrap
+ @make -C src/couch_quickjs/quickjs test2
+
################################################################################
# Developing
################################################################################
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 1efc96532..46f56c905 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -312,6 +312,7 @@ def generateContainerStage(platform) {
dir( "${platform}/build" ) {
sh "${configure(meta[platform])}"
sh 'make'
+ retry(1) {sh 'make quickjs-javascript-tests'}
retry(3) {sh 'make eunit'}
retry(3) {sh 'make elixir'}
retry(3) {sh 'make elixir-search'}