Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladD2 committed Nov 6, 2014
1 parent 03905e6 commit 230f0ef
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Nitra/Nitra.Quote/Nitra.Quote.nproj
Expand Up @@ -23,15 +23,15 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<OutputPath>..\..\bin\Debug\Stage1</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>false</DebugSymbols>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<OutputPath>..\..\bin\Release\Stage1</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down
8 changes: 4 additions & 4 deletions Tests/sub-env.cmd
Expand Up @@ -3,8 +3,8 @@ set NGen="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe"
if not defined Configuration set Configuration=Debug
if not defined NemerleBinPathRoot set NemerleBinPathRoot=%ProgramFiles%\Nemerle
if not defined Nemerle set Nemerle=%NemerleBinPathRoot%\Net-4.0
set RuntimeDllPath=%~dp0\..\Nitra\Nitra.Runtime\bin\%Configuration%
set CoreDllPath=%~dp0\..\Nitra\Nitra.Core\bin\%Configuration%
set CompilerDllPath=%~dp0\..\Nitra\Nitra.Compiler\bin\%Configuration%\Stage1
set QuoteDllPath=%~dp0\..\Nitra\Nitra.Quote\bin\%Configuration%
set RuntimeDllPath=%~dp0\..\bin\%Configuration%\Stage1
set CoreDllPath=%~dp0\..\bin\%Configuration%\Stage1
set CompilerDllPath=%~dp0\..\bin\%Configuration%\Stage1
set QuoteDllPath=%~dp0\..\bin\%Configuration%\Stage1
rem for %%d in (%CompilerDllPath%\*.dll) DO %NGen% install %%d
Expand Up @@ -448,6 +448,11 @@
<PropertyGroup>
<CopyVsixManifestFileDependsOn>$(CopyVsixManifestFileDependsOn);SetVsixManifestExtensionVersion</CopyVsixManifestFileDependsOn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<StartProgram>G:\VS\VS2013\Common7\IDE\devenv.exe</StartProgram>
<WorkingDirectory />
<CmdArgs>/rootsuffix Exp</CmdArgs>
</PropertyGroup>
<Target Name="SetVsixManifestExtensionVersion" DependsOnTargets="DetokenizeVsixManifestFile;GetNitraBuildVersion">
<XmlPoke XmlInputPath="$(IntermediateVsixManifest)" Query="//*[local-name()='Identifier']/*[local-name()='Version']" Value="$(NitraBuildVersion)" />
</Target>
Expand All @@ -473,8 +478,7 @@
<Task>
<Using Namespace="System" />
<Using Namespace="Microsoft.Win32" />
<Code Type="Fragment" Language="cs">
<![CDATA[
<Code Type="Fragment" Language="cs"><![CDATA[
var keyName = "Software\\Microsoft\\VisualStudio\\" + VisualStudioVersion + VisualStudioSuffix + "\\ExtensionManager\\EnabledExtensions";
var valueName = ExtensionId + "," + ExtensionVersion;
var newValue = ExtensionPath.ToUpperInvariant();
Expand Down Expand Up @@ -520,8 +524,7 @@
{
Log.LogError("Failed to open registry key 'HKCU\\{0}'", keyName);
}
]]>
</Code>
]]></Code>
</Task>
</UsingTask>
<Target Name="DeployExtension">
Expand Down
Expand Up @@ -75,6 +75,7 @@ namespace Nitra.VisualStudio.Parsing
def source = SourceSnapshot(text, 0, fileName);
try
{
NitraPackage.Instance.SetStatusBarText("Parsing...");
timer.Restart();
def result = Language.Parse(source, token);
timer.Stop();
Expand Down
1 change: 1 addition & 0 deletions packages/repositories.config
Expand Up @@ -3,4 +3,5 @@
<repository path="..\N2.Visualizer\packages.config" />
<repository path="..\N2VsExtentions\N2.VisualStudio\packages.config" />
<repository path="..\Nitra.Visualizer\packages.config" />
<repository path="..\VisualStudioExtensions\Nitra.VisualStudio\packages.config" />
</repositories>

0 comments on commit 230f0ef

Please sign in to comment.