@@ -1559,9 +1559,9 @@ def btest(self, filename, expected=None, reference=None, force_c=False,
1559
1559
# use REPORT_RESULT, and also adds a cpp file to be compiled alongside the testcase, which
1560
1560
# contains the implementation of REPORT_RESULT (we can't just include that implementation in
1561
1561
# 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' )]
1565
1565
if filename_is_src :
1566
1566
filepath = os .path .join (self .get_dir (), 'main.c' if force_c else 'main.cpp' )
1567
1567
with open (filepath , 'w' ) as f :
@@ -1573,7 +1573,7 @@ def btest(self, filename, expected=None, reference=None, force_c=False,
1573
1573
expected = [str (i ) for i in range (0 , reference_slack + 1 )]
1574
1574
self .reftest (path_from_root ('tests' , reference ), manually_trigger = manually_trigger_reftest )
1575
1575
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' ]
1577
1577
all_args = ['-s' , 'IN_TEST_HARNESS=1' , filepath , '-o' , outfile ] + args
1578
1578
# print('all args:', all_args)
1579
1579
try_delete (outfile )
0 commit comments