rastrillo / fiesta Public

Throwaway: time the new browser tests on a runner

Not for merging. One CI step that runs the new tests with -v, to weigh them in test-weights.txt.
claude agent, operated by paul@keymail.dev d551b2662c190f27e6f579fe10ad29dff243e9f5 parent ae5272b
6 files changed, +11 −10
  • .amadan/ci.d/10-gofmt +0 −2
  • .amadan/ci.d/10-test-timings +11 −0
  • .amadan/ci.d/20-no-rastrillo +0 −2
  • .amadan/ci.d/30-size +0 −2
  • .amadan/ci.d/40-history +0 −2
  • .amadan/ci.d/50-suite@48 +0 −2

CI passed — run details

CI log
=== test-timings ===
==> check
--- PASS: TestCopyCopiesAndSaysSo (2.41s)
--- PASS: TestAClassSpelledSnippetCopies (2.40s)
--- PASS: TestASuccessThenAFailureEndsOnTheFailure (3.00s)
--- PASS: TestWritesThatSettleOutOfOrderEndOnTheLast (1.62s)
--- PASS: TestTheStatusIsALiveRegionBeforeItSpeaks (4.98s)
--- PASS: TestACopyThatFailsSelectsTheCode (0.43s)
--- PASS: TestCopyStaysHiddenWithoutAClipboard (0.19s)
--- PASS: TestCopyReadsTheTable (0.53s)
--- PASS: TestTheFooterRowSitsUnderThePage (0.36s)
--- PASS: TestTheFootersMenusWearNoFace (0.65s)
--- PASS: TestTheFootersMenusOpenOnScreen (3.30s)
--- PASS: TestAnEmptyFooterRowDrawsNothing (0.17s)
--- PASS: TestPairsPutTwoStatsOnALineOnAPhone (0.77s)
--- PASS: TestAnInlineStatusStaysOnTheNamesLine (2.25s)
--- PASS: TestASegTabButtonLooksLikeASegTabLink (1.06s)
--- PASS: TestTheSideNavIsAColumnBesideItsPanel (0.19s)
--- PASS: TestANarrowPanelPutsTheLinksInARow (0.34s)
--- PASS: TestTheSideNavLinksWorkWithNoScript (0.33s)
--- PASS: TestTheSideNavLinksAreMenuRows (0.19s)
--- PASS: TestKeyboardFocusShowsTheWholeRingInTheRow (0.28s)
--- PASS: TestASideInAFlexRowIsGivenItsWidth (0.18s)
--- PASS: TestTheSnippetHugsItsLineAndWrapsOnAPhone (0.28s)
--- PASS: TestTheSnippetWithNoScript (0.19s)
--- PASS: TestTheSnippetExampleCopies (2.39s)
ok  	amadan.net/rastrillo/fiesta/check	28.504s
==> gallery
--- PASS: TestTheColumnPreviewGrowsOnlyWhileAMenuIsOpen (7.53s)
ok  	amadan.net/rastrillo/fiesta/internal/gallery	7.570s
==> gallery-test
--- PASS: TestTheColumnDemosMenusAreInItsFooter (5.12s)
--- PASS: TestTheHeaderLiftsOnlyTheSchemeMenu (0.16s)
--- PASS: TestTheColumnPreviewRestsShorterThanItOpens (0.00s)
--- PASS: TestANounAndItsVerbAreTranslatedApart (0.01s)
ok  	amadan.net/rastrillo/fiesta/internal/gallery	5.340s
diff --git a/.amadan/ci.d/10-gofmt b/.amadan/ci.d/10-gofmt
deleted file mode 100755
index e234af5..0000000
--- a/.amadan/ci.d/10-gofmt
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec make gofmt
diff --git a/.amadan/ci.d/10-test-timings b/.amadan/ci.d/10-test-timings
new file mode 100755
index 0000000..8f471a6
--- /dev/null
+++ b/.amadan/ci.d/10-test-timings
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Throwaway: time the new browser tests on a runner, one -v run each.
+st=0
+d=$(mktemp -d)
+./hack/gotest.sh browser check -v -run '^(TestCopyCopiesAndSaysSo|TestAClassSpelledSnippetCopies|TestASuccessThenAFailureEndsOnTheFailure|TestWritesThatSettleOutOfOrderEndOnTheLast|TestTheStatusIsALiveRegionBeforeItSpeaks|TestACopyThatFailsSelectsTheCode|TestCopyStaysHiddenWithoutAClipboard|TestCopyReadsTheTable|TestTheFooterRowSitsUnderThePage|TestTheFootersMenusWearNoFace|TestTheFootersMenusOpenOnScreen|TestAnEmptyFooterRowDrawsNothing|TestPairsPutTwoStatsOnALineOnAPhone|TestAnInlineStatusStaysOnTheNamesLine|TestASegTabButtonLooksLikeASegTabLink|TestTheSideNavIsAColumnBesideItsPanel|TestANarrowPanelPutsTheLinksInARow|TestTheSideNavLinksWorkWithNoScript|TestTheSideNavLinksAreMenuRows|TestKeyboardFocusShowsTheWholeRingInTheRow|TestASideInAFlexRowIsGivenItsWidth|TestTheSnippetHugsItsLineAndWrapsOnAPhone|TestTheSnippetWithNoScript|TestTheSnippetExampleCopies)$' > "$d/check.log" 2>&1 || st=1
+./hack/gotest.sh browser internal.gallery -v -run '^TestTheColumnPreviewGrowsOnlyWhileAMenuIsOpen$' > "$d/gallery.log" 2>&1 || st=1
+./hack/gotest.sh test internal.gallery -v -run '^(TestTheColumnPreviewRestsShorterThanItOpens|TestANounAndItsVerbAreTranslatedApart|TestTheColumnDemosMenusAreInItsFooter|TestTheHeaderLiftsOnlyTheSchemeMenu)$' > "$d/gallery-test.log" 2>&1 || st=1
+for f in check gallery gallery-test; do echo "==> $f"; grep -E '^(--- |ok|FAIL|panic)' "$d/$f.log"; done
+if [ "$st" != 0 ]; then cat "$d"/*.log; fi
+rm -rf "$d"
+exit $st
diff --git a/.amadan/ci.d/20-no-rastrillo b/.amadan/ci.d/20-no-rastrillo
deleted file mode 100755
index 58315ed..0000000
--- a/.amadan/ci.d/20-no-rastrillo
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec make no-rastrillo
diff --git a/.amadan/ci.d/30-size b/.amadan/ci.d/30-size
deleted file mode 100755
index 96d84ec..0000000
--- a/.amadan/ci.d/30-size
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec make size
diff --git a/.amadan/ci.d/40-history b/.amadan/ci.d/40-history
deleted file mode 100755
index 12ec97b..0000000
--- a/.amadan/ci.d/40-history
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec make history
diff --git a/.amadan/ci.d/50-suite@48 b/.amadan/ci.d/50-suite@48
deleted file mode 100755
index da26e40..0000000
--- a/.amadan/ci.d/50-suite@48
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec make suite