Mercurial > lcfOS
diff test/testzcc.py @ 313:04cf4d26a3bc
Added constant function
author | Windel Bouwman |
---|---|
date | Wed, 18 Dec 2013 18:02:26 +0100 |
parents | 2c9768114877 |
children | 084cccaa5deb |
line wrap: on
line diff
--- a/test/testzcc.py Mon Dec 16 17:58:15 2013 +0100 +++ b/test/testzcc.py Wed Dec 18 18:02:26 2013 +0100 @@ -37,16 +37,16 @@ def testKernel(self): # Build kernel using zcc: kerneldir = os.path.normpath(os.path.join('..', 'kernel')) - sys.path.insert(0, kerneldir) + sys.path.insert(0, kerneldir) from make import make_kernel os.chdir(kerneldir) make_kernel() sys.path.pop(-1) - + def testUser(self): # Build userspace using zcc: userdir = os.path.normpath(os.path.join('..', 'user')) - sys.path.insert(0, userdir) + sys.path.insert(0, userdir) from makeuser import make_user os.chdir(userdir) make_user() @@ -80,4 +80,4 @@ if __name__ == '__main__': - unittest.main() \ No newline at end of file + unittest.main()