| 1 |
set test "print" |
| 2 |
set ::result_string {hello world |
| 3 |
777 |
| 4 |
hello world |
| 5 |
hello world |
| 6 |
foo |
| 7 |
foobar |
| 8 |
foobar |
| 9 |
foobar |
| 10 |
foo99 |
| 11 |
99foo |
| 12 |
777 |
| 13 |
888 |
| 14 |
123456789 |
| 15 |
hello999 |
| 16 |
999hello} |
| 17 |
|
| 18 |
foreach runtime [get_runtime_list] { |
| 19 |
if {$runtime != ""} { |
| 20 |
stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime |
| 21 |
stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime -DSTP_LEGACY_PRINT |
| 22 |
} else { |
| 23 |
stap_run2 $srcdir/$subdir/$test.stp |
| 24 |
stap_run2 $srcdir/$subdir/$test.stp -DSTP_LEGACY_PRINT |
| 25 |
} |
| 26 |
} |