[Pkg-javascript-commits] [node-bluebird] 13/17: Enable tests that can run, and add notes to d/rules

Ross Gammon ross-guest at moszumanska.debian.org
Tue Oct 10 11:39:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

ross-guest pushed a commit to branch master
in repository node-bluebird.

commit 4d24e21f87f253fcca629583b9687edc2fb9320f
Author: Ross Gammon <rosco2 at ubuntu.com>
Date:   Mon Oct 9 08:13:49 2017 +0200

    Enable tests that can run, and add notes to d/rules
---
 debian/rules | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 84 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7e017ee..a2ba89d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,14 +11,92 @@ override_dh_installchangelogs:
 	dh_installchangelogs changelog.md
 
 override_dh_auto_build:
+	# Bluebird depends on itself to build. Therefore we need to copy a
+	# prebuilt version of Bluebird into place to bootstrap things in
+	# Debian.
 	cp -r $(CURDIR)/debian/node-modules/ $(CURDIR)/node_modules/
 	nodejs tools/build --release --no-minify
 
 override_dh_auto_test:
-	# Tests disabled for now until node-acorn is available in Debian
-	# Move bluebird node_module temporarily into place for testsuite
-	# For some reason, bluebird depends on itself. Lots of relative
-	# paths makes this difficult to fix.
-	#mv -f $(CURDIR)/debian/node_modules $(CURDIR)
+	# Some tests are failing/flaky. Therefore the following cannot be run
+	# for now:
 	#nodejs tools/test --no-js-hint
-	#rm -rf $(CURDIR)/node_modules
+	# Here are the failing tests (should try globbing them out to avoid
+	# testing each separately):
+	#nodejs tools/test --run=tapCatch.js
+	#nodejs tools/test --run=generator.js
+	#nodejs tools/test --run=getNewLibraryCopy.js
+	#nodejs tools/test --run=long_stack_traces.js
+	# These tests work:
+	nodejs tools/test --run=2.1.2.js --no-js-hint
+	nodejs tools/test --run=filter.js --no-js-hint
+	nodejs tools/test --run=tap.js --no-js-hint
+	nodejs tools/test --run=2.1.3.js --no-js-hint
+	nodejs tools/test --run=finally.js --no-js-hint
+	nodejs tools/test --run=2.2.1.js --no-js-hint
+	nodejs tools/test --run=following.js --no-js-hint
+	nodejs tools/test --run=timers.js --no-js-hint
+	nodejs tools/test --run=2.2.2.js --no-js-hint
+	nodejs tools/test --run=try.js --no-js-hint
+	nodejs tools/test --run=2.2.3.js --no-js-hint
+	nodejs tools/test --run=get.js --no-js-hint
+	nodejs tools/test --run=unhandled_rejections.js --no-js-hint
+	nodejs tools/test --run=2.2.4.js --no-js-hint
+	nodejs tools/test --run=using.js --no-js-hint
+	nodejs tools/test --run=2.2.5.js --no-js-hint
+	nodejs tools/test --run=github-2xx-76.js --no-js-hint
+	nodejs tools/test --run=2.2.6.js --no-js-hint
+	nodejs tools/test --run=github-3.6.4.js --no-js-hint
+	nodejs tools/test --run=2.2.7.js --no-js-hint
+	nodejs tools/test --run=github-3.7.3.js --no-js-hint
+	nodejs tools/test --run=2.3.1.js --no-js-hint
+	nodejs tools/test --run=github-4.1.7.js --no-js-hint
+	nodejs tools/test --run=2.3.2.js --no-js-hint
+	nodejs tools/test --run=github36.js --no-js-hint
+	nodejs tools/test --run=2.3.3.js --no-js-hint
+	nodejs tools/test --run=is.js --no-js-hint
+	nodejs tools/test --run=2.3.4.js --no-js-hint
+	nodejs tools/test --run=join.js --no-js-hint
+	nodejs tools/test --run=3.2.1.js --no-js-hint
+	nodejs tools/test --run=late_buffer_safety.js --no-js-hint
+	nodejs tools/test --run=3.2.2.js --no-js-hint
+	nodejs tools/test --run=3.2.3.js --no-js-hint
+	nodejs tools/test --run=map.js --no-js-hint
+	nodejs tools/test --run=3.2.4.js --no-js-hint
+	nodejs tools/test --run=method.js --no-js-hint
+	nodejs tools/test --run=3.2.5.js --no-js-hint
+	nodejs tools/test --run=monitoring.js --no-js-hint
+	nodejs tools/test --run=3.2.6.js --no-js-hint
+	nodejs tools/test --run=multiple-copies.js --no-js-hint
+	nodejs tools/test --run=any.js --no-js-hint
+	nodejs tools/test --run=no_conflict.js --no-js-hint
+	nodejs tools/test --run=api_exceptions.js --no-js-hint
+	nodejs tools/test --run=nodeify.js --no-js-hint
+	nodejs tools/test --run=async.js --no-js-hint
+	nodejs tools/test --run=promise_array.js --no-js-hint
+	nodejs tools/test --run=bind.js --no-js-hint
+	nodejs tools/test --run=promisify.js --no-js-hint
+	nodejs tools/test --run=bluebird-multiple-instances.js --no-js-hint
+	nodejs tools/test --run=props.js --no-js-hint
+	nodejs tools/test --run=call.js --no-js-hint
+	nodejs tools/test --run=race.js --no-js-hint
+	nodejs tools/test --run=cancel.js --no-js-hint
+	nodejs tools/test --run=reduce.js --no-js-hint
+	nodejs tools/test --run=catch_filter.js --no-js-hint
+	nodejs tools/test --run=reflect.js --no-js-hint
+	nodejs tools/test --run=collections_thenables.js --no-js-hint
+	nodejs tools/test --run=regress.js --no-js-hint
+	nodejs tools/test --run=constructor.js --no-js-hint
+	nodejs tools/test --run=rejections.js --no-js-hint
+	nodejs tools/test --run=cycles.js --no-js-hint
+	nodejs tools/test --run=resolution.js --no-js-hint
+	nodejs tools/test --run=direct_resolving.js --no-js-hint
+	nodejs tools/test --run=schedule.js --no-js-hint
+	nodejs tools/test --run=domain.js --no-js-hint
+	nodejs tools/test --run=settle.js --no-js-hint
+	nodejs tools/test --run=done.js --no-js-hint
+	nodejs tools/test --run=some.js --no-js-hint
+	nodejs tools/test --run=each.js --no-js-hint
+	nodejs tools/test --run=spread.js --no-js-hint
+	nodejs tools/test --run=error.js --no-js-hint
+	nodejs tools/test --run=synchronous_inspection.js --no-js-hint

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-bluebird.git



More information about the Pkg-javascript-commits mailing list