Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Jul 22, 2024
1 parent 0415e70 commit f34269a
Show file tree
Hide file tree
Showing 39 changed files with 245,422 additions and 117 deletions.
7,340 changes: 7,340 additions & 0 deletions v07/history/history.json

Large diffs are not rendered by default.

7,340 changes: 7,340 additions & 0 deletions v07/history/script-history.js

Large diffs are not rendered by default.

895 changes: 895 additions & 0 deletions v07/runs/20240722/011645/aabundler.json

Large diffs are not rendered by default.

2,383 changes: 2,383 additions & 0 deletions v07/runs/20240722/011645/aabundler.log

Large diffs are not rendered by default.

780 changes: 780 additions & 0 deletions v07/runs/20240722/011645/aabundler.txt

Large diffs are not rendered by default.

318 changes: 318 additions & 0 deletions v07/runs/20240722/011645/aabundler.xml

Large diffs are not rendered by default.

925 changes: 925 additions & 0 deletions v07/runs/20240722/011645/alto.json

Large diffs are not rendered by default.

142,387 changes: 142,387 additions & 0 deletions v07/runs/20240722/011645/alto.log

Large diffs are not rendered by default.

849 changes: 849 additions & 0 deletions v07/runs/20240722/011645/alto.txt

Large diffs are not rendered by default.

394 changes: 394 additions & 0 deletions v07/runs/20240722/011645/alto.xml

Large diffs are not rendered by default.

123 changes: 123 additions & 0 deletions v07/runs/20240722/011645/html/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<head>
<style>
#results {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
/*width: 100%;*/
}

#results td, #results th {
border: 1px solid #ddd;
padding: 8px;
}

#results tr:nth-child(even){background-color: #f2f2f2;}

#results tr:hover {background-color: #ddd;}

#results th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #04AA6D;
color: white;
}
</style>
</head>

<h1>EIP-4337 Bundlers Spec Test Results</h1>
<div id=output >
</div>

<p>

This page was generated by <a href="https://github.com/eth-infinitism/bundler-test-results">bundler-test-results</a>


<script>

okmark = '&#9989;'
errmark = '&#10060;'
const dir = './out/'
async function getList() {
list = await fetch(dir+'index.txt').then(r=>r.text())
return list.split('\n').filter(line=>line.endsWith('json')).map(line=>dir+line)
}

async function getJson(path) {
return await fetch(path).then(r=>r.json())
}

function mapTests(testcases) {
return testcases.map(t=>({
name: t['@name'],
classname: t['@classname'],
time: t['@time'],
skipped: t['skipped'],
error: t['error'],
failure: t['failure'],
}))
}

async function load() {
list = await getList()
out=[]
for ( fname of list ) {
const j = await getJson(fname)
test = j.testsuites.testsuite
res = {
name: test['@name'],
fname, //: fname.replace(/.*\/(.*.json)$/,'$1'),
skipped: test['@skipped'],
failures: test['@failures'],
errors: test['@errors'],
time: test['@time'],
tests: mapTests(test.testcase)
}
console.log('res=',JSON.stringify(res,null,2))
out.push(res)
}

return out
}

function ref(data,link) {
if ( !link) return data
return `<a href="${link}">${data}</a>`
}

function tr(...data) {
return `<tr>${data.join(' ')}</tr>`
}

function th(data) {
// return td(data)
return `<th>${data}</th>`
}

function td(data,link) {
return `<td>${ref(data,link)}</td>`
}

async function init() {
data = await load()
console.log(data)
rows = document.querySelector('#output')

rows.innerHTML = '<table id="results"><tbody>\n' +
tr(th('Name'),th('Total'),th('Errors'),th('Failures'),th('Skipped'),th('Time')) +
data.map(line=>{
const {name, fname, skipped, errors,failures, time, tests} = line
link = fname.replace('json', 'txt')
ok = failures== '0' && errors == '0'
return tr(td(name, link),td(tests.length),td(errors),td(failures),td(skipped),td(time))
}).join('\n')
'</tbody></table>'

console.log(rows.innerHTML)

}
init()

</script>

34 changes: 34 additions & 0 deletions v07/runs/20240722/011645/index.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
aabundler.json
aabundler.log
aabundler.txt
aabundler.xml
alto.json
alto.log
alto.txt
alto.xml
html/
index.txt
okbund.json
okbund.log
okbund.txt
okbund.xml
rundler.json
rundler.log
rundler.txt
rundler.xml
silius.json
silius.log
silius.txt
silius.xml
skandha.json
skandha.log
skandha.txt
skandha.xml
transeptor.json
transeptor.log
transeptor.txt
transeptor.xml
voltaire.json
voltaire.log
voltaire.txt
voltaire.xml
901 changes: 901 additions & 0 deletions v07/runs/20240722/011645/okbund.json

Large diffs are not rendered by default.

21,048 changes: 21,048 additions & 0 deletions v07/runs/20240722/011645/okbund.log

Large diffs are not rendered by default.

910 changes: 910 additions & 0 deletions v07/runs/20240722/011645/okbund.txt

Large diffs are not rendered by default.

391 changes: 391 additions & 0 deletions v07/runs/20240722/011645/okbund.xml

Large diffs are not rendered by default.

985 changes: 985 additions & 0 deletions v07/runs/20240722/011645/rundler.json

Large diffs are not rendered by default.

998 changes: 998 additions & 0 deletions v07/runs/20240722/011645/rundler.log

Large diffs are not rendered by default.

Loading

0 comments on commit f34269a

Please sign in to comment.