PREV UP NEXT The Ftape Tools Manual - Configuration


2.1.1: Running tests after compilation of the programs.

The vtblc and the ftmt program come with a small DejaGnu test-suite. See The GNU testing framework (info file dejagnu). However, the tests require a spare tape cartridge which will be erased as a side effect of the test runs. The tests are disabled by default.

Repeat: you need a spare tape cartridge, all data will be erased.

Of course, you need also a floppy tape and a working ftape driver for running the tests. Some tests will fail with ftape-2.x because ftape-3.04d (and later versions) corrects some bugs in the file system interface of ftape-2.x. See Changed MTBSF and EOM semantics (info file ftape-4). See MTBSF (info file ftape-4).

--enable-tapetests

Enable tests which require a working floppy tape streamer and a spare tape cartridge. All data on the tape cartridge will be erased. The tests require the DejaGnu package to be installed. Try `which expect' and `man 1 expect' to find out whether DejaGnu is available. If it isn't the tests simply will be skipped. The tests are disabled by default.


--with-testdev=NR

Which tape device to use for testing. Give only the number, i.e. don't say `--with-testdev=/dev/qft0' but use `--with-testdev=0'. The tests will be disabled if the value isn't valid, i.e. if NR is no number at all, or negative or greater than 3. Default is `0', i.e. use the devices `/dev/qft0', `/dev/nqft0', `/dev/rawft0' and `/dev/nrawft0'.


ftape logo Use these buttons to jump to the top menu

TOP (previous node) TOP (parent node) TOP (next node) TOP (this node)