Browse Source

More CI tweaks

Signed-off-by: falkTX <falktx@falktx.com>
pull/272/head
falkTX 4 years ago
parent
commit
815aa36731
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 5 additions and 3 deletions
  1. +3
    -1
      .travis/before_install.sh
  2. +2
    -2
      tests/Application.cpp

+ 3
- 1
.travis/before_install.sh View File

@@ -14,5 +14,7 @@ if [ "${TARGET}" = "win32" ] || [ "${TARGET}" = "win64" ]; then
fi

sudo apt-get update -qq
sudo apt-get install -y -o APT::Immediate-Configure=false libc6 libc6:i386 libgcc-s1:i386
if [ "${TARGET}" = "win32" ] || [ "${TARGET}" = "win64" ]; then
sudo apt-get install -y -o APT::Immediate-Configure=false libc6 libc6:i386 libgcc-s1:i386
fi
sudo apt-get install -y -f

+ 2
- 2
tests/Application.cpp View File

@@ -95,7 +95,7 @@ int main()
app.addIdleCallback(&idleCounter);
app.exec();
DISTRHO_ASSERT_EQUAL(appQuitter.isThreadRunning(), false, "app quit triggered because we told it so");
DISTRHO_ASSERT_NOT_EQUAL(idleCounter.counter, 0, "app idle callbacks not triggered");
DISTRHO_ASSERT_NOT_EQUAL(idleCounter.counter, 0, "app idle callbacks MUST have been triggered");
}

// standalone exec, but with 0 as timeout
@@ -106,7 +106,7 @@ int main()
app.addIdleCallback(&idleCounter);
app.exec(0);
DISTRHO_ASSERT_EQUAL(appQuitter.isThreadRunning(), false, "app quit triggered because we told it so");
DISTRHO_ASSERT_NOT_EQUAL(idleCounter.counter, 0, "app idle callbacks not triggered");
DISTRHO_ASSERT_NOT_EQUAL(idleCounter.counter, 0, "app idle callbacks MUST have been triggered");
}

return 0;


Loading…
Cancel
Save