Skip to content

Commit

Permalink
Removed kludgy -Dprotected=public flags in testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Marcais committed Jul 2, 2015
1 parent e99151a commit a3c491a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ bin_test_all_SOURCES = unit_tests/test_main.cc \
unit_tests/test_stdio_filebuf.cc
bin_test_all_SOURCES += jellyfish/backtrace.cc

bin_test_all_CPPFLAGS = -Dprotected=public -Dprivate=public -DJSON_IS_AMALGAMATION=1
bin_test_all_CPPFLAGS = -DJSON_IS_AMALGAMATION=1
bin_test_all_CXXFLAGS = $(AM_CXXFLAGS) -I$(srcdir)/unit_tests/gtest/include -I$(srcdir)/unit_tests -I$(srcdir)/include
bin_test_all_LDADD = libgtest.la $(LDADD)
YAGGO_SOURCES += unit_tests/test_main_cmdline.hpp
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/test_mer_heap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static const uint16_t mer_len = 50;
static const size_t nb_mers = ary_size / 2;

class MerHeapTest : public ::testing::TestWithParam<size_t> {
protected:
public:
static void SetUpTestCase() {
mer_dna::k(mer_len);
shared_ary = new large_array(ary_size, mer_len * 2, 0, 63);
Expand Down

0 comments on commit a3c491a

Please sign in to comment.