Revision: 15187
Author:   [email protected]
Date:     Mon Jun 17 11:00:23 2013
Log:      Make sure GCMole pukes when Clang invocation fails.

[email protected]

Review URL: https://codereview.chromium.org/16878003
http://code.google.com/p/v8/source/detail?r=15187

Modified:
 /branches/bleeding_edge/tools/gcmole/gcmole.lua

=======================================
--- /branches/bleeding_edge/tools/gcmole/gcmole.lua     Mon Apr 22 05:49:08 2013
+++ /branches/bleeding_edge/tools/gcmole/gcmole.lua     Mon Jun 17 11:00:23 2013
@@ -117,7 +117,8 @@
       if FLAGS.verbose then print('popen ', action) end
       local pipe = io.popen(action)
       func(filename, pipe:lines())
-      pipe:close()
+      local success = pipe:close()
+      if not success then error("Failed to run: " .. action) end
    end
 end

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to