This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sdt_types.c


To test the case that's hard, you need to use an argument of "array", not
"&array".  This file should test that.  It's not particularly useful to
test "&array" also, since that is just a pointer type, and those are
already tested.

To be thoroughly useful about covering lots of types, this file should be
compiled with a variety of -ansi/-pedantic/-std=foo options.

It would be useful to cover C++ too.  That could be done just by including
-xc++ in the set of options to permute through.  The C99 initializers would
need to be replaced with plain ordered initializer lists to compile in C++,
or with -ansi/-std=c89.

It would also be useful to have some cases in there that use a string
constant as the argument.  It could also use some cases that distinguish
whether the signedness handling is doing the right thing for various sizes
of integral type.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]