diff --git a/test/integration/centos-7/multiple.test b/test/integration/centos-7/multiple.test index f28966c..024b4e6 100755 --- a/test/integration/centos-7/multiple.test +++ b/test/integration/centos-7/multiple.test @@ -22,10 +22,20 @@ ko_to_test() { # make sure any modules added here are disjoint declare -a modules +declare -a blacklist=(data-new-LOADED.test) for file in "${SCRIPTDIR}"/*"${TEST_POSTFIX}"; do name=$(basename ${file}) - modules+=(${MODULE_PREFIX}${name%${TEST_POSTFIX}}${MODULE_POSTFIX}) + skip=0 + for bname in "${blacklist[@]}"; do + if [ "${bname}" == "${name}" ]; then + skip=1 + break + fi + done + if [ ${skip} -eq 0 ]; then + modules+=(${MODULE_PREFIX}${name%${TEST_POSTFIX}}${MODULE_POSTFIX}) + fi done for mod in "${modules[@]}"; do diff --git a/test/integration/fedora-27/multiple.test b/test/integration/fedora-27/multiple.test index 58ceae1..175789a 100755 --- a/test/integration/fedora-27/multiple.test +++ b/test/integration/fedora-27/multiple.test @@ -22,10 +22,20 @@ ko_to_test() { # make sure any modules added here are disjoint declare -a modules +declare -a blacklist=(meminfo-cmdline-rebuild-SLOW-LOADED.test) for file in "${SCRIPTDIR}"/*"${TEST_POSTFIX}"; do name=$(basename ${file}) - modules+=(${MODULE_PREFIX}${name%${TEST_POSTFIX}}${MODULE_POSTFIX}) + skip=0 + for bname in "${blacklist[@]}"; do + if [ "${bname}" == "${name}" ]; then + skip=1 + break + fi + done + if [ ${skip} -eq 0 ]; then + modules+=(${MODULE_PREFIX}${name%${TEST_POSTFIX}}${MODULE_POSTFIX}) + fi done for mod in "${modules[@]}"; do diff --git a/test/integration/ubuntu-16.04/multiple.test b/test/integration/ubuntu-16.04/multiple.test index 58ceae1..3c0bdf1 100755 --- a/test/integration/ubuntu-16.04/multiple.test +++ b/test/integration/ubuntu-16.04/multiple.test @@ -22,10 +22,20 @@ ko_to_test() { # make sure any modules added here are disjoint declare -a modules +declare -a blacklist=(data-new-LOADED.test meminfo-cmdline-rebuild-SLOW-LOADED.test) for file in "${SCRIPTDIR}"/*"${TEST_POSTFIX}"; do name=$(basename ${file}) - modules+=(${MODULE_PREFIX}${name%${TEST_POSTFIX}}${MODULE_POSTFIX}) + skip=0 + for bname in "${blacklist[@]}"; do + if [ "${bname}" == "${name}" ]; then + skip=1 + break + fi + done + if [ ${skip} -eq 0 ]; then + modules+=(${MODULE_PREFIX}${name%${TEST_POSTFIX}}${MODULE_POSTFIX}) + fi done for mod in "${modules[@]}"; do