mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Set test framework version to two.
This commit is contained in:
parent
baa8e2465b
commit
eda24a2c02
3 changed files with 6 additions and 2 deletions
|
@ -16,7 +16,7 @@ TestFramework_OBJC_FILES = TestFramework.m
|
|||
TestFramework_RESOURCE_FILES = NonLocalRes.txt
|
||||
TestFramework_LANGUAGES = English French de
|
||||
TestFramework_LOCALIZED_RESOURCE_FILES = TextRes.txt
|
||||
|
||||
TestFramework_CURRENT_VERSION_NAME = 2
|
||||
|
||||
include $(GNUSTEP_MAKEFILES)/bundle.make
|
||||
include $(GNUSTEP_MAKEFILES)/framework.make
|
||||
|
|
|
@ -1 +1 @@
|
|||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./Resources/TestFramework.framework/Versions/0/
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./Resources/TestFramework.framework/Versions/2/
|
||||
|
|
|
@ -16,6 +16,10 @@ static void _testBundle(NSBundle* bundle, NSString* path, NSString* className)
|
|||
NSArray *arr, *carr;
|
||||
NSString *localPath;
|
||||
|
||||
PASS((bundle != nil),
|
||||
"bundle was found");
|
||||
PASS((path != nil),
|
||||
"path of bundle was found");
|
||||
arr = [bundle pathsForResourcesOfType: @"txt" inDirectory: nil];
|
||||
PASS((arr && [arr count]),
|
||||
"-pathsForResourcesOfType:inDirectory: returns an array");
|
||||
|
|
Loading…
Reference in a new issue