Commit 5da909f8 authored by George Hotz's avatar George Hotz

fix test

parent 9870a442
...@@ -4,7 +4,7 @@ on: [push, pull_request] ...@@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
unit: unit:
name: MIPS EVM matches unicorn name: Challenge on block 13284469
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Code - name: Checkout Code
......
...@@ -33,4 +33,4 @@ jobs: ...@@ -33,4 +33,4 @@ jobs:
cd mipigo cd mipigo
./build.sh ./build.sh
- name: All MIPS EVM tests - name: All MIPS EVM tests
run: cd mipsevm && go test run: cd mipsevm && go test -v
...@@ -34,7 +34,7 @@ func TestCompareUnicornEvm(t *testing.T) { ...@@ -34,7 +34,7 @@ func TestCompareUnicornEvm(t *testing.T) {
evmram := make(map[uint32](uint32)) evmram := make(map[uint32](uint32))
LoadMappedFile(fn, evmram, 0) LoadMappedFile(fn, evmram, 0)
inputFile := fmt.Sprintf("/tmp/cannon/%d_%d", 0, 13284469) inputFile := fmt.Sprintf("/tmp/cannon/%d_%d/input", 0, 13284469)
LoadMappedFile(inputFile, evmram, 0x30000000) LoadMappedFile(inputFile, evmram, 0x30000000)
// init registers to 0 in evm // init registers to 0 in evm
for i := uint32(0xC0000000); i < 0xC0000000+36*4; i += 4 { for i := uint32(0xC0000000); i < 0xC0000000+36*4; i += 4 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment