summaryrefslogtreecommitdiff
path: root/tests/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* Revert "gitignore: Ignore generated header test files"Bryce Harrington2015-05-261-3/+0
| | | | This reverts commit 8267056a6477e3517b974bc1d33d275365c43ec6.
* gitignore: Ignore generated header test filesBryce Harrington2015-05-261-0/+3
|
* Makefile.am: Fix protocol source files usageQuentin Glidic2014-02-011-5/+0
| | | | Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* gitignore: Generated files text-client-protocol.h, text-protocol.cBryce W. Harrington2014-01-171-0/+2
| | | | Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
* tests: .gitignore log filesPekka Paalanen2013-11-211-0/+1
|
* protocol: move sub-surfaces to WaylandPekka Paalanen2013-11-151-2/+0
| | | | | | | | | | | | | | | | | | This reverts commit 2396aec6842c709a714f3825dbad9fd88478f2e6. This exact version of the sub-surface protocol has been copied into Wayland core. Therefore it must be removed from here to avoid build conflicts and useless duplication. No other changes to sub-surface protocol consumers are needed, the identical API is now offered by libwayland-client and libwayland-server. The commit adding sub-surfaces to Wayland is: Author: Pekka Paalanen <pekka.paalanen@collabora.co.uk> protocol: add sub-surfaces to the core Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* tests/.gitignore: Add *.trsJonas Ådahl2013-10-281-0/+1
| | | | Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* tests: Move config-parser.test to tests/Quentin Glidic2013-07-081-0/+1
| | | | Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* tests: Add .weston extension to clients testsQuentin Glidic2013-07-081-6/+1
| | | | | | We can then add tests which do not use Weston in the test suite. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* tests: add sub-surface protocol testsPekka Paalanen2013-05-101-0/+1
| | | | | | | | | | | | | For testing the protocol behaviour only: - linking a surface to a parent does not fail - position and placement requests do not fail - bad linking and arguments do fail - passing a surface as a sibling from a different set fails - different destruction sequences do not crash - setting a surface as its own parent fails - nesting succeeds Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
* protocol: add sub-surfacesPekka Paalanen2013-05-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add protocol for sub-surfaces, wl_subcompositor as the global interface, and wl_subsurface as the per-surface interface extension. This patch is meant to be reverted, once sub-surfaces are moved into Wayland core. Changes in v2: - Rewrite wl_subcompositor.get_subsurface description, and move mapping and commit details into wl_subsurface description. Check the wording in wl_subsurface.set_position description. - Add wl_subsurface.set_commit_mode request, and document it, with the commit_mode enum. Add bad_value error code for wl_subsurface. - Moved the protocol into Weston repository so we can land it upstream sooner for public exposure. It is to be moved into Wayland core later. - Add destroy requests to both wl_subcompositor and wl_subsurface, and document them. Experience has showed, that interfaces should always have a destructor unless there is a good and future-proof reason to not have it. Changes in v3: - Specify, that wl_subsurface will become inert, if the corresponding wl_surface is destroyed, instead of requiring a certain destruction order. - Replaced wl_subsurface.set_commit_mode with wl_subsurface.set_sync and wl_subsurface.set_desync. Parent-cached commit mode is now called synchronized, and independent mode is desynchronized. Removed commit_mode enum, and bad_value error. - Added support for nested sub-surfaces. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
* tests: Add XWayland testTiago Vignatti2013-02-081-0/+1
| | | | | | | | | By default enabled but one can disable it by passing --disable-xwayland-test to the configure script. Also, the weston-tests-env script is trying to load xwayland.so in either case, but it behaves resilient in the absence of that meaning all the other tests are still going to be kicked for running. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
* update git ignoresPekka Paalanen2012-12-121-0/+1
| | | | Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
* tests: write logs to filesPekka Paalanen2012-12-121-0/+1
| | | | | | | | | | | | | This cleans up the 'make check' output considerably. When all goes well, you will only see the "PASS" line for each of $TESTS. Weston logs into a separate file than stdout and stderr, so server logs end up in one file per test, and other output to another file per test. 'make distclean' does not remove the tests/logs/ directory. Also changes the weston-tests-env interpreter to bash, since I think &> and ${1/.la/.so} might be bashisms.
* tests: Convert button-test to new test extensionU. Artie Eoff2012-12-111-0/+1
| | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56821 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
* tests: Convert event-test to new test extensionU. Artie Eoff2012-12-111-0/+1
| | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56819 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
* tests: Convert keyboard-test to new test extensionU. Artie Eoff2012-12-111-0/+1
| | | | | | | | | | | | This adds a weston-test-runner for the weston test extension and some weston test client helper methods. Converted keyboard-test to use the new test interface, runner, and helper methods. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56822 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
* tests: Define and implement a test protocol extension.U. Artie Eoff2012-12-111-0/+3
| | | | | | | | | | | The weston test extension, called weston-test.so, can be loaded from the "modules" configuration option on the command line or in the .ini file. Clients can bind to the "wl_test" interface to interact with the weston test extension. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
* tests: Add unit test for text modelJan Arne Petersen2012-08-291-1/+1
| | | | | Add tests for activate/deactivate and unfocusing of the assigned surface.
* tests, wcap: update ignoresPekka Paalanen2012-05-311-0/+1
| | | | Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
* weston: update .gitignore filesCasey Dahlin2012-04-111-0/+1
| | | | | | | Updates the .gitignore files for clients and tests to reflect a new test and a couple of renamed applications. Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
* tests: add matrix-testPekka Paalanen2012-01-271-0/+2
Add a new directory tests/ for unit test applications. This directory will be built only if --enable-tests is given to ./configure. Add matrix-test application. It excercises especially the weston_matrix_invert() and weston_matrix_inverse_transform() functions. It has one test for correctness and precision, and other tests for measuring the speed of various matrix operations. For the record, the correctness test prints: a random matrix: 1.112418e-02 2.628150e+00 8.205844e+02 -1.147526e-04 4.943677e-04 -1.117819e-04 -9.158849e-06 3.678122e-02 7.915063e-03 -3.093254e-04 -4.376583e+02 3.424706e-02 -2.504038e+02 2.481788e+03 -7.545445e+01 1.752909e-03 The matrix multiplied by its inverse, error: 0.000000e+00 -0.000000e+00 -0.000000e+00 -0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 -0.000000e+00 -0.000000e+00 0.000000e+00 -0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 max abs error: 0, original determinant 11595.2 Running a test loop for 10 seconds... test fail, det: -0.00464805, error sup: inf test fail, det: -0.0424053, error sup: 1.30787e-06 test fail, det: 5.15191, error sup: 1.15956e-06 tests: 6791767 ok, 1 not invertible but ok, 3 failed. Total: 6791771 iterations. These results are expected with the current precision thresholds in src/matrix.c and tests/matrix-test.c. The random number generator is seeded with a constant, so the random numbers should be the same on every run. Machine speed and scheduling affect how many iterations are run. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>