Added param to run a test on a separate object or test file. Added .DS_Store to .gitignore

This commit is contained in:
Artem Lotorev 2020-04-30 14:18:05 +03:00
parent 326c130937
commit 58e1b0ed48
2 changed files with 8 additions and 2 deletions

3
.gitignore vendored
View file

@ -26,6 +26,9 @@ Tests/base/coding/ulong-8.type
*.orig
*.swp
# MacOS Desktop Services Store
.DS_Store
# Created by https://www.gitignore.io/api/xcode
# Edit at https://www.gitignore.io/?templates=xcode

View file

@ -51,6 +51,9 @@ TOP_DIR := $(shell dirname $(CURDIR))
all::
@(echo If you want to run the gnustep-base testsuite, please type \'${MAKE} check\')
# To run tests for a separate group please, use 'make check testobj=NSString'
# or 'make check testobj=NSDate/general.m' to run an individual test file
#
#
# 'make check' runs the testsuite (Objective-C tests only)
#
@ -72,9 +75,9 @@ check::
export LD_LIBRARY_PATH;\
export PATH;\
if [ "$(debug)" = "yes" ]; then \
gnustep-tests --debug base;\
gnustep-tests --debug 'base/$(testobj)';\
else \
gnustep-tests base;\
gnustep-tests 'base/$(testobj)';\
fi; \
)