Edit

kc3-lang/angle/src/tests/angle_perftests_main.cpp

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2015-03-19 13:42:16
    Hash : be13ffca
    Message : Use google test to wrap our perf tests. This provides easy implementation with the Chromium perf bots. BUG=angleproject:744 Change-Id: I71c04e3d67cae9344ddca9fd95fd3c9849494922 Reviewed-on: https://chromium-review.googlesource.com/260644 Tested-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org>

  • src/tests/angle_perftests_main.cpp
  • //
    // Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    // angle_perftests_main.cpp
    //   Entry point for the gtest-based performance tests.
    //
    
    #include <gtest/gtest.h>
    
    int main(int argc, char **argv)
    {
        testing::InitGoogleTest(&argc, argv);
        testing::AddGlobalTestEnvironment(new testing::Environment());
        int rt = RUN_ALL_TESTS();
        return rt;
    }