| 1 |
# printd and printdln tests |
| 2 |
|
| 3 |
# both tests have the same result |
| 4 |
|
| 5 |
set ::result_string {hello world |
| 6 |
hello<-->world<-->777 |
| 7 |
foo *** bar |
| 8 |
foo *** bar *** baz |
| 9 |
foo,99 |
| 10 |
99,foo |
| 11 |
123 456 789 |
| 12 |
hello-999 |
| 13 |
999-hello |
| 14 |
} |
| 15 |
|
| 16 |
foreach runtime [get_runtime_list] { |
| 17 |
if {$runtime != ""} { |
| 18 |
foreach x {"d" "dln"} { |
| 19 |
set test "print$x" |
| 20 |
stap_run_exact "$test ($runtime)" $srcdir/$subdir/$test.stp --runtime=$runtime |
| 21 |
} |
| 22 |
} else { |
| 23 |
foreach x {"d" "dln"} { |
| 24 |
set test "print$x" |
| 25 |
stap_run_exact $test $srcdir/$subdir/$test.stp |
| 26 |
} |
| 27 |
} |
| 28 |
} |