Ian Abbott
82ee0c80e2
testing: remove unused variables in comedi_test program
...
Remove the global variable 'capabilities' which is set to 0 by the
get_capabilities() function but not used anywhere else. Remove the
'type' and 'flags' local variables from get_capabilities() which are set
to the return values of comedi_get_subdevice_type() and
comedi_get_subdevice_flags() but never used. Remove the 'tmp' local
variable from test_segfault(); it was involved in a volatile memory
access to test for segmentation faults. Still do the volatile memory
access but don't use the variable.
2013-05-07 13:15:54 +01:00
Frank Mori Hess
ea64ba8daa
fixing includes for exit(), memset() for gcc 2.96 compiler warnings
2003-01-01 23:07:02 +00:00
David Schleef
1303b4758c
test reading 0 samples
2002-06-06 00:38:54 +00:00
David Schleef
b7d115eafa
added output command test
2002-03-18 21:48:14 +00:00
David Schleef
52b66f2c89
Disabled streaming output on many of the command tests
2002-02-06 22:08:50 +00:00
David Schleef
b76621f048
removed mode0_test from list of standard tests
2001-10-04 20:12:04 +00:00
David Schleef
8b5cd228fa
Added long getopts and added help(), 'cuz I always forget how to use it
2001-07-30 20:40:26 +00:00
David Schleef
eceb3bccf8
Make stdout unbuffered, so that if stderr==stdout, lines match up.
2001-07-15 22:47:58 +00:00
David Schleef
e93771f219
Added realtime command line option. Fixed tests to use realtime
...
flag. Added internal trigger test.
2001-06-12 10:41:09 +00:00
David Schleef
698938d995
additional tests, fixes, move some functions to ../lib
2001-05-28 02:39:00 +00:00
David Schleef
c6093128a1
added bufconfig test
2001-03-01 21:59:01 +00:00
David Schleef
981a9e2c22
testing additions
2000-11-30 22:57:04 +00:00
David Schleef
5012a6d5c5
*** empty log message ***
2000-11-25 04:19:35 +00:00
David Schleef
5199a302ae
added command test
2000-10-13 09:22:05 +00:00
David Schleef
809aaa48b9
added tests and created main
2000-10-10 00:52:10 +00:00
David Schleef
b4bba38d0f
Initial revision
2000-02-02 05:14:23 +00:00