# HG changeset patch # User Christian Haeubl # Date 1366638969 -7200 # Node ID ec607ddaa99b0f917ce8150e1670010a3b6252bb # Parent 8a339b567533881bf302eba2eb61758cc6cf3d42 windows-specific mx fix for executing unit tests selectively diff -r 8a339b567533 -r ec607ddaa99b mx/commands.py --- a/mx/commands.py Mon Apr 22 15:35:28 2013 +0200 +++ b/mx/commands.py Mon Apr 22 15:56:09 2013 +0200 @@ -812,6 +812,7 @@ testfile = os.environ.get('MX_TESTFILE', None) if testfile is None: (_, testfile) = tempfile.mkstemp(".testclasses", "graal") + os.close(_) def harness(projectscp, vmArgs): if not exists(javaClass) or getmtime(javaClass) < getmtime(javaSource):