Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
207c7a2b
Commit
207c7a2b
authored
Jul 15, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X Include go unit-tests into whole `make test`
parent
08e5ffdc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Makefile
Makefile
+5
-1
No files found.
Makefile
View file @
207c7a2b
...
@@ -72,7 +72,7 @@ CFLAGS := -g -Wall -D_GNU_SOURCE -std=gnu99 -fplan9-extensions \
...
@@ -72,7 +72,7 @@ CFLAGS := -g -Wall -D_GNU_SOURCE -std=gnu99 -fplan9-extensions \
# XXX hack ugly
# XXX hack ugly
LOADLIBES
=
lib/bug.c lib/utils.c 3rdparty/ccan/ccan/tap/tap.c
LOADLIBES
=
lib/bug.c lib/utils.c 3rdparty/ccan/ccan/tap/tap.c
TESTS
:=
$(
patsubst
%.c,%,
$(
wildcard
bigfile/tests/test_
*
.c
))
TESTS
:=
$(
patsubst
%.c,%,
$(
wildcard
bigfile/tests/test_
*
.c
))
test
:
test.t test.py test.fault test.asan test.tsan test.vgmem test.vghel test.vgdrd
test
:
test.t test.
go test.
py test.fault test.asan test.tsan test.vgmem test.vghel test.vgdrd
# TODO move XFAIL markers into *.c
# TODO move XFAIL markers into *.c
...
@@ -180,6 +180,10 @@ test.py.drd: pyext wcfs/wcfs
...
@@ -180,6 +180,10 @@ test.py.drd: pyext wcfs/wcfs
$(
call
vgxrun,--tool
=
drd,
$(PYTEST)
$(PYTEST_IGNORE)
)
$(
call
vgxrun,--tool
=
drd,
$(PYTEST)
$(PYTEST_IGNORE)
)
# run go tests
test.go
:
$(GO)
test
-count
=
1 ./...
# -count=1 disables tests caching
# test pagefault for double/real faults - it should crash
# test pagefault for double/real faults - it should crash
tfault
:=
bigfile/tests/tfault
tfault
:=
bigfile/tests/tfault
...
...
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