blob: 1b732e290cf5f1702ccffe2a98ea874acb6b8b26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$NetBSD: patch-runtests.py,v 1.3 2021/04/14 19:25:15 adam Exp $
Use correct make for pkgsrc.
--- runtests.py.orig 2021-04-14 15:24:45.000000000 +0000
+++ runtests.py
@@ -1773,12 +1773,12 @@ class EmbedTest(unittest.TestCase):
self.old_dir = os.getcwd()
os.chdir(self.working_dir)
os.system(
- "make PYTHON='%s' clean > /dev/null" % sys.executable)
+ "gmake PYTHON='%s' clean > /dev/null" % sys.executable)
def tearDown(self):
try:
os.system(
- "make PYTHON='%s' clean > /dev/null" % sys.executable)
+ "gmake PYTHON='%s' clean > /dev/null" % sys.executable)
except:
pass
os.chdir(self.old_dir)
@@ -1800,7 +1800,7 @@ class EmbedTest(unittest.TestCase):
try:
subprocess.check_call([
- "make",
+ "gmake",
"PYTHON='%s'" % sys.executable,
"CYTHON='%s'" % cython,
"LIBDIR1='%s'" % libdir,
|