File: test

package info (click to toggle)
node-async 3.2.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,732 kB
  • sloc: javascript: 13,616; sh: 151; makefile: 126
file content (19 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if [ -n "$AUTOPKGTEST_TMP" ]
then
    debian/tests/pkg-js/debianise-tests.sh autopkgtest
else
    debian/tests/pkg-js/debianise-tests.sh build
fi

# We skip one failing test on all architectures, and two slow tests that
# timeout on slow architectures
case $(dpkg --print-architecture) in
    armel|riscv64)
	skips='(should error when re-assigning event methods|should not be subject to ReDoS|forEachOfLimit no call stack size exceed error)'
	;;
    *)
	skips='should error when re-assigning event methods'
	;;
esac

NODE_ENV=debiantest mocha -i -g "$skips" localtest