mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
32c697806f
Moving mytap library into unittest/ Adding 'test' target to make and run unit tests. Minor fixes.
21 lines
270 B
Makefile
21 lines
270 B
Makefile
SUBDIRS = mytap . mysys examples
|
|
|
|
.PHONY: mytap mysys examples test
|
|
|
|
noinst_SCRIPTS = unit
|
|
|
|
test: mytap mysys examples
|
|
./unit run $^
|
|
|
|
mytap:
|
|
cd mytap && $(MAKE)
|
|
|
|
mysys:
|
|
cd mysys && $(MAKE)
|
|
|
|
examples:
|
|
cd examples && $(MAKE)
|
|
|
|
unit: unit.pl
|
|
cp $< $@
|
|
chmod +x $@
|