Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemical118 committed Feb 21, 2024
1 parent 38b2f4c commit 63c0db9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mkdir build
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build

./build/trew_test.exe -- test/test.fastq.gz test/test.fastq test/test_long.fastq.gz test/test_long.fastq
./build/trew_test -- test/test.fastq.gz test/test.fastq test/test_long.fastq.gz test/test_long.fastq
./build/trew -h
```

Expand Down Expand Up @@ -83,7 +83,7 @@ mkdir build
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$HOME/intel/oneapi/compiler/latest/bin/icx -DCMAKE_CXX_COMPILER=$HOME/intel/oneapi/compiler/latest/bin/icpx -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build

./build/trew_test.exe -- test/test.fastq.gz test/test.fastq test/test_long.fastq.gz test/test_long.fastq
./build/trew_test -- test/test.fastq.gz test/test.fastq test/test_long.fastq.gz test/test_long.fastq
./build/trew -h
```
### Quick Start
Expand Down
6 changes: 3 additions & 3 deletions test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ BOOST_AUTO_TEST_CASE(main_test_32) {
}

std::vector<std::pair<fs::path, bool>> FILE_LOC_VECTOR;
if (boost::unit_test::framework::master_test_suite().argc == 3) {
if (boost::unit_test::framework::master_test_suite().argc == 5) {
FILE_LOC_VECTOR = {{fs::path(boost::unit_test::framework::master_test_suite().argv[1]), true},
{fs::path(boost::unit_test::framework::master_test_suite().argv[2]), false}};
}
Expand Down Expand Up @@ -315,7 +315,7 @@ BOOST_AUTO_TEST_CASE(main_test_64) {
}

std::vector<std::pair<fs::path, bool>> FILE_LOC_VECTOR;
if (boost::unit_test::framework::master_test_suite().argc == 3) {
if (boost::unit_test::framework::master_test_suite().argc == 5) {
FILE_LOC_VECTOR = {{fs::path(boost::unit_test::framework::master_test_suite().argv[1]), true},
{fs::path(boost::unit_test::framework::master_test_suite().argv[2]), false}};
}
Expand Down Expand Up @@ -362,7 +362,7 @@ BOOST_AUTO_TEST_CASE(main_test_long_32) {
}

std::vector<std::pair<fs::path, bool>> FILE_LOC_VECTOR;
if (boost::unit_test::framework::master_test_suite().argc == 3) {
if (boost::unit_test::framework::master_test_suite().argc == 5) {
FILE_LOC_VECTOR = {{fs::path(boost::unit_test::framework::master_test_suite().argv[3]), true},
{fs::path(boost::unit_test::framework::master_test_suite().argv[4]), false}};
}
Expand Down

0 comments on commit 63c0db9

Please sign in to comment.