Skip to content
Snippets Groups Projects
Commit 78072c0c authored by Mick Jordan's avatar Mick Jordan
Browse files

add junitgate command; use .so extension for urand always

parent 8a32f3f0
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,9 @@ include $(NATIVE_PROJECT)/platform.mk
OBJ = lib
SRC = src
C_SOURCES := $(wildcard $(SRC)/*.c)
C_LIBNAME := lib$(subst $(SRC)/,,$(C_SOURCES:.c=.$(SHARED_EXT)))
# Since this library is loaded explicitly we keep a consistent
# extension so that the test script is portable for TestExpectedOutput
C_LIBNAME := lib$(subst $(SRC)/,,$(C_SOURCES:.c=.so))
C_OBJECTS := $(subst $(SRC),$(OBJ),$(C_SOURCES:.c=.o))
C_LIB := $(OBJ)/$(C_LIBNAME)
......
......@@ -243,6 +243,9 @@ def junit_simple(args):
def junit_default(args):
return junit(['--tests', _all_unit_tests()] + args)
def junit_gate(args):
return junit(['--tests', _gate_unit_tests()] + args)
def _simple_unit_tests():
return 'com.oracle.truffle.r.test.simple'
......@@ -363,6 +366,7 @@ def mx_init(suite):
'junit' : [junit, ['options']],
'junitsimple' : [junit_simple, ['options']],
'junitdefault' : [junit_default, ['options']],
'junitgate' : [junit_gate, ['options']],
'unittest' : [unittest, ['options']],
'rbcheck' : [rbcheck, ['options']],
'rcmplib' : [rcmplib, ['options']],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment