]> sourceware.org Git - systemtap.git/commit
Fix tests for -DSTAP_SDT_V2.
authorStan Cox <scox@redhat.com>
Thu, 10 Jun 2010 21:40:29 +0000 (17:40 -0400)
committerStan Cox <scox@redhat.com>
Thu, 10 Jun 2010 21:40:29 +0000 (17:40 -0400)
commit278c9759d4957059a502decbb9a06c4026312b4c
treeee0aa2f73718251a535b8c41ea63af1c148493bc
parentf8edd50a6ba8cc81585bb36df074817e77259dda
Fix tests for -DSTAP_SDT_V2.

dtrace -G -s foo.d builds foo.o so it must pass -DSTAP_SDT_V2 to gcc.  Add a -D
flag (sun dtrace also has a -D flag) and pass that to the gcc invocation.

* dtrace.in (semaphore_def_append): Make -DSTAP_SDT_V1 the default.
(generate): Likewise.
(main):  Add -D and pass to cpp and gcc.
* sdt_misc.exp: Run dtrace every iteration and pass it -DSTAP_SDT_V2.
dtrace.in
testsuite/systemtap.base/sdt_misc.exp
This page took 0.029203 seconds and 5 git commands to generate.