Skip to content

Commit

Permalink
Testing unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Sep 11, 2020
1 parent 8e4905e commit 31b3356
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,3 @@ check:

distcheck:


4 changes: 2 additions & 2 deletions tests/helperlib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ fastpbkdf2.o: ../../src/common/fastpbkdf2.c ../../src/common/fastpbkdf2.h
vscpmd5.o: ../../src/common/vscpmd5.c ../../src/common/vscpmd5.h
$(CC) $(CFLAGS) -c ../../src/common/vscpmd5.c -o $@

connect_test: $(CONNECT_TEST_OBJECTS)
$(CXX) -o $@ $(CONNECT_TEST_OBJECTS) $(LDFLAGS) $(EXTRALIBS)
#connect_test: $(CONNECT_TEST_OBJECTS)
# $(CXX) -o $@ $(CONNECT_TEST_OBJECTS) $(LDFLAGS) $(EXTRALIBS)

unittest: $(UNITTEST_OBJECTS)
$(CXX) -o $@ $(UNITTEST_OBJECTS) $(LDFLAGS) $(EXTRALIBS)
Expand Down
3 changes: 1 addition & 2 deletions tests/helperlib/unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,5 @@ TEST(HelperLib, vscp_getMeasurementAsDouble) {

int main(int argc, char **argv) {
testing::InitGoogleTest(&argc, argv);
RUN_ALL_TESTS();
return 0;
return RUN_ALL_TESTS();
}

0 comments on commit 31b3356

Please sign in to comment.