~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

Viewing changes to cmake/src/compiz/compiz_discover_gtest_tests.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-22 06:58:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3352.
  • Revision ID: package-import@ubuntu.com-20130822065807-17nlzez0d30y09so
Tags: upstream-0.9.10+13.10.20130822
ImportĀ upstreamĀ versionĀ 0.9.10+13.10.20130822

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
int usage ()
15
15
{
16
 
    cout << "Usage: PATH_TO_TEST_BINARY --gtest_list_tests | ./build_test_cases PATH_TO_TEST_BINARY --wrapper PATH_TO_WRAPPER";
 
16
    cout << "Usage: PATH_TO_TEST_BINARY --gtest_list_tests | ./build_test_cases PATH_TO_TEST_BINARY --wrapper PATH_TO_WRAPPER" << endl;
17
17
    return 1;
18
18
}
19
19
 
75
75
                    gTestFilter << " \"--gtest_filter=";
76
76
                    endParen << "\")";
77
77
 
 
78
                    std::string testName = jt->substr(0, jt->find("#"));
 
79
 
78
80
                    testfilecmake <<
79
81
                        addTest.str () <<
80
 
                        *jt <<
 
82
                        testName <<
81
83
                        testExec.str () <<
82
84
                        gTestFilter.str () <<
83
 
                        *jt <<
 
85
                        testName <<
84
86
                        endParen.str () <<
85
87
                        endl;
86
88
                }