Revision: 19696
          http://sourceforge.net/p/edk2/code/19696
Author:   yzhu52
Date:     2016-01-20 05:14:10 +0000 (Wed, 20 Jan 2016)
Log Message:
-----------
BaseTools: Use python2 if available in Tests/GNUmakefile

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Charles Duffy <[email protected]>
Reviewed-by: Yonghong Zhu <[email protected]>

Modified Paths:
--------------
    trunk/edk2/BaseTools/Tests/GNUmakefile

Modified: trunk/edk2/BaseTools/Tests/GNUmakefile
===================================================================
--- trunk/edk2/BaseTools/Tests/GNUmakefile      2016-01-20 05:12:02 UTC (rev 
19695)
+++ trunk/edk2/BaseTools/Tests/GNUmakefile      2016-01-20 05:14:10 UTC (rev 
19696)
@@ -14,7 +14,7 @@
 all: test
 
 test:
-       @python RunTests.py
+       @if command -v python2 >/dev/null 2>&1; then python2 RunTests.py; else 
python RunTests.py; fi
 
 clean:
        find . -name '*.pyc' -exec rm '{}' ';'


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to