Skip to content

Commit

Permalink
A few vs2010 fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Dec 28, 2015
1 parent ec0a73b commit c62b7e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vs2010backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def generate(self, interp):
self.interpreter = interp
self.platform = 'Win32'
self.buildtype = self.environment.coredata.get_builtin_option('buildtype')
self.generate_pkgconfig_files()
sln_filename = os.path.join(self.environment.get_build_dir(), self.build.project_name + '.sln')
projlist = self.generate_projects()
self.gen_testproj('RUN_TESTS', os.path.join(self.environment.get_build_dir(), 'RUN_TESTS.vcxproj'))
Expand Down Expand Up @@ -634,7 +633,7 @@ def gen_testproj(self, target_name, ofname):
tree = ET.ElementTree(root)
tree.write(ofname, encoding='utf-8', xml_declaration=True)
datafile = open(test_data, 'wb')
self.write_test_file(datafile)
self.serialise_tests()
datafile.close()
# ElementTree can not do prettyprinting so do it manually
#doc = xml.dom.minidom.parse(ofname)
Expand Down

0 comments on commit c62b7e1

Please sign in to comment.