Skip to content

Commit 550f872

Browse files
committed
Fix IronPython.Analyzer location and tests
1 parent aa5e848 commit 550f872

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

IronPython.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "nuget", "nuget", "{EE77D917
7070
EndProject
7171
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IronPythonConsole32", "src\executables\IronPython.Console32\IronPythonConsole32.csproj", "{AD21022F-E7C1-4B74-97C1-0A0E48EFF992}"
7272
EndProject
73-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IronPythonAnalyzer", "src\roslyn\IronPython.Analyzer\IronPythonAnalyzer\IronPythonAnalyzer.csproj", "{DA3415F3-6922-42D0-93D7-BEE2E8603A18}"
73+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IronPythonAnalyzer", "src\roslyn\IronPython.Analyzer\IronPythonAnalyzer.csproj", "{DA3415F3-6922-42D0-93D7-BEE2E8603A18}"
7474
EndProject
7575
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "choco", "choco", "{EA550FD8-2241-4131-8292-619D009E0199}"
7676
ProjectSection(SolutionItems) = preProject

make.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function Purge() {
222222
Get-ChildItem -Name "obj" -Directory -Path "$_BASEDIR" -Recurse | Remove-Item -Force -Recurse
223223

224224
Write-Verbose "Deleting ""bin"" directories..."
225-
foreach ($dir in @("", (Join-Path "IronPythonAnalyzer" "IronPythonAnalyzer"))) {
225+
foreach ($dir in @("", (Join-Path "src" "roslyn" "IronPython.Analyzer"))) {
226226
if (Test-Path (Join-Path $_BASEDIR $dir "bin" -OutVariable targetPath)) {
227227
Remove-Item -Path $targetPath -Force -Recurse
228228
}

src/core/IronPython.Modules/IronPython.Modules.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<ItemGroup Condition=" $(TargetFrameworkIdentifier) != '.NETFramework' ">
29-
<ProjectReference Include="..\..\roslyn\IronPython.Analyzer\IronPythonAnalyzer\IronPythonAnalyzer.csproj">
29+
<ProjectReference Include="..\..\roslyn\IronPython.Analyzer\IronPythonAnalyzer.csproj">
3030
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
3131
<OutputItemType>Analyzer</OutputItemType>
3232
</ProjectReference>

src/core/IronPython/IronPython.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</ItemGroup>
5959

6060
<ItemGroup Condition=" $(TargetFrameworkIdentifier) != '.NETFramework' ">
61-
<ProjectReference Include="..\..\roslyn\IronPython.Analyzer\IronPythonAnalyzer\IronPythonAnalyzer.csproj">
61+
<ProjectReference Include="..\..\roslyn\IronPython.Analyzer\IronPythonAnalyzer.csproj">
6262
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
6363
<OutputItemType>Analyzer</OutputItemType>
6464
</ProjectReference>

src/core/IronPython/Lib/iptest/ipunittest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def setUp(self):
128128
self.ensure_directory_present(self._temporary_dir)
129129

130130
self._iron_python_test_dll = _iron_python_test_dll
131-
self._test_dir = os.path.join(_root, 'Tests')
132-
self._test_inputs_dir = os.path.join(_root, 'Tests', 'Inputs')
131+
self._test_dir = os.path.join(_root, 'tests', 'suite')
132+
self._test_inputs_dir = os.path.join(_root, 'tests', 'suite', 'Inputs')
133133

134134
def add_reference_to_dlr_core(self):
135135
_add_reference_to_dlr_core()

tests/IronPython.Tests/EngineTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ internal class Common {
5353
static Common() {
5454
RuntimeDirectory = Path.GetDirectoryName(typeof(PythonContext).Assembly.Location);
5555
RootDirectory = FindRoot();
56-
ScriptTestDirectory = Path.Combine(RootDirectory, "Tests");
56+
ScriptTestDirectory = Path.Combine(RootDirectory, "tests", "suite");
5757
InputTestDirectory = Path.Combine(ScriptTestDirectory, "Inputs");
5858
}
5959

0 commit comments

Comments
 (0)