all repos — mgba @ a1d5c58ce0dcce902d1aaf3a9ee033af5ed17ed7

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