run test by LLVM's lit

This commit is contained in:
Laszlo Nagy
2016-04-28 22:46:32 +10:00
parent 930dc3e964
commit c0bb4be2f1
72 changed files with 700 additions and 794 deletions

View File

@@ -3,6 +3,8 @@
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# RUN: %{python} %s
import libear as sut
import unittest
@@ -28,3 +30,7 @@ class TemporaryDirectoryTest(unittest.TestCase):
except:
self.assertIsNotNone(dir_name)
self.assertFalse(os.path.exists(dir_name))
if __name__ == '__main__':
unittest.main()