on master help sign in
Fix compiler path in tests
commitf615e6aa299c80ff21c2f4428f91a86a1f944755 authorEvan Czaplicki <info@elm-lang.org> dateSun 24 Aug 2014, 23:43 (12 years ago) parent5f29218
1 file changed+3−3
tests/compiler/Tests/Compiler.hs+3−3
tests/compiler/Tests/Compiler.hs+3−3
@@ -40,11 +40,11 @@ testIf handler filePaths =
4040 where
4141 setupTest filePath = do
4242 let args = [ "--make", "--src-dir=" ++ testsDir, filePath ]
43− (exitCode, _stdout, stderr) <- readProcessWithExitCode compiler args ""
44− return (testCase filePath (handler exitCode stderr))
43+ (exitCode, stdout, stderr) <- readProcessWithExitCode compiler args ""
44+ return (testCase filePath (handler exitCode (stdout ++ stderr)))
4545
4646compiler :: FilePath
47−compiler = "dist" </> "build" </> "Elm" </> "elm"
47+compiler = "dist" </> "build" </> "elm" </> "elm"
4848
4949
5050-- CHECK RESULTS