Remote test execution for cross compiled tests. Run it like:
$ ./gradlew backend.native:tests:run \
-Premote=user@111.22.33.444 -Ptest_target=raspberrypi
The new gradle command line options:
-Pbuild_flags renamed -Pkonanc_flags.
-Ptest_flags provides compiler flags to the test builds.
-Ptest_target properly sets up compiler as well as interop
to cross compile tests.
-Premote specifies remote host and login.
This commit is contained in:
committed by
alexander-gorshenev
parent
826b3fc3f2
commit
334d2f0ee6
@@ -9,16 +9,20 @@ LINKER_ARGS_macbook="-F /Library/Frameworks -framework SDL2"
|
||||
COMPILER_ARGS_macbook=
|
||||
CFLAGS_macbook=-I/opt/local/include/SDL2
|
||||
LINKER_ARGS_macbook="-L/opt/local/lib -lSDL2"
|
||||
|
||||
CFLAGS_linux=-I/usr/include/SDL2
|
||||
LINKER_ARGS_linux="-L/usr/lib/x86_64-linux-gnu -lSDL2"
|
||||
COMPILER_ARGS_linux=
|
||||
|
||||
CFLAGS_iphone=-I$DEPS/target-sysroot-2-darwin-ios/System/Library/Frameworks/SDL2.framework/Headers
|
||||
LINKER_ARGS_iphone="-framework SDL2 \
|
||||
-framework AVFoundation -framework CoreGraphics -framework CoreMotion -framework Foundation -framework GameController \
|
||||
-framework AudioToolbox -framework OpenGLES -framework QuartzCore -framework UIKit"
|
||||
COMPILER_ARGS_iphone=-nomain
|
||||
|
||||
CFLAGS_raspberrypi=-I$DEPS/target-sysroot-1-raspberrypi/usr/include/SDL2
|
||||
LINKER_ARGS_raspberrypi="-lSDL2"
|
||||
COMPILER_ARGS_raspberrypi=-nomain
|
||||
|
||||
if [ x$TARGET == x ]; then
|
||||
case "$OSTYPE" in
|
||||
|
||||
Reference in New Issue
Block a user