Skip to content

Commit afb6c47

Browse files
author
Rob Patro
committed
Merge branch 'develop'
2 parents 9b60125 + b3b7cc2 commit afb6c47

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

scripts/fetchPufferfish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ if [ -d ${INSTALL_DIR}/src/pufferfish ] ; then
2323
rm -fr ${INSTALL_DIR}/src/pufferfish
2424
fi
2525

26-
#SVER=salmon-v1.8.0
27-
SVER=develop
26+
SVER=salmon-v1.9.0
27+
#SVER=develop
2828
#SVER=sketch-mode
2929

30-
EXPECTED_SHA256=9c415bf431629929153625b354d8bc96828da2a236e99b5d1e6624311b3e0ad5
30+
EXPECTED_SHA256=2a862daeff95a19c9b188bc26a5d02fc0ecc5b9c9ae5523a67c9d14e62551c5d
3131

3232
mkdir -p ${EXTERNAL_DIR}
3333
curl -k -L https://github.com/COMBINE-lab/pufferfish/archive/${SVER}.zip -o ${EXTERNAL_DIR}/pufferfish.zip

src/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,13 @@ endif()
9999

100100
set (UNIT_TESTS_ENTRY_SRCS
101101
${GAT_SOURCE_DIR}/tests/UnitTests.cpp
102-
${GAT_SOURCE_DIR}/tests/catch.hpp
103102
)
104103

105104
set (UNIT_TESTS_INDIVIDUAL_SRCS
106105
${GAT_SOURCE_DIR}/src/FragmentLengthDistribution.cpp
107106
${GAT_SOURCE_DIR}/external/install/src/pufferfish/rank9b.cpp
108107
${GAT_SOURCE_DIR}/tests/GCSampleTests.cpp
109108
${GAT_SOURCE_DIR}/tests/LibraryTypeTests.cpp
110-
# ${GAT_SOURCE_DIR}/tests/KmerHistTests.cpp
111109
)
112110

113111

@@ -197,7 +195,9 @@ if(HAS_IPO AND (NOT NO_IPO))
197195
set_property(TARGET salmon PROPERTY INTERPROCEDURAL_OPTIMIZATION True)
198196
endif()
199197

200-
add_library(UnitTestsMain STATIC ${UNIT_TESTS_ENTRY_SRCS} ${GAT_SOURCE_DIR}/tests/catch.hpp)
198+
add_library(UnitTestsMain STATIC ${UNIT_TESTS_ENTRY_SRCS})
199+
target_compile_options(UnitTestsMain PUBLIC "$<$<CONFIG:DEBUG>:${TGT_DEBUG_FLAGS}>")
200+
target_compile_options(UnitTestsMain PUBLIC "$<$<CONFIG:RELEASE>:${TGT_RELEASE_FLAGS}>")
201201

202202
add_executable(unitTests ${UNIT_TESTS_INDIVIDUAL_SRCS} ${GAT_SOURCE_DIR}/tests/catch.hpp)
203203
target_compile_options(unitTests PUBLIC "$<$<CONFIG:DEBUG>:${TGT_DEBUG_FLAGS}>")

tests/catch.hpp

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Catch v2.13.8
3-
* Generated: 2022-01-03 21:20:09.589503
2+
* Catch v2.13.9
3+
* Generated: 2022-04-12 22:37:23.260201
44
* ----------------------------------------------------------
55
* This file has been merged from multiple headers. Please don't edit it directly
66
* Copyright (c) 2022 Two Blue Cubes Ltd. All rights reserved.
@@ -15,7 +15,7 @@
1515

1616
#define CATCH_VERSION_MAJOR 2
1717
#define CATCH_VERSION_MINOR 13
18-
#define CATCH_VERSION_PATCH 8
18+
#define CATCH_VERSION_PATCH 9
1919

2020
#ifdef __clang__
2121
# pragma clang system_header
@@ -13392,6 +13392,10 @@ namespace Catch {
1339213392
filename.erase(0, lastSlash);
1339313393
filename[0] = '#';
1339413394
}
13395+
else
13396+
{
13397+
filename.insert(0, "#");
13398+
}
1339513399

1339613400
auto lastDot = filename.find_last_of('.');
1339713401
if (lastDot != std::string::npos) {
@@ -15387,7 +15391,7 @@ namespace Catch {
1538715391
}
1538815392

1538915393
Version const& libraryVersion() {
15390-
static Version version( 2, 13, 8, "", 0 );
15394+
static Version version( 2, 13, 9, "", 0 );
1539115395
return version;
1539215396
}
1539315397

@@ -17890,7 +17894,7 @@ using Catch::Detail::Approx;
1789017894
#define INFO( msg ) (void)(0)
1789117895
#define UNSCOPED_INFO( msg ) (void)(0)
1789217896
#define WARN( msg ) (void)(0)
17893-
#define CAPTURE( msg ) (void)(0)
17897+
#define CAPTURE( ... ) (void)(0)
1789417898

1789517899
#define TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( C_A_T_C_H_T_E_S_T_ ))
1789617900
#define TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( C_A_T_C_H_T_E_S_T_ ))

0 commit comments

Comments
 (0)