Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: trunk/test/hello/gyptest-target.py

Issue 160351: Test infrastructure for end-to-end tests of GYP generators, and... (Closed) Base URL: http://gyp.googlecode.com/svn/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/test/hello/gyptest-default.py ('k') | trunk/test/hello/hello.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/test/hello/gyptest-target.py
===================================================================
--- trunk/test/hello/gyptest-target.py (revision 0)
+++ trunk/test/hello/gyptest-target.py (revision 0)
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+
+"""
+Verifies simplest-possible build of a "Hello, world!" program
+using an explicit build target of 'hello'.
+"""
+
+import TestGyp
+
+test = TestGyp.TestGyp()
+
+test.run_gyp('hello.gyp')
+
+test.build_target('hello.gyp', 'hello')
+
+test.run_built_executable('hello', stdout="Hello, world!\n")
+
+test.pass_test()
Property changes on: trunk/test/hello/gyptest-target.py
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:eol-style
+ LF
« no previous file with comments | « trunk/test/hello/gyptest-default.py ('k') | trunk/test/hello/hello.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698