Skip to content

Commit 3821f5d

Browse files
committed
.
1 parent 1c7d9fa commit 3821f5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/runner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,9 +1559,9 @@ def btest(self, filename, expected=None, reference=None, force_c=False,
15591559
# use REPORT_RESULT, and also adds a cpp file to be compiled alongside the testcase, which
15601560
# contains the implementation of REPORT_RESULT (we can't just include that implementation in
15611561
# the header as there may be multiple files being compiled here).
1562-
args += ['-DEMTEST_PORT_NUMBER=%d' % self.port,
1563-
'-include', path_from_root('tests', 'report_result.h'),
1564-
path_from_root('tests', 'report_result.cpp')]
1562+
args = args + ['-DEMTEST_PORT_NUMBER=%d' % self.port,
1563+
'-include', path_from_root('tests', 'report_result.h'),
1564+
path_from_root('tests', 'report_result.cpp')]
15651565
if filename_is_src:
15661566
filepath = os.path.join(self.get_dir(), 'main.c' if force_c else 'main.cpp')
15671567
with open(filepath, 'w') as f:
@@ -1573,7 +1573,7 @@ def btest(self, filename, expected=None, reference=None, force_c=False,
15731573
expected = [str(i) for i in range(0, reference_slack + 1)]
15741574
self.reftest(path_from_root('tests', reference), manually_trigger=manually_trigger_reftest)
15751575
if not manual_reference:
1576-
args = args + ['--pre-js', 'reftest.js', '-s', 'GL_TESTING=1']
1576+
args += ['--pre-js', 'reftest.js', '-s', 'GL_TESTING=1']
15771577
all_args = ['-s', 'IN_TEST_HARNESS=1', filepath, '-o', outfile] + args
15781578
# print('all args:', all_args)
15791579
try_delete(outfile)

0 commit comments

Comments
 (0)