Skip to content

Commit 82e1608

Browse files
author
x0r
committed
add instr tests
1 parent cfa66a3 commit 82e1608

File tree

2 files changed

+10492
-119
lines changed

2 files changed

+10492
-119
lines changed

Makefile

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ clean-test: ## remove test and coverage artifacts
5050
lint: ## check style with flake8
5151
flake8
5252

53-
test: ## run tests quickly with the default Python
54-
py.test tests/func
5553

5654

5755
test-all: ## run tests on every Python version with tox
@@ -85,13 +83,12 @@ install: clean ## install the package to the active Python's site-packages
8583
python setup.py install
8684
test: $(TESTS)
8785

88-
check: test
89-
./$<
86+
check: test_insn_tests
87+
./$<
9088

9189
TESTS = test_insn_tests
92-
test_instr_tests
9390

94-
test_insn_tests: test_insn_tests.cpp asm.h asm_16.h
95-
$(CXX) $(CXXFLAGS) -I./include -isystem /usr/local/include \
96-
-L/usr/local/lib -lpthread -lgtest_main \
97-
-o $@ $<
91+
test_insn_tests: test_insn_tests.cpp asm.h asm_16.h asm.cpp
92+
$(CXX) $(CXXFLAGS) -I./include -isystem /usr/local/include -Wno-overflow \
93+
-L/usr/local/lib -lpthread -lgtest_main \
94+
-o $@ $<

0 commit comments

Comments
 (0)