Skip to content

Commit

Permalink
Apply new output folder structure to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianMohr committed Jul 26, 2023
1 parent ff93682 commit 77fa33d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/scripts/run_test_01.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ fi

## Run output checks

test -s ${output}/${tool}/reference.cnn || { echo "Error: Missing output file 'reference.cnn' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/${sample_id_tum}.tumor.call.cns || { echo "Error: Missing output file '${sample_id_tum}.tumor.call.cns' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/multi_intervals.target.bed || { echo "Error: Missing output file 'multi_intervals.target.bed' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/multi_intervals.antitarget.bed || { echo "Error: Missing output file 'multi_intervals.antitarget.bed' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/${sample_id_tum}/reference.cnn || { echo "Error: Missing output file 'reference.cnn' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/${sample_id_tum}/${sample_id_tum}.tumor.call.cns || { echo "Error: Missing output file '${sample_id_tum}.tumor.call.cns' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/${sample_id_tum}/multi_intervals.target.bed || { echo "Error: Missing output file 'multi_intervals.target.bed' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/${sample_id_tum}/multi_intervals.antitarget.bed || { echo "Error: Missing output file 'multi_intervals.antitarget.bed' for ${test_id}!"; exit 1; }

echo "Success: Output files are existing and non-empty"

Expand Down
4 changes: 2 additions & 2 deletions tests/scripts/run_test_02.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ fi

## Run output checks

test -s ${output}/${tool}/${sample_id_tum}.gz || { echo "Error: Missing output file '${sample_id_tum}.gz' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/${sample_id_tum}.binned.gz || { echo "Error: Missing output file '${sample_id_tum}.binned.gz' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/${sample_id_tum}/${sample_id_tum}.gz || { echo "Error: Missing output file '${sample_id_tum}.gz' for ${test_id}!"; exit 1; }
test -s ${output}/${tool}/${sample_id_tum}/${sample_id_tum}.binned.gz || { echo "Error: Missing output file '${sample_id_tum}.binned.gz' for ${test_id}!"; exit 1; }

echo "Success: Output files are existing and non-empty"

Expand Down

0 comments on commit 77fa33d

Please sign in to comment.