all repos — mgba @ 4573c22fa87336c371f81be08f9873b2e69fda49

mGBA Game Boy Advance Emulator

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(GBRTC);
11
12int TestRunGB(void) {
13	int failures = 0;
14	failures += M_TEST_SUITE_RUN(GBCore);
15	failures += M_TEST_SUITE_RUN(GBMBC);
16	failures += M_TEST_SUITE_RUN(GBRTC);
17	return failures;
18}