rzel / kahlua

Automatically exported from code.google.com/p/kahlua
0 stars 0 forks source link

test report isn #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

ant run-test

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by matej...@gmail.com on 11 Feb 2009 at 6:34

GoogleCodeExporter commented 8 years ago
ummm.... lemme start again.
"test report isn't produced correctly"

What steps will reproduce the problem?

ant run-test

What is the expected output? What do you see instead?

     [java] Running /home/matejcik/gps/kahlua/testsuite/bin/lua/metatable_call.lbc...
     [java] Running /home/matejcik/gps/kahlua/testsuite/bin/lua/index.lbc...
     [java] Generating report...
     [java] /home/matejcik/gps/kahlua/testsuite
     [java] Exception in thread "main" java.io.FileNotFoundException:
testsuite/testreport.html (No such file or directory)
     [java]     at java.io.FileOutputStream.open(Native Method)
     [java]     at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
     [java]     at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
     [java]     at java.io.FileWriter.<init>(FileWriter.java:46)
     [java]     at Test.main(Test.java:127)
     [java] Java Result: 1

What version of the product are you using? On what operating system?

rev.182, linux

Please provide any additional information below.

it appears that the code from Test.java runs in testsuite/ subdirectory. i don't
understand ant well enough to say that it's always like that, but for me, 
removing
the "testsuite/" from path in Test.java:127 fixed it.

Original comment by matej...@gmail.com on 11 Feb 2009 at 6:37

GoogleCodeExporter commented 8 years ago
Verified.
I will commit a fix to the repository later today.

Original comment by kristofer.karlsson@gmail.com on 12 Feb 2009 at 9:08

GoogleCodeExporter commented 8 years ago

Original comment by kristofer.karlsson@gmail.com on 12 Feb 2009 at 10:28