mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Merge pull request #2100 from bbbradsmith/split2092-libtest
libtest target alternative to lib
This commit is contained in:
commit
0d0369983a
4
Makefile
4
Makefile
@ -21,7 +21,7 @@ mostlyclean clean:
|
|||||||
avail unavail bin:
|
avail unavail bin:
|
||||||
@$(MAKE) -C src --no-print-directory $@
|
@$(MAKE) -C src --no-print-directory $@
|
||||||
|
|
||||||
lib:
|
lib libtest:
|
||||||
@$(MAKE) -C libsrc --no-print-directory $@
|
@$(MAKE) -C libsrc --no-print-directory $@
|
||||||
|
|
||||||
doc html info:
|
doc html info:
|
||||||
@ -43,7 +43,7 @@ util:
|
|||||||
checkstyle:
|
checkstyle:
|
||||||
@$(MAKE) -C .github/checks --no-print-directory $@
|
@$(MAKE) -C .github/checks --no-print-directory $@
|
||||||
|
|
||||||
# simple "test" target, only run regression tests for c64 target
|
# runs regression tests, requires libtest target libraries
|
||||||
test:
|
test:
|
||||||
@$(MAKE) -C test --no-print-directory $@
|
@$(MAKE) -C test --no-print-directory $@
|
||||||
|
|
||||||
|
@ -39,6 +39,10 @@ TARGETS = apple2 \
|
|||||||
sym1 \
|
sym1 \
|
||||||
telestrat
|
telestrat
|
||||||
|
|
||||||
|
TARGETTEST = none \
|
||||||
|
sim6502 \
|
||||||
|
sim65c02
|
||||||
|
|
||||||
DRVTYPES = emd \
|
DRVTYPES = emd \
|
||||||
joy \
|
joy \
|
||||||
mou \
|
mou \
|
||||||
@ -53,7 +57,7 @@ OUTPUTDIRS := lib
|
|||||||
$(subst ../,,$(wildcard ../target/*/drv/*)) \
|
$(subst ../,,$(wildcard ../target/*/drv/*)) \
|
||||||
$(subst ../,,$(wildcard ../target/*/util))
|
$(subst ../,,$(wildcard ../target/*/util))
|
||||||
|
|
||||||
.PHONY: all mostlyclean clean install zip lib $(TARGETS)
|
.PHONY: all mostlyclean clean install zip lib libtest $(TARGETS)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
||||||
@ -81,6 +85,8 @@ datadir = $(PREFIX)/share/cc65
|
|||||||
|
|
||||||
all lib: $(TARGETS)
|
all lib: $(TARGETS)
|
||||||
|
|
||||||
|
libtest: $(TARGETTEST)
|
||||||
|
|
||||||
mostlyclean:
|
mostlyclean:
|
||||||
$(call RMDIR,../libwrk)
|
$(call RMDIR,../libwrk)
|
||||||
|
|
||||||
|
@ -68,7 +68,11 @@ compiler is working as expected (when the tests behave as described):
|
|||||||
which will require additional changes to the makefile(s).
|
which will require additional changes to the makefile(s).
|
||||||
|
|
||||||
|
|
||||||
To run the tests use "make" in this (top) directory, the makefile should exit
|
These tests only require a subset of the platform libraries. In the (top)
|
||||||
|
directory above this one, "make libtest" can be used to build only those
|
||||||
|
libraries needed for testing, instead of "make lib".
|
||||||
|
|
||||||
|
To run the tests use "make" in this (test) directory, the makefile should exit
|
||||||
with no error.
|
with no error.
|
||||||
|
|
||||||
When a test failed you can use "make continue" to run further tests.
|
When a test failed you can use "make continue" to run further tests.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user