Skip to content
Browse files

minor bug fixes to Unit

  • Loading branch information...
1 parent be952c8 commit 38f8ce4cf862e5d92774459437969cc116a7c31b @tomahawkins committed Mar 17, 2010
Showing with 4 additions and 3 deletions.
  1. +2 −2 Language/Atom/Unit.hs
  2. +2 −1 RELEASE-NOTES
View
4 Language/Atom/Unit.hs
@@ -92,8 +92,8 @@ runTest seed test = do
test <- test
putStrLn $ "running test " ++ name test ++ " ..."
hFlush stdout
- (_, _, _, coverageNames, _) <- compile "atom_unit_test" defaults { cCode = prePostCode test, cRuleCoverage = False } $ testbench test
- (exit, out, err) <- readProcessWithExitCode "gcc" (["-Wall", "-g", "-o", "atom_unit_test"] ++ [ "-i" ++ i | i <- includes test ] ++ modules test ++ ["atom_unit_test.c"]) ""
+ (_, _, _, coverageNames, _) <- compile "atom_unit_test" defaults { cStateName = name test, cCode = prePostCode test, cRuleCoverage = False } $ testbench test
+ (exit, out, err) <- readProcessWithExitCode "gcc" (["-Wall", "-g", "-o", "atom_unit_test"] ++ [ "-I" ++ i | i <- includes test ] ++ modules test ++ ["atom_unit_test.c"]) ""
let file = name test ++ ".log"
case exit of
ExitFailure _ -> do
View
3 RELEASE-NOTES
@@ -1,6 +1,7 @@
-atom 1.0.1 ???
+atom 1.0.1 03/17/2010
- Fixed debounce bug.
+- Fixed Unit -I bug, change state name to test name.
atom 1.0.0 02/13/2010

0 comments on commit 38f8ce4

Please sign in to comment.
Something went wrong with that request. Please try again.