mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
This might fix our windows tests.
This commit is contained in:
parent
26ea9ce07c
commit
314f8beef1
@ -6,7 +6,7 @@ import subprocess
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
solc = sys.argv[1]
|
solc = sys.argv[1]
|
||||||
report = open("report.txt", "w")
|
report = open("report.txt", "wb")
|
||||||
|
|
||||||
for optimize in [False, True]:
|
for optimize in [False, True]:
|
||||||
for f in sorted(glob.glob("*.sol")):
|
for f in sorted(glob.glob("*.sol")):
|
||||||
|
@ -27,15 +27,16 @@ cd bytecode
|
|||||||
..\scripts\isolate_tests.py ..\test\
|
..\scripts\isolate_tests.py ..\test\
|
||||||
..\scripts\bytecodecompare\prepare_report.py ..\build\solc\%CONFIGURATION%\solc.exe
|
..\scripts\bytecodecompare\prepare_report.py ..\build\solc\%CONFIGURATION%\solc.exe
|
||||||
|
|
||||||
git clone --depth 2 git@github.com:ethereum/solidity-test-bytecode.git
|
REM Send to stdout instead of stderr to not confuse powershell
|
||||||
|
git clone --depth 2 git@github.com:ethereum/solidity-test-bytecode.git 2>&1
|
||||||
cd solidity-test-bytecode
|
cd solidity-test-bytecode
|
||||||
git config user.name "travis"
|
git config user.name "travis"
|
||||||
git config user.email "chris@ethereum.org"
|
git config user.email "chris@ethereum.org"
|
||||||
git clean -f -d -x
|
git clean -f -d -x 2>&1
|
||||||
|
|
||||||
if not exist %DIRECTORY% mkdir %DIRECTORY%
|
if not exist %DIRECTORY% mkdir %DIRECTORY%
|
||||||
set REPORT=%DIRECTORY%/windows.txt
|
set REPORT=%DIRECTORY%/windows.txt
|
||||||
cp ../report.txt %REPORT%
|
cp ../report.txt %REPORT%
|
||||||
git add %REPORT%
|
git add %REPORT%
|
||||||
git commit -a -m "Added report."
|
git commit -a -m "Added report."
|
||||||
git push origin
|
git push origin 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user