orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
40 stars 3 forks source link

Incorrect test cases in OrcTest and OrcExamples #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Procedure to Repeat:
Run any of the listed test cases. Some have to be run repeatedly to produce the 
failure.

OrcTests/test_data/functional_valid/Orc27.orc
OrcExamples/arithmetic/random-boolean.orc

Expected / Actual Results:
The test cases should consistantly pass. However these tests (as written) do 
not and should not always produce their expected output. 

For instance in random-boolean.orc, if x is stop and y is false then NO result 
will be produced. You could argue that the program should produce false but as 
written it does not.

Orc27.orc is even harder to tell what it is supposed to do. I think that one 
should probably just be deleted.

Version and Platform:
r3156

Original issue reported on code.google.com by arthur.peters on 18 Jan 2013 at 3:52

GoogleCodeExporter commented 9 years ago
Orc27 is supposed to test the interaction between Rtime and Vtime, but it's not 
correct in r3156.

Original comment by jthywissen on 20 Jan 2013 at 4:08

GoogleCodeExporter commented 9 years ago
random-boolean.orc is of no use in our test suite, so I've removed the OUTPUT 
comment block.

Original comment by jthywissen on 20 Jan 2013 at 5:58

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3162.

Original comment by jthywissen on 20 Jan 2013 at 5:58