test: make clean checks trustworthy
This commit is contained in:
@@ -33,7 +33,7 @@ OBJS = $(TESTOBJ) $(PARENTOBJ) $(XIMOBJ)
|
||||
|
||||
all: $(PROG) $(LIVE)
|
||||
|
||||
check test: $(PROG) $(LIVE)
|
||||
check test: $(PROG) $(LIVE) ../gtk/im-strans.so
|
||||
./$(PROG) $(TESTARGS)
|
||||
./ibus_live_test ../strans ../map ./ibus_client_smoke
|
||||
./gtk_live_test ../gtk/im-strans.so
|
||||
@@ -57,6 +57,9 @@ gtk_live_test: gtk_live_test.c ../ipc.c ../ipc.h
|
||||
$(HOSTCC) -std=c99 -Wall -Wextra -O2 -g -I.. $(GTK_CFLAGS) -o $@ \
|
||||
gtk_live_test.c ../ipc.c $(GTK_LIBS) -pthread
|
||||
|
||||
../gtk/im-strans.so: ../gtk/main.c ../ipc.c ../ipc.h
|
||||
$(MAKE) -C ../gtk
|
||||
|
||||
xim_live_test: xim_live_test.c ../ipc.c ../ipc.h
|
||||
$(HOSTCC) -std=c99 -Wall -Wextra -O2 -g -I.. $(X11_CFLAGS) -o $@ \
|
||||
xim_live_test.c ../ipc.c $(X11_LIBS)
|
||||
|
||||
Reference in New Issue
Block a user