Skip to content

Commit

Permalink
Renamed exe and added exes to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
thk123 committed May 5, 2017
1 parent 3001529 commit 66bccf0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
12 changes: 12 additions & 0 deletions unit/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Unit test binaries
elf_reader
float_utils
json
miniBDD
osx_fat_reader
sharing_map
sharing_node
smt2_parser
string_utils
unicode
unit_tests
8 changes: 4 additions & 4 deletions unit/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SRC = catch_entry_point.cpp \
SRC = unit_tests.cpp \
catch_example.cpp \
# Empty last line

Expand All @@ -24,7 +24,7 @@ LIBS = ../src/ansi-c/ansi-c$(LIBEXT) \
../src/solvers/solvers$(LIBEXT) \
# Empty last line

TESTS = catch_entry_point$(EXEEXT) \
TESTS = unit_tests$(EXEEXT) \
miniBDD$(EXEEXT) \
string_utils$(EXEEXT) \
sharing_node$(EXEEXT) \
Expand All @@ -34,15 +34,15 @@ CLEANFILES = $(TESTS)

all: cprover.dir $(TESTS)

all: cprover.dir catch_entry_point$(EXEEXT)
all: cprover.dir unit_tests$(EXEEXT)

test: all
$(foreach test,$(TESTS), (echo Running: $(test); ./$(test)$(EXEEXT)) &&) true


###############################################################################

catch_entry_point$(EXEEXT): $(OBJ)
unit_tests$(EXEEXT): $(OBJ)
$(LINKBIN)

miniBDD$(EXEEXT): miniBDD$(OBJEXT)
Expand Down
5 changes: 0 additions & 5 deletions unit/catch_entry_point.cpp → unit/unit_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
Author: DiffBlue Limited. All rights reserved.
\*******************************************************************/
#ifndef CATCH_ENTRY_POINT_H
#define CATCH_ENTRY_POINT_H

#define CATCH_CONFIG_MAIN
#include "catch.hpp"


#endif // CATCH_ENTRY_POINT_H

0 comments on commit 66bccf0

Please sign in to comment.