File: ReadMe

package info (click to toggle)
fossology 1.1.0-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 10,984 kB
  • ctags: 7,160
  • sloc: ansic: 32,477; php: 22,920; sh: 1,572; perl: 1,352; makefile: 1,110; xml: 201; sql: 21
file content (43 lines) | stat: -rw-r--r-- 1,780 bytes parent folder | download
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
/***********************************************************
 cp2foss.php
 Copyright (C) 2007 Hewlett-Packard Development Company, L.P.

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 version 2 as published by the Free Software Foundation.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License along
 with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 ***********************************************************/
 # version: "$Id: ReadMe 626 2008-05-24 03:04:12Z rrando $"
 #
Setting up cp2foss Tests

Almost all the steps are automated, but documented here. See the install 
script for details.

NOTE: make sure the version of cp2foss you want to test is installed in 
   /usr/local/bin/test.cp2foss.  That's the name the tests expect to use.
   
   This is a MANUAL STEP, please do this BEFORE running the tests
   
As root run the install script to set up the system for testing.

1. make sure test.cp2foss has the following permissions:
   
       -rwxr-xr-- 1 fossy fossy 28724 2008-04-02 15:24 test.cp2foss
   
2. copy the archives in ....cli/test/archives/* to /tmp, that is where the
   tests expect them to be.
   
3. Create a directory tree with contents for recusive tests.   The 
   tests expect the fossology source is checked out into /tmp and that is 
   used in the tests. So if you don't use this method, you will need to 
   change the tests.