diff --git a/appveyor.yml b/appveyor.yml
index 8b083d6d3e..be2d9bff92 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -69,6 +69,16 @@ test_script:
git -C sass-spec checkout -q --force ci-spec-pr-$SPEC_PR
}
}
+ if ($env:Compiler -eq "mingw") {
+ Write-Host "Running libsass unit tests via mingw32-make..."
+ mingw32-make -C test test
+ } else {
+ Write-Host "Running libsass unit tests via msbuild..."
+ $tests = @("test_shared_ptr", "test_util_string")
+ foreach ($test in $tests) {
+ msbuild -verbosity:m /m:4 /p:"Configuration=$env:Config;Platform=$env:Platform" "test\$test.vcxproj"
+ }
+ }
$env:TargetPath = Join-Path $pwd.Path $env:TargetPath
If (Test-Path "$env:TargetPath") {
ruby sass-spec/sass-spec.rb --probe-todo --impl libsass -c $env:TargetPath -s sass-spec/spec
diff --git a/test/test.props b/test/test.props
new file mode 100644
index 0000000000..06c079d3de
--- /dev/null
+++ b/test/test.props
@@ -0,0 +1,39 @@
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+ Application
+ v120
+ x64
+ $(SolutionDir)\build\
+ $(SolutionDir)\build\obj\$(Configuration)\$(MSBuildProjectName)\
+ $(OutputPath)
+ True
+
+
+
+ ../include;$(IncludePath)
+
+
+
+
+
+
+
diff --git a/test/test_shared_ptr.vcxproj b/test/test_shared_ptr.vcxproj
new file mode 100644
index 0000000000..46f93b7a5f
--- /dev/null
+++ b/test/test_shared_ptr.vcxproj
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/test/test_util_string.vcxproj b/test/test_util_string.vcxproj
new file mode 100644
index 0000000000..0aef44c96e
--- /dev/null
+++ b/test/test_util_string.vcxproj
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+