Skip to content
Snippets Groups Projects
Commit 7d45c2f4 authored by Isaac Potoczny-Jones's avatar Isaac Potoczny-Jones
Browse files

tweak test suite

parent 580183e0
No related branches found
No related tags found
No related merge requests found
...@@ -153,6 +153,8 @@ tests currDir comp compConf = [ ...@@ -153,6 +153,8 @@ tests currDir comp compConf = [
setCurrentDirectory $ (testdir `joinFileName` "exeWithC") setCurrentDirectory $ (testdir `joinFileName` "exeWithC")
testPrelude testPrelude
assertConfigure targetDir assertConfigure targetDir
assertClean
assertConfigure targetDir
assertBuild assertBuild
assertCopy assertCopy
assertCmd ",tmp/bin/tt" "exeWithC failed" assertCmd ",tmp/bin/tt" "exeWithC failed"
...@@ -393,7 +395,7 @@ tests currDir comp compConf = [ ...@@ -393,7 +395,7 @@ tests currDir comp compConf = [
compIdent = compStr ++ "/" ++ compFlag compIdent = compStr ++ "/" ++ compFlag
testPrelude = system "make clean >> out.build" >> system "make >> out.build" testPrelude = system "make clean >> out.build" >> system "make >> out.build"
assertConfigure pref assertConfigure pref
= assertCmd' compCmd ("configure --prefix=" ++ pref ++ " " ++ compFlag) = assertCmd' compCmd ("configure --user --prefix=" ++ pref ++ " " ++ compFlag)
"configure returned error code" "configure returned error code"
assertBuild = assertCmd' compCmd "build" "build returned error code" assertBuild = assertCmd' compCmd "build" "build returned error code"
assertCopy = assertCmd' compCmd "copy" "copy returned error code" assertCopy = assertCmd' compCmd "copy" "copy returned error code"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment