blob: ae9ccb185ba3a758b4135b5c64425907c4dab256 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define MAGMA_DLOG_ENABLE 1
#include "helper/platform_device_helper.h"
#include "magma_util/dlog.h"
#include "gtest/gtest.h"
#include <ddk/device.h>
void magma_indriver_test(magma::PlatformPciDevice* platform_device)
{
DLOG("running magma unit tests");
TestPlatformPciDevice::SetInstance(platform_device);
const int kArgc = 3;
const char* argv[kArgc] = {"magma_indriver_test", "--gtest_filter=-PlatformDevice*.*"};
testing::InitGoogleTest(const_cast<int*>(&kArgc), const_cast<char**>(argv));
printf("[DRV START=]\n");
(void)RUN_ALL_TESTS();
printf("[DRV END===]\n[==========]\n");
}