include(CTest) set(argv /bin/true) list(POP_BACK argv) add_test( NAME CommandExpandEmptyList COMMAND "$" COMMAND_EXPAND_LISTS )