Skip to content

Commit

Permalink
ci: Adjust to new output filenames of tester
Browse files Browse the repository at this point in the history
  • Loading branch information
itislu authored and LeaYeh committed Aug 12, 2024
1 parent 739d72a commit da59dbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/print_test_case.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ output_file_path="${TESTER_OUTPUT_DIR}/${file_dirname}/${file_basename}"
print_output()
{
local output_type=$1
local file_minishell="${output_file_path}/${output_type}_minishell_${test_number}"
local file_bash="${output_file_path}/${output_type}_bash_${test_number}"
local file_minishell="${output_file_path}/${test_number}_${output_type}_minishell"
local file_bash="${output_file_path}/${test_number}_${output_type}_bash"

# Print diff of output between bash and minishell
if [[ -f $file_minishell && -f $file_bash ]]; then
Expand Down Expand Up @@ -42,7 +42,7 @@ print_output()

print_valgrind_output()
{
local file_valgrind="${output_file_path}/valgrind_out_${test_number}"
local file_valgrind="${output_file_path}/${test_number}_valgrind_out"

# Print valgrind output
if [[ -f $file_valgrind ]]; then
Expand Down

0 comments on commit da59dbb

Please sign in to comment.