We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6697fb9 commit 61ff3a0Copy full SHA for 61ff3a0
runtime_tests/build.sh
@@ -40,6 +40,7 @@ ABS_PATH=$(abs_dirname "./$TEST_DIR")
40
41
compileRuntimeTests(){
42
local -i i=0
43
+ local file
44
for file in $@; do
45
46
# /path/to/file.ext -> /path/to/file
@@ -57,7 +58,7 @@ compileRuntimeTests(){
57
58
echo " $((100 * $i / $#))% | $test_name"
59
60
# Output the test file, which will be executed in JSDOM.
- echo "
61
+ cat > $test_loc/build/$test_name.html << EOF
62
<html>
63
<head>
64
<title>$test_name</title>
@@ -77,7 +78,8 @@ $(
77
78
)
79
</script>
80
</head>
-</html>" > $test_loc/build/$test_name.html
81
+</html>
82
+EOF
83
84
done
85
}
0 commit comments