1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/test/ecmascript/assert/meson.build

92 lines
2.8 KiB
Meson
Raw Normal View History

2024-06-02 04:13:35 -04:00
tofail = [
'console.assert.html',
'document.getElementsByClassName.html',
'document.getElementsByName.html',
'document.head.html',
'element.namedItem.html'
]
took = [
'customEvent.html',
'doctype.publicId.html',
'doctype.systemId.html',
'document.anchors.html',
'document.baseURI.html',
'document.body.childNodes.html',
'document.body.children.html',
'document.body.id.html',
'document.characterSet.html',
'document.doctype.html',
'document.documentElement.html',
'document.documentURI.html',
'document.domain.html',
'document.getElementsByTagName.html',
'document.images.html',
'document.links.html',
'document.querySelectorAll.html',
'document.querySelector.html',
'element.appendChild.html',
'element.attributes.html',
'element.checked.html',
'element.childElementCount.html',
'element.className.html',
'element.cloneNode.html',
'element.closest.html',
'element.contains.html',
'element.dir.html',
'element.eventListener.html',
'element.firstChild.html',
'element.firstElementChild.html',
'element.getAttribute.html',
'element.getAttributeNode.html',
'element.getElementsByTagName.html',
'element.hasAttribute.html',
'element.hasAttributes.html',
'element.hasChildNodes.html',
'element.id.html',
'element.innerHTML.html',
'element.insertBefore.html',
'element.isEqualNode.html',
'element.isSameNode.html',
'element.lang.html',
'element.lastChild.html',
'element.lastElementChild.html',
'element.matches.html',
'element.nextElementSibling.html',
'element.nextSibling.html',
'element.nodeName.html',
'element.nodeType.html',
'element.nodeValue.html',
'element.outerHTML.html',
'element.parentElement.html',
'element.parentNode.html',
'element.previousElementSibling.html',
'element.previousSibling.html',
'element.querySelectorAll.html',
'element.querySelector.html',
'element.setAttribute.html',
'event.html',
'eventListener.html',
'keyboardEvent.html',
'navigator.appCodeName.html',
'nodelist.forEach.html',
'URL.html']
if conf_data.get('CONFIG_ECMASCRIPT')
foreach t: tofail
test(t, elinks, protocol: 'exitcode', is_parallel: true, timeout: 5, should_fail: true, verbose: false, workdir: '/home/witekfl/GIT/elinks/test/ecmascript/assert/',
args: ['--test', '1', '--eval', 'set ecmascript.enable = 1',
'--eval', 'set ecmascript.enable_console_log = 1',
'--eval', 'set ui.sessions.fork_on_start = 0',
'--no-connect', '1',
t])
endforeach
foreach t : took
test(t, elinks, protocol: 'exitcode', is_parallel: true, timeout: 5, should_fail: false, verbose: false, workdir: meson.source_root()+'/test/ecmascript/assert',
args: ['--test', '1', '--eval', 'set ecmascript.enable = 1',
'--eval', 'set ecmascript.enable_console_log = 1',
'--eval', 'set ui.sessions.fork_on_start = 0',
'--no-connect', '1',
t])
endforeach
endif