##// END OF EJS Templates
tests: configure fsmonitor.mode=paranoid always if fsmonitor is used...
tests: configure fsmonitor.mode=paranoid always if fsmonitor is used This forces fsmonitor extension execute "paranoid" code path. Strict speaking, we should make fsmonitor-run-tests.py accept own specific options, but there is no code path, which is disabled in "paranoid" mode, at least now. Therefore, this solution seems reasonable enough.

File last commit:

r35623:45a81636 default
r40244:b7ba1cfb default
Show More
test-check-jshint.t
11 lines | 250 B | text/troff | Tads3Lexer
/ tests / test-check-jshint.t
av6
tests: use jshint when available to check .js files
r35034 #require test-repo jshint hg10
$ . "$TESTDIR/helpers-testrepo.sh"
run jshint on all tracked files ending in .js except vendored dependencies
$ cd "`dirname "$TESTDIR"`"
$ testrepohg locate 'set:**.js' \
> 2>/dev/null \
> | xargs jshint