diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-01 22:14:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-01 22:14:51 -0700 |
commit | 071d39294cd882b899e03559816888837603fa6c (patch) | |
tree | 9dd4da7994912607dd093b16f48dd4cf5c6eca53 /cpp | |
parent | c0ac457610db622d8f77c7317cab4c418c94c8c5 (diff) | |
download | mu-071d39294cd882b899e03559816888837603fa6c.tar.gz |
1232
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/049scenario_helpers.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/049scenario_helpers.cc b/cpp/049scenario_helpers.cc index a647db33..8e303430 100644 --- a/cpp/049scenario_helpers.cc +++ b/cpp/049scenario_helpers.cc @@ -1,6 +1,8 @@ //: Some pseudo-primitives to support writing tests in mu. //: When we throw out the C layer these will require more work. +//:: 'run' can interpret a string as a set of instructions + :(scenario run) #? % Trace_stream->dump_layer = "all"; recipe main [ @@ -43,6 +45,9 @@ recipe main [ +mem: storing 13 in location 1 +mem: storing 13 in location 2 +//:: memory-should-contain can raise warnings if specific locations aren't as +//:: expected. + :(scenario memory_check) % Hide_warnings = true; recipe main [ |