mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-07 21:17:07 +09:00

This is the "intended" way of parallelism with wpt, but instead of requiring N different systems (or VMs), this does it all on one system with the power of namespaces.
15 lines
284 B
Bash
15 lines
284 B
Bash
#!/bin/bash
|
|
|
|
files=("${@}")
|
|
|
|
while true; do
|
|
out=$(
|
|
for file in "${files[@]}"; do
|
|
echo -n "$file:"
|
|
{ grep -aohE "^\s*\[[0-9]+/[0-9]+\]" "$file" || echo ' [not started yet]'; } | tail -n1
|
|
done
|
|
)
|
|
clear
|
|
echo "$out"
|
|
sleep 1
|
|
done
|