Minor functional test fixes

* Fixed issue where a previously built demo APK would be added into the APK archive upon next build
* Correct the functional test's --in-process help output
This commit is contained in:
Cam Mannett
2023-10-26 15:09:59 +01:00
committed by Baldur Karlsson
parent ecd47ca40c
commit 3746f83039
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -432,6 +432,7 @@ if(ANDROID)
endif()
add_custom_command(OUTPUT ${APK_FILE} APPEND
COMMAND ${CMAKE_COMMAND} -E remove ${APK_FILE} # Don't package any existing artifact into the new one
COMMAND ${BUILD_TOOLS}/aapt package -f -m -S res -J src -M AndroidManifest.xml -I ${ANDROID_JAR}
COMMAND ${JAVA_BIN}/javac -d ./obj -source 1.7 -target 1.7 -bootclasspath ${RT_JAR} -classpath "${CLASS_PATH}" -sourcepath src src/renderdoc/org/demos/*.java
COMMAND ${DEX_COMMAND}
+1 -1
View File
@@ -16,7 +16,7 @@ parser.add_argument('-t', '--test_include', default=".*",
parser.add_argument('-x', '--test_exclude', default="",
help="The tests to exclude, as a regexp filter", type=str)
parser.add_argument('--in-process',
help="Lists the tests available to run", action="store_true")
help="Run test code in the same process as test runner", action="store_true")
parser.add_argument('--slow-tests',
help="Run potentially slow tests", action="store_true")
parser.add_argument('--data', default=os.path.join(script_dir, "data"),