Add experimental (and undocumented) --help-verbose and --help-short options.
This commit is contained in:
+6
-2
@@ -436,9 +436,13 @@ include(CTest)
|
||||
if(NOT CMAKE_CROSSCOMPILING OR CMAKE_CROSSCOMPILING_EMULATOR)
|
||||
add_test(NAME upx-version COMMAND upx --version)
|
||||
add_test(NAME upx-version-short COMMAND upx --version-short)
|
||||
add_test(NAME upx-help COMMAND upx --help)
|
||||
add_test(NAME upx-license COMMAND upx --license)
|
||||
add_test(NAME upx-sysinfo COMMAND upx --sysinfo -v)
|
||||
add_test(NAME upx-help-1 COMMAND upx --help)
|
||||
add_test(NAME upx-help-2 COMMAND upx --help-short)
|
||||
add_test(NAME upx-help-3 COMMAND upx --help-verbose)
|
||||
add_test(NAME upx-sysinfo-1 COMMAND upx --sysinfo)
|
||||
add_test(NAME upx-sysinfo-2 COMMAND upx --sysinfo -v)
|
||||
add_test(NAME upx-sysinfo-3 COMMAND upx --sysinfo -vv)
|
||||
if(NOT UPX_CONFIG_DISABLE_SELF_PACK_TEST)
|
||||
# IMPORTANT NOTE: these tests can only work if the host executable format is supported by UPX!
|
||||
set(emu "")
|
||||
|
||||
Reference in New Issue
Block a user