From 0afc22344e0c2c5b0162ffd9fba5d971e8a1fa27 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: May 12 2020 17:04:30 +0000 Subject: Switch python2-for-tests with python2 --- diff --git a/SPECS/mozjs52.spec b/SPECS/mozjs52.spec index db04fd9..3c80b49 100644 --- a/SPECS/mozjs52.spec +++ b/SPECS/mozjs52.spec @@ -161,7 +161,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 \ +python2 tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js \ %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le s390 ; %else @@ -169,7 +169,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 \ +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 s390 ; %else