resurrecting a minimal test infra - starting with linux node and application
[nepi.git] / test / infra-setup.md
1 # Test infra setup
2
3 As a first attempt to resurrect even if partially some automated tests for nepi, I have
4
5 * focused on the unit tests about
6
7 * created 2 VMs (in stupeflip)
8 * named `fedora` (f22) and `ubuntu` (vivid)
9
10 # fedora
11
12     create-vm.sh -f f22 fedora
13     lce fedora
14     adduser inria_nepi
15     yum -y install wget rsync
16          chmod 4755 /bin/ping
17          cat > /etc/sudoers.d/inria_nepi << EOF
18     inria_nepi ALL=(ALL) NOPASSWD: ALL
19     EOF
20     
21 # ubuntu
22
23 Essentially identical, except
24
25 * based on vivid (this is 1 week before wily..)
26 * `adduser -m inria_nepi` otherwise no homedir is created
27 * no need to mess with `ping`
28 * `wget` was already there; did install `rsync` although I have no immediate need for it
29
30 # results
31
32 with all this in place, and with official release 3.2.8 I am getting, referring to `make` targets
33
34 * `test-node` : 19 tests passed in 194s
35 * `test-app` : 15 tests passed in 170s
36