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 5f0dbf0 commit 26b4f4aCopy full SHA for 26b4f4a
rust/05_sandbox/tests/1tmp/as_root/monitor
@@ -5,6 +5,7 @@
5
source "/swcode/swcode.bash"
6
7
rerunasroot "$@"
8
+while true; do
9
10
libtests=0
11
while test "$libtests" -ne "6"; do
@@ -16,3 +17,12 @@ echo
16
17
18
chmod o+rx,g+rx /var/tmp/portage/dev-lang/rust-1.75.0-r1{,/work}
19
pkill --echo -u portage -- 'rustc'
20
+
21
+echo "Waiting for next recompilation...C-c if not."
22
+while test "$libtests" -eq "6"; do
23
+ libtests="$(find /var/tmp/portage/dev-lang/rust-1.75.0-r1/work/rustc-1.75.0-src/build/ -iname \*libtest\* 2>/dev/null |grep stage1|wc -l)"
24
+ sleep 5
25
+ echo -n "$libtests"
26
+done
27
28
0 commit comments