File: README

package info (click to toggle)
notion 4.0.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,676 kB
  • sloc: ansic: 47,508; sh: 2,096; makefile: 603; perl: 270
file content (33 lines) | stat: -rw-r--r-- 1,172 bytes parent folder | download | duplicates (3)
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
Each subdirectory here is an integration test.

== Requirements ==

- xserver-xorg-video-dummy
- lposix (aka lua-posix in Debian)

== Running the tests ==

Install notion and run 'make test'

== How it works ==

Each integration test basically looks like this:
- Start a dummy X server (Xdummy)
- Start notion with the configuration in $test/config
  - basically $test/config behaves like the ~user/.notion dir for this test
  - Right now this starts the currenly *installed* notion.
    It would be better if it could start the version that was
    built but not neccessarily installed
- Execute each .lua script in $test
  - the .lua script is executed through notionflux, so:
    - it has access to the notion internals
    - I'm not sure whether it can 'require' stuff etc
  - scripts return "ok" upon success, an error message otherwise

== Limitations ==

- the x.org dummy driver does not appear to support RandR
  - .. but we might be able to test some of the mod_xinerama stuff with fakexinerama
- there might be some SELINUX noise, probably due to the way Xdummy works
- Xdummy doesn't properly autodetect which X ports are free, so we use a fixed
  value of :7