aboutsummaryrefslogtreecommitdiff
path: root/spec/main.cpp
blob: 83ab694dd6ea42f73d9d359f5e8f20acade60dfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <QtCore>

#include "schemes/schemes.hpp"
#include "testUtils.h"

int main(int argc, char **argv) {
  register_all_schemes();
  QApplication app(argc, argv);

  int exit_code_app = run_app_tests();
  int exit_code_lua = run_lua_tests();

  if (exit_code_app != 0)
    return exit_code_app;
  return exit_code_lua;
}