src/gb/test/gb.c (view raw)
1/* Copyright (c) 2013-2016 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#include "util/test/suite.h"
7
8M_TEST_SUITE_DECLARE(GBCore);
9M_TEST_SUITE_DECLARE(GBMBC);
10M_TEST_SUITE_DECLARE(GBMemory);
11M_TEST_SUITE_DECLARE(GBRTC);
12
13int TestRunGB(void) {
14 int failures = 0;
15 failures += M_TEST_SUITE_RUN(GBCore);
16 failures += M_TEST_SUITE_RUN(GBMBC);
17 failures += M_TEST_SUITE_RUN(GBMemory);
18 failures += M_TEST_SUITE_RUN(GBRTC);
19 return failures;
20}