Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Willemt Raft
Commits
cbebc0ed
Commit
cbebc0ed
authored
Jan 13, 2014
by
willem
Browse files
Moved testing code into separate folder
parent
363fc04d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
cbebc0ed
...
@@ -11,22 +11,12 @@ CCFLAGS = -g -O2 -Werror -Werror=return-type -Werror=uninitialized -Wcast-align
...
@@ -11,22 +11,12 @@ CCFLAGS = -g -O2 -Werror -Werror=return-type -Werror=uninitialized -Wcast-align
all
:
tests_main
all
:
tests_main
chashmap
:
mkdir
-p
$(HASHMAP_DIR)
/.git
git
--git-dir
=
$(HASHMAP_DIR)
/.git init
pushd
$(HASHMAP_DIR)
;
git pull git@github.com:willemt/CHashMapViaLinkedList.git
;
popd
cbitstream
:
mkdir
-p
$(BITSTREAM_DIR)
/.git
git
--git-dir
=
$(BITSTREAM_DIR)
/.git init
pushd
$(BITSTREAM_DIR)
;
git pull git@github.com:willemt/CBitstream.git
;
popd
clinkedlistqueue
:
clinkedlistqueue
:
mkdir
-p
$(LLQUEUE_DIR)
/.git
mkdir
-p
$(LLQUEUE_DIR)
/.git
git
--git-dir
=
$(LLQUEUE_DIR)
/.git init
git
--git-dir
=
$(LLQUEUE_DIR)
/.git init
pushd
$(LLQUEUE_DIR)
;
git pull git@github.com:willemt/CLinkedListQueue.git
;
popd
pushd
$(LLQUEUE_DIR)
;
git pull git@github.com:willemt/CLinkedListQueue.git
;
popd
download-contrib
:
c
hashmap cbitstream clinkedlistqueue
download-contrib
:
c
bitstream
main_test.c
:
main_test.c
:
if
test
-d
$(HASHMAP_DIR)
;
\
if
test
-d
$(HASHMAP_DIR)
;
\
...
@@ -40,4 +30,4 @@ tests_main: main_test.c raft_server.c raft_log.c raft_node.c test_server.c test_
...
@@ -40,4 +30,4 @@ tests_main: main_test.c raft_server.c raft_log.c raft_node.c test_server.c test_
./tests_main
./tests_main
clean
:
clean
:
rm
-f
main_test.c
*
.o
tests
rm
-f
main_test.c
*
.o
$(GCOV_OUTPUT)
CuTest.c
→
test/
CuTest.c
View file @
cbebc0ed
File moved
CuTest.h
→
test/
CuTest.h
View file @
cbebc0ed
File moved
mock_send_functions.c
→
test/
mock_send_functions.c
View file @
cbebc0ed
File moved
mock_send_functions.h
→
test/
mock_send_functions.h
View file @
cbebc0ed
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment