Skip to content

Commit

Permalink
explicit LC_ALL=C locale for sort
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Jan 22, 2025
1 parent b80113b commit e3354cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,14 @@ add_test(
add_test(
NAME wfmash-input-mapping
COMMAND bash -c "${INVOKE} data/scerevisiae8.fa.gz -p 95 -T S288C -Q SK1 -m > mappings.paf && \
${INVOKE} data/scerevisiae8.fa.gz -i mappings.paf|sort > aligned.paf.output && \
${INVOKE} data/scerevisiae8.fa.gz -i mappings.paf | LC_ALL=C sort > aligned.paf.output && \
${CMAKE_COMMAND} -E compare_files ${REGRESSION_TEST_DIR}/aligned.paf.output aligned.paf.output"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

add_test(
NAME wfmash-all2all
COMMAND bash -c "${INVOKE} -t 8 data/scerevisiae8.fa.gz > all2all.paf && \
sort all2all.paf | head -300 > all2all-300.paf.output && \
LC_ALL=C sort all2all.paf | head -300 > all2all-300.paf.output && \
${CMAKE_COMMAND} -E compare_files ${REGRESSION_TEST_DIR}/all2all-300.paf.output all2all-300.paf.output"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

Expand Down

0 comments on commit e3354cf

Please sign in to comment.