File: README.test

package info (click to toggle)
reprof 1.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 43,092 kB
  • ctags: 196
  • sloc: perl: 868; sh: 484; makefile: 59
file content (43 lines) | stat: -rw-r--r-- 1,265 bytes parent folder | download | duplicates (5)
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
Notes on how this package can be tested.
────────────────────────────────────────

This package uses `autopkgtest-pkg-perl` as a default testsuite.
Read more at https://pkg-perl.alioth.debian.org/autopkgtest.html

This package can also be tested by executing

    perl test-models.t
    sh installation-test

in order to confirm its integrity.

Both commands require `reprof` and `librg-reprof-bundle-perl` to be installed.

First command

    perl test-models.t

runs perl script, which checks if /usr/share/reprof/*.model files, accompanying
this package, can be found at that location and are compatible with latest 
version of `libai-fann-perl` package. 

If above script fails, then command

    sh installation-test
    
will also fail with error message 

    "Constructor failed at /usr/share/perl5/RG/Reprof.pm line 225."

If not, then command 

    sh installation-test
    
should successfully run reprof command with several parameters from man page.

To test manually, cd to directory where you have write permissions and run

    cp /usr/share/doc/reprof/examples/example.Q .
    reprof -i example.Q -o example.Q.reprof
    
To learn more about reprof, run `man reprof`.