Skip to content

Commit

Permalink
Fix show-table.sh to pick the latest file
Browse files Browse the repository at this point in the history
  • Loading branch information
myaaghubi committed Aug 10, 2023
1 parent 98e53de commit ed3a6cc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion libs/show_results_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
require './libs/parse_results.php';
require './libs/build_table.php';

$results = parse_results('./output/results.hello_world.log');
$files = glob("./output/results.hello_world.*.log");

rsort($files);

echo @$files[0].PHP_EOL;

$results = parse_results(@$files[0]);

echo build_table($results);

0 comments on commit ed3a6cc

Please sign in to comment.