blob: ca6109b86cecf6dab4795fb898eec1eb306cd965 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/test/main_hook.h"
#include "base/test/test_suite.h"
#include "sql/test_vfs.h"
#include "starboard/client_porting/wrap_main/wrap_main.h"
int TestSuiteRun(int argc, char** argv) {
MainHook hook(NULL, argc, argv);
sql::RegisterTestVfs();
int error_level = base::TestSuite(argc, argv).Run();
sql::UnregisterTestVfs();
return error_level;
}
STARBOARD_WRAP_SIMPLE_MAIN(TestSuiteRun);