diff options
author | kennyballou <kballou@onyx.boisestate.edu> | 2012-12-10 11:12:00 -0700 |
---|---|---|
committer | kballou <kballou@onyx.boisestate.edu> | 2012-12-10 11:12:00 -0700 |
commit | 3dbf1013cc1ef4c2e92686a50459adede80179d7 (patch) | |
tree | d7ac2290750ac93565eb996d0764e61d2bf486b3 /xnt/tests | |
parent | 86f45dc1b973da7093a60b8f8917bd36e002d40a (diff) | |
download | xnt-3dbf1013cc1ef4c2e92686a50459adede80179d7.tar.gz xnt-3dbf1013cc1ef4c2e92686a50459adede80179d7.tar.xz |
Add initial test(s) for Xenant
Diffstat (limited to 'xnt/tests')
-rw-r--r-- | xnt/tests/xenanttests.py | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/xnt/tests/xenanttests.py b/xnt/tests/xenanttests.py new file mode 100644 index 0000000..751b56b --- /dev/null +++ b/xnt/tests/xenanttests.py @@ -0,0 +1,40 @@ + +#!/usr/bin/env python + +# Xnt -- A Wrapper Build Tool +# Copyright (C) 2012 Kenny Ballou + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +import sys +import os +import shutil +import xnt.tasks +import unittest + + +class XenantTests(unittest.TestCase): + def setUp(self): + os.mkdir("temp") + + def tearDown(self): + shutil.rmtree("temp") + + def test_version(self): + out = open("temp/testout", "w") + self.fail("not implemented") + + +if __name__ == "__main__": + unittest.main() |