Closed
Description
i haven't been able to update for some time (5.0.1 was our last update!) because the tests fail in a weird way without much useful information. i've included the current failures for 6.2.2 below, for example.
my guess is that this is something to do with Android using mksh as its /bin/sh. the interleaved output makes it appear like there might be some disagreement about job handling between bash and mksh?
are the current bc tests known to work on shells other than bash (and in particular mksh)? any ideas where i should look (or some kind of parallelism i can just disable)?
~/aosp-master-with-phones/external/bc$ ./run-bc-tests-on-android.sh
tests/: 413 files pushed, 0 skipped. 0.8 MB/s (1191155 bytes in 1.372s)
scripts/functions.sh: 1 file pushed, 0 skipped. 75.4 MB/s (12065 bytes in 0.000s)
***********************************************************************
Running bc tests...
Skipping bc lib2
Skipping bc shift
Skipping bc trunc
Skipping bc places
Skipping bc print test
SkRunning bc decimal...Running bc print2...ipping bc parse test
Running bc scale...Skipping bc scientific
Running bc length...Running bc sqrt...Running bc modulus...RuRunning bc add...nning bc divide...Running bc subtract...Skipping bc engineering
Running bc multiply...Running bc power...Running bc abs...Running bc functions...pass
Running bc boolean...Running bc comp...Running bc assignments...Running bc vars...pass
Skipping bc rand
pass
SRunning bc globals...kipping bc bitfuncs
pass
Running bc strings...pass
Running bc cosine...pass
Skipping bc strings2 test
Skipping bc bessel test
pass
Running bc sine...Running bc misc2...RRunning bc exponent...pRunning bc log...Running bc misc8...Running bc misc...Running bc misc4...Running bc pi...upass
Skipping bc leadingzero
nning bc misc1...ppasRunning bc arrays...asss
ass
Running bc arctangent...Running bc misc6...Running bc modexp...Running bc void...Running bc misc3...Running bc letters...pass
pass
pRunning bc misc7...ass
pass
pass
Running bc divmod...Running bc recursive_arrays...Running bc misc5...pass
pass
pass
pass
pass
pass
pass
ppass
ass
Running bc is_number...pass
pass
pass
pass
Running bc asciify_array...Running bc line_loop_quit1...pass
ppass
pass
pass
pass
pass
ass
Running bc is_string...Running bc line_by_line1...Running bc line_by_line2...Running bc line_loop_quit2...Running bc command-line error tests...Running bc stdin tests...pass
Running bc error file 01.txt with clamping...pass
pass
pass
Running bc read...Running bc error file 02.txt with clamping...Running bc error file 03.txt with clamping...pass
pass
pass
pass
pass
pass
pass
pass
Running bc error file 01.txt without clamping...Running bc error file 04.txt with clamping...ppass
Skipping bc script multiply.bc
pass
ass
Running bc error file 02.txt without clamping...pass
Running bc error file 05.txt with clamping...Skipping bc script divide.bc
Running bc error file 03.txt without clamping...Skipping bc script subtract.bc
pass
Running bc errors...Running bc read errors...pass
Skipping bc script add.bc
Running bc error file 06.txt with clamping...Running bc error file 04.txt without clamping...pRunning bc error file 07.txt with clamping...ass
Running bc error file 01.txt through cat with clamping...pass
Running bc error file 08.txt with clamping...pass
Skipping bc script print.bc
Running bc error file 02.txt through cat with clamping...Running bc error file 03.txt through cat with clamping...pass
pass
pass
Running bc error file 05.txt without clamping...pass
pass
Running bc error file 09.txt with clamping...pass
Running bc error file 07.txt without clamping...pass
Skipping bc script parse.bc
RunRunning bc error file 04.txt through cat wnith clamping...ing bc error file 06.txt without clamping...pass
Running bc error file 10.txt with clamping...RRunning bc empty read...Running bc error file 01.txt through cat without clamping...unning bc script array.bc...RRunning bc error file 03.txt through cat without clamping...pass
paRunning bc error file 08.txt without clamping...Running bc error file 11.txt with clamping...pss
unning bc script array2.bc...ass
pass
pass
Running bc error file 02.txt through cat without clamping...pass
pass
Running bc script atan.bc...Running bc error file 09.txt without clamping...Running bc error file 05.txt through cat with clamping...pass
pass
Running bc error file 10.txt without clamping...Running bc error file 06.txt through cat with clamping...Running bc error file 12.txt with clamping...RunRunning bc error file 04.txt through cat without clamping...pass
Skipping bc script bessel.bc
pass
ning bc error file 07.txt through cat with clamping...Running bc script functions.bc...pass
Running bc error file 11.txt without clamping...Running bc error file 13.txt with clamping...pass
pass
Running bc error file 08.txt through cat with clamping...pass
pass
Running bc error file 14.txt with clamping...pass
Running bc read EOF...pass
Running bc error file 09.txt through cat with clamping...pass
pass
pass
Running bc error file 05.txt through cat without clamping...pass
pRunning bc script globals.bc...pass
ass
Running bc error file 15.txt with clamping...Skipping bc script: rand.bc
RRunning Rbc error ufninlien g10.txt through cbca ts cwriitpht len.bc...clamping...pass
unning bc error file 07.txt through cat without clamping...pass
RRunning bc error file 06.txt through cat without clamping...pass
Running bc error file 11.txt through cat with clamping...unning bc error file 12.txt without clamping...pass
Running bc error file 08.txt through cat without clamping...pass
Running bc error file 16.txt with clamping...pass
Running bc error file 14.txt without clamping...pass
Running bc error file 13.txt without clamping...pass
Running bc script references.bc...Running bc error file 17.txt with clamping...Running bc error file 09.txt through cat without clamping...pass
pass
pass
pass
pass
pass
RuRunning bc error file 15.txt without clamping...nning bc error file 18.txt with clamping...Running bc script screen.bc...pass
Rpass
papass
unning bc error file 12.txt through cat with clamping...ss
Running bc error file 11.txt through cat without clamping...Rpass
unning bc error file 10.txt through cat without clamping...Running bc error file 19.txt with clamping...Skipping bc script strings2.bc
pass
Running bc error file 13.txt through cat with clamping...pass
Running bc error file 16.txt without clamping...pass
Running bc error file 14.txt through cat with clamping...Running bc error file 20.txt with clamping...pass
Running bc error file 17.txt without clamping...pass
pass
Running bc error file 21.txt with clamping...paspass
Running bc script ifs.bc...s
Running bc error file 18.txt without clamping...pass
Running bc error file 15.txt through cat with clamping...pass
Running bc script ifs2.bc...Rpass
pass
Running bc error file 12.txt through cat without clamping...pass
unning bc error file 19.txt without clamping...Running bc erpass
ror file 22.txt with clamping...Running bc error file 13.txt through cat without clamping...Rpass
pRunning bc error file 20.txt without clamping...pass
ass
RuRRuunning bc error file 14.txt through cat without clamping...nnning bc script afl1.bc...unning bc error file 23.txt with clning bcamp einrrg..or. file 16.txt through cat with clamping...pass
pass
Running bc error file 17.txt through cat with clamping...Running bc error filepass
pass
pass
RunniRunning bc error file 15.txt through cat without clamping... 21.txtng bc error file 24.txt with clamping... without clamping...Running bc error file 18.txt through cat with clamping...pass
pass
pass
pass
pass
Running bc error file 25.txt with clamping...pass
Running bc error file 22.txt without clamping...Running bc error file 19.txt through cat with clamping...pass
Running bc error file 16.txt through cat without clamping...Running bc error file 23.txt without clamping...pass
pass
pass
Running bc error file 20.txt through cat with clamping...pass
Running bc error file 26.txt with clamping...Running bc error file 17.txt through cat without clamping...Running bc error file 24.txt without clamping...Running bc error file 27.txt with clamping...pass
Running bc error file 18.txt through cat without clamping...pass
pass
pass
Running bc error file 21.txt through cat with clamping...pass
Running bc error file 19.txt through cat without clamping...pass
Running bc error file 22.txt through cat with clamping...pass
Running bc error file 25.txt without clamping...Running bc error file 28.txt with clamping...pass
pass
pass
pass
pass
Running bc error file 23.txt through cat with clamping...Running bc error file 20.txt through cat without clamping...RuRunning bc error file 29.txt with clamping...Running bc error file 24.txt through cat with clamping...pass
nning bc error file 26.txt without clamping...pass
Running bc error file 27.txt without clamping...pass
pass
pass
pass
Running bc error file 22.txt through cat without clamping...Running bc error file 30.txt with clamping...Running bc error file 21.txt through cat without clamping...Running bc error file 31.txt with clamping...pass
pass
Running bc error file 25.txt through cat with clamping...Running bc error file 28.txt without clamping...pass
Running bc error file 23.txt through cat without clamping...pass
Running bc error file 27.txt through cat with clamping...pass
Running bc error file 32.txt with clamping...Running bc error file 24.txt through cat without clamping...Skipping problematic bc error file 33.txt...
Running bc error file 26.txt through cat with clamping...pass
pass
pass
pass
paRunning bc error file 29.txt withss
pout clamping...ass
pass
RuRupass
A test failed!
Running bc error file 25.txt through cat without clamping...Running bc error file 30.txt without clamping...passnning bc error file 28.txt through nning bc error file 31.txt without clamping...
cat with clamping...pass
Running bc error file 27.txt through cat without clamping...pass
pass
A test failed!
Running bc error file 34.txt with clamping...Running bc error file 32.txt without clamping...pass
pass
A test failed!
Running bc error file 26.txt through cat without clampiRunning bc error file 29.txt through cat with clamping...pass
ng...pRunning bc error file 35.txt with clamping...pass
Running bc error file 31.txt through cat with clamping...A Running bc error file 36.txt with clamping...pass
Running bc error file 30.txt through cat with clamping...
Running bc quit test...test failed!
ass
pass
A test failed!
pass
Running bc error file 32.txt through cat with clamping...Running bc error file 28.txt through cat without clamping...Running bc error file 34.txt without clamping...pass
pass
pass
pass
RA pass
test failed!
unning bc error file 29.txt through cat without clamping...Running bcpass
error file 35.txt without clamping...Running bc error file 30.txt through cat without clamping...pass
Running bc error file 31.txt through cat without clamping...Running bc error file 36.txt without clamping...A pass
test failed!
pass
Running bc error file 34.txt through cat with clamping...pA Running bc error file 32.txt through cat without clamping...ass
test failed!
pass
pass
pass
pass
A test failed!
RuRunning bc error file 35.txt through cat with clamping...nning bc error file 36.txt through cat with clamping...Rupass
nning bc environment var tests...pass
A test failed!
Running bc error file 34.txt through cat without clamping...A pass
test failed!
pass
Running bc error file 36.txt through cat without clamping...A test failed!pass
Running bc error file 35.txt through cat witpass
hout clamping...Running keyword redefinition test...paA test failed!
ss
pass
A test failed!
A test failed!
A test failed!
A test failed!
A test failed!
pass
A test failed!
Running multiline comment expression file test...A test failed!
A test failed!
A test failed!
A test failed!
pass
A test failed!
A test failed!
A Rtest ufnaniilnegd !m
ultiline comment expression file error test...A test failed!
A test failed!
A test failed!
pass
A test failed!
A test failed!
Running multiline string expression file test...A test failed!
A test failed!
A test failed!
A test failed!
pass
Running multiline string expression file error test...A test failed!
A test failed!
pass
A test failed!
Running bc line length tests...A test failed!
A test failed!
A test failed!
A test failed!
A test failed!
A test failed!
A test failed!
A test failed!
A test failed!
A test failed!
A test failed!
A test failed!
pass
A test failed!
A test failed!
Running bc arg tests...pass
Running bc builtin variable arg tests...pass
Running bc directory test...pass
Running bc binary file test...pass
Running bc binary stdin test...pass
Running bc limits tests...pass
pass
Running bc posix_errors...pass
~/aosp-master-with-phones/external/bc$
Metadata
Assignees
Labels
No labels