Revision: 1337 Author: [email protected] Date: Sun Sep 20 15:28:01 2009 Log: undo commit of jallib.py and 16f877a_seven_segment.jal http://code.google.com/p/jallib/source/detail?r=1337
Modified: /trunk/sample/16f877a_seven_segment.jal /trunk/tools/jallib.py ======================================= --- /trunk/sample/16f877a_seven_segment.jal Sun Sep 20 15:19:39 2009 +++ /trunk/sample/16f877a_seven_segment.jal Sun Sep 20 15:28:01 2009 @@ -10,7 +10,7 @@ -- This file is part of jallib (http://jallib.googlecode.com) -- Released under the BSD license (http://www.opensource.org/licenses/bsd-license.php) -- --- Description: Testing lcd_backlight +-- Description: Testing seven segment LED display -- -- -- This file defines a test for JALLIB testing, using a test-board -- defined by a BOARD file . @@ -24,7 +24,7 @@ -- -- This file has been generated from: -- * board: board_16f877a_dwarf.jal --- * test : test_seven_segment.jal +-- * test : test_jseven.jal -- ;@jallib section chipdef ======================================= --- /trunk/tools/jallib.py Sun Sep 20 15:19:39 2009 +++ /trunk/tools/jallib.py Sun Sep 20 15:28:01 2009 @@ -775,6 +775,7 @@ from picshell.parser.AnnotationParser import AnnotationParser from picshell.engine.core.PicThreadEngine import PicThreadEngine from picshell.engine.core.PicEngine import PicEngine + from picshell.engine.core.State import State from picshell.util.AssertUtil import AssertUtil from picshell.ui.UIManager import UIManager @@ -815,7 +816,7 @@ oracle['notrun'] += 1 print "Can't run test '%s' because var '%s' can't be found" % (label,var) - emu = PicEngine.newInstance("16f877a",hexFileName) + emu = PicEngine.newInstance(State(),hexFileName) # needed to access varValue function ui = UIManager() ui.emu = emu @@ -859,18 +860,14 @@ oracle = picshell_unittest(jal,asm,hex) else: oracle['failure'] = 1 - - fout.close() - ferr.close() - + finally: clean_compiler_products(filename) - if verbose: print file(fnout).read() print file(fnerr).read() - #os.unlink(fnout) - #os.unlink(fnerr) + os.unlink(fnout) + os.unlink(fnerr) return oracle --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
