blob: 48858b7a67bf7d5591ca16112afb186bf17df30b [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
Copyright 2022 The IREE Authors
Licensed under the Apache License v2.0 with LLVM Exceptions.
See https://llvm.org/LICENSE.txt for license information.
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-->
<head>
<meta charset="utf-8" />
<title>IREE Tests</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="./IREE_Logo_Icon_Color.svg" type="image/svg+xml">
<style>
html, body, .full-height {
height: 100%;
}
.flex-1 {
flex: 1;
}
body {
padding: 16px;
}
.monospace {
font-family: monospace;
}
.tests-list {
max-height: 100%;
overflow-y: scroll;
overflow-wrap: anywhere;
}
</style>
<!-- https://getbootstrap.com/ for some webpage styling-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
</head>
<body class="d-flex">
<div class="container-fluid full-height d-flex flex-column">
<h1>IREE Web Test Runner</h1>
<div class="row flex-1" style="overflow: hidden">
<!-- Left column: list of tests -->
<!-- TODO(scotttodd): search/filtering -->
<!-- TODO(scotttodd): tree view with "run tests in subtree" -->
<div class="col-4 bg-dark bg-opacity-10 tests-list pt-2">
<ul class="monospace" style="font-size: small;">
{{TEST_LIST}}
</ul>
</div>
<!-- Right column: individual test logs -->
<div class="col-8">
<iframe id="testRunner" name="testRunner"
style="width: 100%; height: 100%;"
class="bg-dark bg-opacity-10">
</iframe>
</div>
</div>
</body>
</html>