[e21569]: testsuite / README  Maximize  Restore  History

Download this file

53 lines (33 with data), 1.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
This testsuite directory contains a simple testsuite to check the
functionality of OProfile on the machine. The testsuite supports testing
the previous user interface using opcontrol and the new operf interface.


Running the opcontrol OProfile testsuite requires the following:

-Superuser privileges
-The dejagnu and expect packages are installed
-The OProfile commands to be on the PATH

The opcontrol tests are run by being in this directory and running the
following command:

runtest --tool oprofile-opcontrol


The operf OProfile testsuite requires the following:

-Superuser privileges
-The dejagnu and expect packages are installed
-The OProfile commands to be on the PATH

The operf tests are run by being in this directory and running the following
command:

runtest --tool oprofile-operf


Both testsuites can be run at the sametime, provided you meet the requirement
for running OProfile opcontrol and the OPerf testsuites, with the command

runtest --tool oprofile


The tests will run and at the end should print out the number of tests
that passed and failed. Ideally, there should be no failures listed,
only "# of expected passes".

The testsuite is flexible and should run on a variety of different
architectures without change, but there may be some architectures
which are not yet included in the testsuite.

The testsuite suite is not a exhaustive test of all the options and
features of OProfile. It is designed to automate the simple smoke
tests that people commonly do to make sure that nothing is "horribly
wrong" and that the basic functionality works.

Comments about and additions to the testsuite infrastructure are
appreciated.

-Will

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks