mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
Make ctypes unit tests work on OS/2. b=522118, r=dwitte
This commit is contained in:
parent
4b054ecdc7
commit
9dac919362
@ -45,6 +45,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = jsctypes-test
|
||||
LIBRARY_NAME = jsctypes-test
|
||||
SHORT_LIBNAME = jscttest
|
||||
FORCE_SHARED_LIB = 1
|
||||
NO_DIST_INSTALL = 1
|
||||
|
||||
|
@ -335,8 +335,10 @@ function run_load_system_library()
|
||||
var syslib = ctypes.open("libm.dylib");
|
||||
#elifdef XP_UNIX
|
||||
var syslib = ctypes.open("libm.so");
|
||||
#elifdef XP_OS2
|
||||
var syslib = ctypes.open("libc063.dll");
|
||||
#else
|
||||
// nothing run this test
|
||||
do_throw("please add a system library for this test")
|
||||
#endif
|
||||
syslib.close();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user