You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
268 B
11 lines
268 B
4 years ago
|
#define CATCH_CONFIG_RUNNER
|
||
|
#include "catch2/catch.hpp"
|
||
|
#include <QCoreApplication>
|
||
|
|
||
|
int main(int argc, char **argv) {
|
||
|
// unit tests for Qt
|
||
|
QCoreApplication app(argc, argv);
|
||
|
const int res = Catch::Session().run(argc, argv);
|
||
|
return (res < 0xff ? res : 0xff);
|
||
|
}
|