Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information:

Commit 47f0f8c9 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Fixed crashing test-campvis on GCC/Linux.

parent ab290c65
...@@ -88,15 +88,19 @@ GTEST_API_ int main(int argc, char **argv) { ...@@ -88,15 +88,19 @@ GTEST_API_ int main(int argc, char **argv) {
int ret; int ret;
std::thread testThread([&] () { std::thread testThread([&] () {
cgt::GLContextScopedLock lock(_localContext); {
ret= RUN_ALL_TESTS(); cgt::GLContextScopedLock lock(_localContext);
app->exit(); app->exit();
}); });
app->exec(); app->exec();
deinit(); testThread.join();
delete app; delete app;
printf("main() returned with %d\n", ret); printf("main() returned with %d\n", ret);
return 0; return ret;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment