[dragonegg] r176082 - O/S independent /dev/null.

Duncan Sands baldrick at free.fr
Tue Feb 26 01:57:32 PST 2013


Author: baldrick
Date: Tue Feb 26 03:57:32 2013
New Revision: 176082

URL: http://llvm.org/viewvc/llvm-project?rev=176082&view=rev
Log:
O/S independent /dev/null.

Modified:
    dragonegg/trunk/test/DEUtils.py

Modified: dragonegg/trunk/test/DEUtils.py
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/DEUtils.py?rev=176082&r1=176081&r2=176082&view=diff
==============================================================================
--- dragonegg/trunk/test/DEUtils.py (original)
+++ dragonegg/trunk/test/DEUtils.py Tue Feb 26 03:57:32 2013
@@ -40,7 +40,7 @@ def getSuffixesForLanguage(language):
 
 def isLanguageSupported(language, compiler):
   # How to run the compiler.  Additional arguments are added below.
-  args = [compiler, '-S', '-o', '/dev/null']
+  args = [compiler, '-S', '-o', os.devnull]
 
   if language == 'java':
     # GCC can't compile Java source by itself, it can only compile class files.





More information about the llvm-commits mailing list