diff options
author | kennyballou <kballou@onyx.boisestate.edu> | 2013-04-04 13:37:20 -0600 |
---|---|---|
committer | kennyballou <kballou@onyx.boisestate.edu> | 2013-04-04 13:37:20 -0600 |
commit | 03544a5cea66d0258456cfe07cd6772a191818b2 (patch) | |
tree | ed5301e683bf9055dc5704c6efc08de18c439323 | |
parent | 0c701766e66912f57374e077f863019ccd645c6f (diff) | |
download | xnt-03544a5cea66d0258456cfe07cd6772a191818b2.tar.gz xnt-03544a5cea66d0258456cfe07cd6772a191818b2.tar.xz |
Fix NAnt tests
NAnt build file was malformed and not named correctly
-rw-r--r-- | xnt/tests/maketests.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xnt/tests/maketests.py b/xnt/tests/maketests.py index 6d0b8a8..abf458b 100644 --- a/xnt/tests/maketests.py +++ b/xnt/tests/maketests.py @@ -102,11 +102,14 @@ class NAntTests(unittest.TestCase): def setUp(self): """Test Setup""" xnt.tests.set_up() - with open("temp/default.config", "w") as default_build: + with open("temp/default.build", "w") as default_build: default_build.write("<?xml version=\"1.0\"?>\n") - default_build.write("<probject name=\"test\">\n") + default_build.write("<project name=\"test\">\n") default_build.write("<target name=\"test\">\n") + default_build.write("<if \n") + default_build.write("test=\"${property::exists('test_var')}\">\n") default_build.write("<echo>${test_var}</echo>\n") + default_build.write("</if>\n") default_build.write("</target>\n") default_build.write("</project>") |