From de29cfea4e354a45acd10364e46dace56c77dd88 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Nov 11 2019 22:06:54 +0000 Subject: use /usr/bin/python2 for running tests --- diff --git a/SPECS/mozjs60.spec b/SPECS/mozjs60.spec index 70f1af3..c9f0bee 100644 --- a/SPECS/mozjs60.spec +++ b/SPECS/mozjs60.spec @@ -208,7 +208,7 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so %check # Run SpiderMonkey tests -/usr/bin/python2-for-tests tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js \ +/usr/bin/python2 tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js \ %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le ; %else @@ -216,7 +216,7 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so %endif # Run basic JIT tests -/usr/bin/python2-for-tests jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/js/src/shell/js basic \ +/usr/bin/python2 jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/js/src/shell/js basic \ %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le ; %else