fix tests

This commit is contained in:
Mark Harrah 2011-08-31 08:25:32 -04:00
parent 20c7c67987
commit 23a10a3dbf
5 changed files with 12 additions and 12 deletions

View File

@ -9,13 +9,13 @@ $ exists ran
$ delete ran
# single project, Aggregate = Enabled on Mark
> set aggregate in Mark :== false
> set aggregate in Mark := false
> mark
$ exists ran
$ delete ran
# single project, Aggregate = Disabled on Mark
> set aggregate in Mark :== false
> set aggregate in Mark := false
> mark
$ exists ran
$ delete ran
@ -74,28 +74,28 @@ $ delete sub/ran sub/sub/ran
> set Mark <<= mark
# disable aggregation for sub/mark so that sub2/mark doesn't run
> set aggregate in (sub,Mark) :== false
> set aggregate in (sub,Mark) := false
> mark
$ exists ran sub/ran
$ absent sub/sub/ran
$ delete ran sub/ran
# check explicit aggregation. running on root should run root/mark and sub2/mark
> set aggregate in Mark :== Aggregation(sub2 :: Nil)
> set aggregate in Mark := Aggregation(sub2 :: Nil)
> mark
$ exists ran sub/sub/ran
$ absent sub/ran
$ delete ran sub/sub/ran
# check intransitive aggregation. running on root should not continue to sub2/mark
> set aggregate in Mark :== Aggregation(sub :: Nil, false)
> set aggregate in Mark := Aggregation(sub :: Nil, false)
> mark
$ exists ran sub/ran
$ absent sub/sub/ran
$ delete ran sub/ran
# the aggregation setting in a leaf shouldn't affect whether it can be run directly
> set aggregate in (sub2, Mark) :== false
> set aggregate in (sub2, Mark) := false
> sub2/mark
$ exists sub/sub/ran
$ absent ran sub/ran

View File

@ -1,3 +1,3 @@
crossPaths :== false
crossPaths := false
TaskKey[Unit]("use-jar") := { injar.Test.other; () }

View File

@ -5,5 +5,5 @@ $ mkdir sub3 sub1 sub2
> project sub2
# This can't actually fail, unfortunately. The repl traps the exception and continues normally.
> 'set initialCommands :== """assert((name in currentRef get structure.data) == Some("sub2")) """ '
> 'set initialCommands := """assert((name in currentRef get structure.data) == Some("sub2")) """ '
> console-project

View File

@ -1,6 +1,6 @@
crossPaths :== false
crossPaths := false
// the two spaces following this definition test that sbt handles extra whitespace on a line
name :== "definition-lib-test"
name := "definition-lib-test"
version :== "1.0"
version := "1.0"

View File

@ -1,3 +1,3 @@
crossPaths :== false
crossPaths := false
TaskKey[Option[String]]("use-jar") := { injar.Test.foo }