Skip to content

Commit 776e45a

Browse files
committed
Move big-int unit test to unit/ folder and make it a CATCH-style test
1 parent 4b85305 commit 776e45a

File tree

7 files changed

+1396
-1514
lines changed

7 files changed

+1396
-1514
lines changed

src/big-int/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
set(SRC bigint-func.cc bigint.cc)
22

3-
add_executable(test-bigint ${SRC} bigint-test.cc)
43
add_library(big-int ${SRC})
54

65
generic_includes(big-int)

src/big-int/bigint-test.cc

-370
This file was deleted.

src/big-int/makefile

+2-7
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@ include ../config.inc
22
include ../common
33

44
SRC = bigint-func.cc bigint.cc
5-
PRG = test-bigint$(EXEEXT)
6-
CLEANFILES = $(PRG) big-int$(LIBEXT) bigint-test$(OBJEXT) bigint-test.d
5+
CLEANFILES = big-int$(LIBEXT)
76

8-
all : $(PRG) big-int$(LIBEXT)
7+
all: big-int$(LIBEXT)
98

109
big-int$(LIBEXT): $(OBJ)
1110
$(LINKLIB)
12-
13-
$(PRG): $(OBJ) bigint-test$(OBJEXT)
14-
$(LINKBIN)
15-

0 commit comments

Comments
 (0)