Open coatl opened 14 years ago
figured out this one: if I uninstall the gem first then it runs them all. Weird. -r
waitwaitwait. you uninstalled the gem, and now all the tests run? how can you run the tests if it's not installed? hmm, maybe you've got a separate, manual installation.... is that right? so installing the gem is interfering with a separate manual install? this is still not right.
yep. Not sure why. -r
I can't reproduce on ubuntu using latest sequence edge + a sequence gem separately installed + ruby 1.9. I'm guessing that the sequence gem, like most gems, places its test dir in the LOAD_PATH. and then when you run the tests, it somehow picks up the versions of test files in the gem's test directory, rather than ./test/..... not sure why this should only happen on windows.
roger, if you have time to investigate, does reinstallin the gem bring the problem back?
yep can't reproduce it now. Maybe I had an old version installed?
In reporting a separate bug, roger pack submitted the test output below. This output show far fewer tests and assertions found in the sequence test suite than should have been found. There should be 1350 tests, 162313 assertions. Those are the numbers I see when running almost the exact same version of ruby on ubuntu. (I was using 1.9.1p376 revision 26040; just one step away from roger's 26041.) I can only guess that this is somehow a windows-specific problem....
Roger, maybe you could try running under a 1.8 interpreter on the same machine?.... I'm stymied for this one without more information.
E:\dev\ruby\downloads\sequence>ruby test/test_all.rb
random seed is 181697748045864478821662018637451853
Warning:E:/installs/ruby191p376/lib/ruby/1.9.1/tmpdir.rb:14: Win32API is deprecated after Ruby 1.9.1; use dl directly instead
Loaded suite test/test_all
Started
.E.................................
1) Error: test_unnamed(GroupAnchorsExhaustive):
SyntaxError: (eval):1: premature end of char-class: /([\A[~]|^asdf(df)s)/
premature end of char-class: /(\A|[z^[~]asdf(df)s)/
premature end of char-class: /(\A|[z^[~]asdf(df)s)/
premature end of char-class: /([\A[~]|^asdf(df)s)/
E:/dev/ruby/downloads/sequence/test/test_seqrex.rb:99:in
eval' E:/dev/ruby/downloads/sequence/test/test_seqrex.rb:99:in
block in test_unnamed' E:/dev/ruby/downloads/sequence/test/test_seqrex.rb:34:in `test_unnamed'Finished in 0.15625 seconds.
35 tests, 3843 assertions, 0 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
97.1429% passed
E:\dev\ruby\downloads\sequence>ruby -v
ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-mingw32]