X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Fexamine.at;h=bea69dd354d06303f7a71c2f25cbf0f001bb4580;hb=8aeca500d0376ad23e96d51ac06914b8062d8cfd;hp=f22a4f5ce4d59c27df83446653397d9a018c98b7;hpb=86c89b19d9ef3f4e4a4b2d6ec531bc650d9ee60d;p=pspp diff --git a/tests/language/stats/examine.at b/tests/language/stats/examine.at index f22a4f5ce4..bea69dd354 100644 --- a/tests/language/stats/examine.at +++ b/tests/language/stats/examine.at @@ -678,11 +678,10 @@ dnl Another test that big input doesn't crash. dnl The actual bug that this checks for has been lost. AT_SETUP([EXAMINE -- big input doesn't crash 2]) AT_KEYWORDS([categorical categoricals slow]) -AT_DATA([make-big-input.pl], - [for ($i=0; $i<100000; $i++) { print "AB12\n" }; - for ($i=0; $i<100000; $i++) { print "AB04\n" }; -]) -AT_CHECK([$PERL make-big-input.pl > large.txt]) +AT_CHECK([$PYTHON3 -c ' +for i in range(100000): print("AB12") +for i in range(100000): print("AB04") +' > large.txt]) AT_DATA([examine.sps], [dnl DATA LIST FILE='large.txt' /S 1-2 (A) X 3 . @@ -694,10 +693,7 @@ EXAMINE /A BY X. ]) AT_CHECK([pspp -o pspp.csv examine.sps]) dnl Ignore output -- this is just a no-crash check. -AT_DATA([more-big-input.pl], - [for ($i=0; $i<25000; $i++) { print "AB04\nAB12\n" }; -]) -AT_CHECK([$PERL more-big-input.pl >> large.txt]) +AT_CHECK([$PYTHON3 -c 'for i in range(25000): print("AB04\nAB12")' >> large.txt]) AT_CHECK([pspp -o pspp.csv examine.sps]) dnl Ignore output -- this is just a no-crash check. AT_CLEANUP @@ -726,6 +722,7 @@ begin data. 300 threehundred end data. +set small=0. examine x /statistics = extreme /id = y @@ -860,9 +857,7 @@ x,.,4,100.0%,0,.0%,4,100.0% ,2,9,100.0%,0,.0%,9,100.0% ,9[a],4,100.0%,0,.0%,4,100.0% ,99[a],5,100.0%,0,.0%,5,100.0% - -Footnotes: -a,User-missing value. +Footnote: a. User-missing value. Table: Extreme Values ,g,,,Case Number,Value @@ -916,9 +911,7 @@ x,.,Highest,1,31,4004 ,,,3,25,701 ,,,4,26,801 ,,,5,27,901 - -Footnotes: -a,User-missing value. +Footnote: a. User-missing value. ]]) AT_CLEANUP