Closed GoogleCodeExporter closed 8 years ago
test/plan.txt needs to be updated.
See: http://pyglet.org/doc-current/api/tests.test.html
`pyglet/tests$ PYTHONPATH=.. python test.py clock`
result: pyglet.log:
INFO Beginning test at Wed Dec 11 13:52:28 2013
INFO Capabilities are: GENERIC, X11
INFO sys.platform = linux2
INFO pyglet.version = 1.2alpha1
INFO Reading test plan from plan.txt
INFO --- test (1/7) clock.TICK
ERROR Cannot load test for clock.TICK
Traceback (most recent call last):
File "test.py", line 265, in test
module = self.get_module(options.test_root)
File "test.py", line 243, in get_module
module = __import__(name)
ImportError: No module named TICK
INFO --- test (2/7) clock.FPS
INFO Begin unit tests for clock.FPS
INFO 5 tests run
INFO --- test (3/7) clock.FPS_LIMIT
ERROR Cannot load test for clock.FPS_LIMIT
Traceback (most recent call last):
File "test.py", line 265, in test
module = self.get_module(options.test_root)
File "test.py", line 243, in get_module
module = __import__(name)
ImportError: No module named FPS_LIMIT
INFO --- test (4/7) clock.SCHEDULE
INFO Begin unit tests for clock.SCHEDULE
INFO 3 tests run
INFO --- test (5/7) clock.SCHEDULE_INTERVAL
INFO Begin unit tests for clock.SCHEDULE_INTERVAL
INFO 1 tests run
INFO --- test (6/7) clock.SCHEDULE_ONCE
INFO Begin unit tests for clock.SCHEDULE_ONCE
INFO 1 tests run
I can do it for you if you want! pyglet testing suite is hard to get right at
first, I recommend you run the tests you're changing *before* and after, so
you're sure you're getting the right results.
Original comment by useboxnet
on 11 Dec 2013 at 1:57
I attached the patch for the plan.txt. I have run the test and it works
flawless.
Original comment by jorgecar...@gmail.com
on 11 Dec 2013 at 2:08
Attachments:
Thanks Jorge!
Original comment by useboxnet
on 11 Dec 2013 at 2:11
Original comment by useboxnet
on 11 Dec 2013 at 2:12
This issue was closed by revision 72017516a83a.
Original comment by useboxnet
on 11 Dec 2013 at 7:22
Original issue reported on code.google.com by
jorgecar...@gmail.com
on 11 Dec 2013 at 10:05Attachments: