Add experimental (and undocumented) --help-verbose and --help-short options.

This commit is contained in:
Markus F.X.J. Oberhumer
2024-04-21 14:20:18 +02:00
parent eb3c55b5cb
commit 9d26713b1a
9 changed files with 105 additions and 49 deletions
+6 -2
View File
@@ -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 "")