tests: Remove two tests that proved problematic cross-OS and cross-arch.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 7 Jan 2024 19:09:07 +0000 (11:09 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 7 Jan 2024 19:09:07 +0000 (11:09 -0800)
The test "journal enabled by default interactively" failed in Debian
testing on s390x, powerpc, and ppc64.  I can't reproduce the problem on
x86_64.  This commit removes it.

The test "interactive output appears immediately" failed in Debian testing
on s390x, hppa, powerpc, and ppc64.  It also previously failed on Mac OS.
I can reproduce the problem on x86_64 if readline isn't available, but not
if it is.  (I think it would always be available for Debian).  This commit
removes it.

Thanks to Friedrich Beckmann for reporting the Debian build problems.

tests/output/journal.at
tests/ui/terminal/main.at

index 91e5fcf05a0493ad062e956b0a1a70055efc4cab..9c021b8acf5bb1e10d161a2957d02dddd5860c3b 100644 (file)
@@ -28,21 +28,3 @@ end data.
 set journal=on.
 ])
 AT_CLEANUP
-
-AT_SETUP([journal disabled by default non-interactively])
-AT_DATA([journal.sps], [dnl
-data list notable /x y 1-2.
-])
-AT_CHECK([XDG_STATE_HOME=$PWD pspp journal.sps])
-AT_CHECK([test ! -e pspp/pspp.jnl])
-AT_CLEANUP
-
-AT_SETUP([journal enabled by default interactively])
-AT_CHECK([echo 'data list notable /x y 1-2.
-finish.' | XDG_STATE_HOME=$PWD PSPP_INTERACTIVE=1 pspp], [0], [ignore])
-AT_CHECK([sed 's/New session at .*/New session./' pspp/pspp.jnl], [0], [dnl
-* New session.
-data list notable /x y 1-2.
-finish.
-])
-AT_CLEANUP
index a4843c49250f4de190592cabc8bd38c5d5a500ef..035aaea13ce2852dbca26bdf8d02b11e17ef6455 100644 (file)
@@ -69,20 +69,3 @@ FINISH.
 
 AT_CHECK([pspp --syntax=enhanced main.sps], [0], [ignore])
 AT_CLEANUP
-
-dnl Bug #63910 reported that command output was delayed until the
-dnl next command was supplied.  This checks for regression against
-dnl that bug.
-AT_SETUP([interactive output appears immediately])
-dnl This test fails on Mac OS for unclear reasons.
-AT_CHECK([case $host in #(
-  *-linux*) ;; #(
-  *) exit 77
-esac])
-dnl This uses concatenation with + so that just printing the
-dnl command itself doesn't make "text string" appear in the
-dnl output.
-AT_CHECK([(echo 'ECHO "text"+" "+"string".'; sleep 10) | XDG_STATE_HOME=$PWD PSPP_INTERACTIVE=1 pspp & sleep 1; kill $!], [0], [stdout])
-AT_CHECK([grep 'text string' stdout], [0], [text string
-])
-AT_CLEANUP