mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Added param to run a test on a separate object or test file. Added .DS_Store to .gitignore
This commit is contained in:
parent
326c130937
commit
58e1b0ed48
2 changed files with 8 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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; \
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue