зеркало из https://github.com/mozilla/pjs.git
Added makefile rules to build the test programs (example and minigzip) and
the test target to run the tests. Modified Files: Makefile config.mk manifest.mn
This commit is contained in:
Родитель
533ab4130c
Коммит
b8053c9d1a
|
@ -77,3 +77,12 @@ include $(CORE_DEPTH)/coreconf/rules.mk
|
|||
|
||||
export:: private_export
|
||||
|
||||
test: $(PROGRAMS)
|
||||
@cd $(OBJDIR); \
|
||||
echo hello world | ./minigzip | ./minigzip -d || \
|
||||
echo ' *** minigzip test FAILED ***' ; \
|
||||
if ./example; then \
|
||||
echo ' *** zlib test OK ***'; \
|
||||
else \
|
||||
echo ' *** zlib test FAILED ***'; \
|
||||
fi
|
||||
|
|
|
@ -45,3 +45,4 @@ SHARED_LIBRARY =
|
|||
IMPORT_LIBRARY =
|
||||
PROGRAM =
|
||||
|
||||
EXTRA_LIBS = $(LIBRARY)
|
||||
|
|
|
@ -57,6 +57,8 @@ CSRCS = adler32.c \
|
|||
|
||||
LIBRARY_NAME = zlib
|
||||
|
||||
PROGRAMS = example minigzip
|
||||
|
||||
# REQUIRES = nss
|
||||
|
||||
DEFINES = -DNSPR20=1
|
||||
|
|
Загрузка…
Ссылка в новой задаче