Skip to content

Commit d758691

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Remove .post files only for passing tests
2 parents 5d3d2b9 + c624a7f commit d758691

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run-tests.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2487,7 +2487,6 @@ function run_test($php, $file, $env)
24872487
}
24882488
}
24892489

2490-
@unlink($tmp_post);
24912490
@unlink($preload_filename);
24922491

24932492
$leaked = false;
@@ -2692,6 +2691,10 @@ function run_test($php, $file, $env)
26922691
$restype[] = 'WARN';
26932692
}
26942693

2694+
if ($passed) {
2695+
@unlink($tmp_post);
2696+
}
2697+
26952698
if (!$passed) {
26962699
if (isset($section_text['XFAIL'])) {
26972700
$restype[] = 'XFAIL';

0 commit comments

Comments
 (0)