Debian Codegraph @

debian/patches/0004-Fix-shrinksafe-tests-with-newer-rhino-by-setting-JS-.patch

raw
1 From e7f5bb211848ff15924c0d36350adb690a7da54a Mon Sep 17 00:00:00 2001
2 From: Sunil Mohan Adapa <[email protected]>
3 Date: Sat, 13 Aug 2022 12:16:23 +0000
4 Subject: Fix shrinksafe tests with newer rhino by setting JS version
5
6 Bug-Debian: https://bugs.debian.org/970501
7 Forwarded: no
8 Last-Update: 2021-01-30
9 ---
10 util/shrinksafe/tests/runner.sh | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 --- a/util/shrinksafe/tests/runner.sh
14 +++ b/util/shrinksafe/tests/runner.sh
15 @@ -1,4 +1,4 @@
16 #!/bin/sh
17
18 cd ../../doh
19 -java -classpath ../shrinksafe/js.jar:../shrinksafe/shrinksafe.jar org.mozilla.javascript.tools.shell.Main ../../dojo/dojo.js baseUrl=../../dojo load=doh test=util/shrinksafe/tests/module testUrl=../shrinksafe/tests/module.js
20 +java -classpath ../shrinksafe/js.jar:../shrinksafe/shrinksafe.jar org.mozilla.javascript.tools.shell.Main -version 170 ../../dojo/dojo.js baseUrl=../../dojo load=doh test=util/shrinksafe/tests/module testUrl=../shrinksafe/tests/module.js