on master help sign in
Fix compiler path in tests
f615e6aEvan Czaplicki
tests/compiler/Tests/Compiler.hs+3−3
@@ -40,11 +40,11 @@ testIf handler filePaths =
40 where
40 where
41 setupTest filePath = do
41 setupTest filePath = do
42 let args = [ "--make", "--src-dir=" ++ testsDir, filePath ]
42 let args = [ "--make", "--src-dir=" ++ testsDir, filePath ]
43− (exitCode, _stdout, stderr) <- readProcessWithExitCode compiler args ""
43+ (exitCode, stdout, stderr) <- readProcessWithExitCode compiler args ""
44− return (testCase filePath (handler exitCode stderr))
44+ return (testCase filePath (handler exitCode (stdout ++ stderr)))
45
45
46compiler :: FilePath
46compiler :: FilePath
47−compiler = "dist" </> "build" </> "Elm" </> "elm"
47+compiler = "dist" </> "build" </> "elm" </> "elm"
48
48
49
49
50-- CHECK RESULTS
50-- CHECK RESULTS