File tree 3 files changed +14
-4
lines changed
3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ mostlyclean clean:
21
21
avail unavail bin :
22
22
@$(MAKE ) -C src --no-print-directory $@
23
23
24
- lib :
24
+ lib libtest :
25
25
@$(MAKE ) -C libsrc --no-print-directory $@
26
26
27
27
doc html info :
43
43
checkstyle :
44
44
@$(MAKE ) -C .github/checks --no-print-directory $@
45
45
46
- # simple "test" target, only run regression tests for c64 target
46
+ # runs regression tests, requires libtest target libraries
47
47
test :
48
48
@$(MAKE ) -C test --no-print-directory $@
49
49
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ TARGETS = apple2 \
39
39
sym1 \
40
40
telestrat
41
41
42
+ TARGETTEST = none \
43
+ sim6502 \
44
+ sim65c02
45
+
42
46
DRVTYPES = emd \
43
47
joy \
44
48
mou \
@@ -53,7 +57,7 @@ OUTPUTDIRS := lib
53
57
$(subst ../,,$(wildcard ../target/* /drv/* ) ) \
54
58
$(subst ../,,$(wildcard ../target/* /util) )
55
59
56
- .PHONY : all mostlyclean clean install zip lib $(TARGETS )
60
+ .PHONY : all mostlyclean clean install zip lib libtest $(TARGETS )
57
61
58
62
.SUFFIXES :
59
63
@@ -81,6 +85,8 @@ datadir = $(PREFIX)/share/cc65
81
85
82
86
all lib : $(TARGETS )
83
87
88
+ libtest : $(TARGETTEST )
89
+
84
90
mostlyclean :
85
91
$(call RMDIR,../libwrk)
86
92
Original file line number Diff line number Diff line change @@ -68,7 +68,11 @@ compiler is working as expected (when the tests behave as described):
68
68
which will require additional changes to the makefile(s).
69
69
70
70
71
- To run the tests use "make" in this (top) directory, the makefile should exit
71
+ These tests only require a subset of the platform libraries. In the (top)
72
+ directory above this one, "make libtest" can be used to build only those
73
+ libraries needed for testing, instead of "make lib".
74
+
75
+ To run the tests use "make" in this (test) directory, the makefile should exit
72
76
with no error.
73
77
74
78
When a test failed you can use "make continue" to run further tests.
You can’t perform that action at this time.
0 commit comments