Closed jtrmal closed 6 years ago
I bisected it down to rev b907b91521a0056540ddcc60f67ef1a52f2b0836 which is actually first revision in which the files
test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/segmentgroup-132.html
test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/segmentgroup-133.html
exist, but it still failed, so it seems the test either never worked as intended or the perl has changed something substantial (as the commit dates back to 2009), but not sure what
It’s perl. The tests passed during the Babel program.
From: jtrmal notifications@github.com Reply-To: usnistgov/SCTK reply@reply.github.com Date: Thursday, March 1, 2018 at 4:27 PM To: usnistgov/SCTK SCTK@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [usnistgov/SCTK] hubscr test failures (#5)
I bisected it down to rev b907b91https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fusnistgov%2FSCTK%2Fcommit%2Fb907b91521a0056540ddcc60f67ef1a52f2b0836&data=02%7C01%7Cjonathan.fiscus%40nist.gov%7C75236a95e27f42550a6408d57fbb2a6e%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636555364210194238&sdata=MP%2FP7lxcxA%2BU1qSdTeHD1pSJmAGELpoeaqhALPxelH4%3D&reserved=0 which is actually first revision in which the files
test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/segmentgroup-132.html
test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/segmentgroup-133.html
exist, but it still failed, so it seems the test either never worked as intended or the perl has changed something substantial (as the commit dates back to 2009), but not sure what
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fusnistgov%2FSCTK%2Fissues%2F5%23issuecomment-369736458&data=02%7C01%7Cjonathan.fiscus%40nist.gov%7C75236a95e27f42550a6408d57fbb2a6e%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636555364210194238&sdata=N1aAzUYZ6e7lOgw5XgUUgCu8nWZVI8XMcsTduUC9gFc%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJxUYQzCCam8BDIvC3p3JPHOIAl4y5ywks5taGeggaJpZM4SYxXN&data=02%7C01%7Cjonathan.fiscus%40nist.gov%7C75236a95e27f42550a6408d57fbb2a6e%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636555364210194238&sdata=Vv%2BizpiYoIYTyJ2YbRBlaGUC8TKh11BrBL6FpXLcIiw%3D&reserved=0.
I'm going to comment out the SASTT Tests for now to get a clean make check. to my knowledge, that code wasn't used after RT09 so this code isn't high priority.
I made a commit (d1e4744669e62be18cfaff97622bd0d2a4301ab5) to try to fix this. I'm concerned it may not work on another system.
Thanks Jon -- I did some more fixes, see #6 and now the test passes on two perls on MacOsX (5.18 and 5.26). EDIT: 6.26->5.26
BTW, albeit it might not look like, I didn't do these changes blindly, I just noticed some other parts of the files have different (non-alphabetic ordering), so I just traced these things down to where they were outputted.
BTW, there is also an issue with hubscr.pl (I checked it's a problem even for perl v5.20.2):
(the diff continues)
The test tries to compare the files
test1-sastt.ref/sastt-case1.sys.rttm.filt.alignments/segmentgroup-132.html
test1-sastt.ref/sastt-case1.sys.rttm.filt.alignments/segmentgroup-133.html
vstest1-sastt.test/sastt-case1.sys.rttm.filt.alignments/segmentgroup-132.html
test1-sastt.test/sastt-case1.sys.rttm.filt.alignments/segmentgroup-133.html
The html renders in browser look pixel-identical
when I sort the lines and run diff again, most of the differences disappear (132.html) or there are only a couple of draw line primitives are different (133.html) -- seems like most of the differences are only caused by a different ordering of the draw primitives or the lines are drawn in an opposite direction: