diff options
author | dsmith <dsmith> | 2006-12-22 19:33:29 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2006-12-22 19:33:29 +0000 |
commit | 4256c24cb293c78296a64e3c72978431a04dfc64 (patch) | |
tree | 7937970ed984da2433f8c8c3096f19c24f06f909 | |
parent | ef474d24145b85f933d06a1648b0d9cbf6695fe5 (diff) | |
download | systemtap-steved-4256c24cb293c78296a64e3c72978431a04dfc64.tar.gz systemtap-steved-4256c24cb293c78296a64e3c72978431a04dfc64.tar.xz systemtap-steved-4256c24cb293c78296a64e3c72978431a04dfc64.zip |
2006-12-22 David Smith <dsmith@redhat.com>
* systemtap.base/cache.exp: Added test to ensure that using '-M'
and '-t' changes the hash. The '-t' test is commented out until
PR3523 is fixed.
-rw-r--r-- | testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | testsuite/systemtap.base/cache.exp | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index bc3c6fd4..4f113d42 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2006-12-22 David Smith <dsmith@redhat.com> + + * systemtap.base/cache.exp: Added test to ensure that using '-M' + and '-t' changes the hash. The '-t' test is commented out until + PR3523 is fixed. + 2006-12-21 David Smith <dsmith@redhat.com> * systemtap.base/cache.exp: Added test to ensure that using '-b' diff --git a/testsuite/systemtap.base/cache.exp b/testsuite/systemtap.base/cache.exp index c4a81d4d..af72fa63 100644 --- a/testsuite/systemtap.base/cache.exp +++ b/testsuite/systemtap.base/cache.exp @@ -87,6 +87,16 @@ stap_compile OPTION2 [F_CACHED_COMPILE] $basic_script1 -DFOO=1 stap_compile BULK1 [F_UNCACHED_COMPILE] $basic_script1 -b stap_compile BULK2 [F_CACHED_COMPILE] $basic_script1 -b +# Using '-M' (don't merge per-cpu files for bulk mode) should change +# the hash +stap_compile MERGE1 [F_UNCACHED_COMPILE] $basic_script1 -b -M +stap_compile MERGE2 [F_CACHED_COMPILE] $basic_script1 -b -M + +# Using '-t' (benchmark timing) should change the hash +# These two tests will fail until PR3523 is fixed. +#stap_compile TIMING1 [F_UNCACHED_COMPILE] $basic_script1 -t +#stap_compile TIMING2 [F_CACHED_COMPILE] $basic_script1 -t + # Changing the runtime directory should change the hash set new_runtime [exec pwd]/.cache_test_runtime exec /bin/rm -f $new_runtime |