summaryrefslogtreecommitdiff
path: root/test/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* test/interactive: Drop obsolete testAntónio Fernandes2022-09-011-1/+0
| | | | | | | | | | | | | | | | | Originally introduced by 469047a2a58430026d68a3b99b223b922b18b8d1 It's been disabled because it relied on gtk_main* API, which is gone in GTK4, but even after porting to GMainLoop API, it fails to work because operations invoke GApplication inhibition. In other words: I'm confident this test program has been broken for years without anyone realizing it. We already have automatic tests for copy operations. Manual testing can be done with the nautilus application itself with debug messages enabled. So, let's just drop the broken obsolete test code.
* meson: Update to 0.59Maximiliano Sandoval R2022-02-281-1/+1
|
* tests/interactive: Disable buildAntónio Fernandes2021-12-311-1/+1
| | | | | | | They use gtk_main(), which is gone in GTK 4. To speedup the port disable these tests. To be reimplemented later. https://gitlab.gnome.org/GNOME/nautilus/-/issues/1993
* test: Add file-operations-move testAlexandru Fazakas2018-07-161-1/+2
| | | | | This patch includes the addition of the sync alternative to the file-operations-move function and a test for it.
* build: Set a couple env vars when running testsErnestas Kulik2018-05-181-0/+19
| | | | | | | This will save some time/thinking when running tests manually. G_TEST_BUILDDIR and G_TEST_SRCDIR will be useful if g_test_build_filename() is ever used, since our primary build mode is outside the source directory, which would break the function.
* tests: Split between display and displaylessCarlos Soriano2018-01-061-27/+2
| | | | | | | | Some tests require gtk_init, which requires a display and therefore cannot be part of the tests to be ran in the GitLab CI. Split those so we can pass an option to meson to only test the displayless tests for GitLab CI.
* build: general cleanupsErnestas Kulik2018-01-021-24/+25
| | | | | | | | | | | | | | This commit does the following: * Canonicalize the style: * Use two-space indentations. * Un-Autotools-ify option names. * Don’t align arguments, simply increase indentation. * Don’t add a space before opening parenthesis in calls. * Remove unused variables. * Remove unused dependencies. * Remove config.h.meson. * Optimize dependencies. * Use disabler functionality for libselinux dependency, to save lines.
* file-utilities: rework common prefix computationErnestas Kulik2017-12-231-5/+0
| | | | | | | | | | | | | | | | | Currently, the process for getting the common prefix of a list of file names is a tad too greedy: 1. Find the common prefix of all the strings. 2. Strip the extension from the prefix. 3. Strip trailing punctuation. Step 2 may strip dots if there’s trailing whitespace and step 3 may strip useful punctuation (e.g. parentheses). This commit reworks the process as such: 1. Strip the extension from all the file names. 2. Find the common prefix of all the strings. 3. Trim trailing whitespace. Fixes #174.
* general: add support for MesonErnestas Kulik2017-02-241-0/+31
Since it’s 2017 already, Nautilus should use a build system that doesn’t take longer to set up the build than it takes to actually build. An observed build time using Ninja of roughly one-fifth of what it took Autotools is more than reason enough to add support for Meson. Along with that, this commit adds a convenience script to generate a tarball for releases, since we use libgd as a submodule and Meson does not handle source distributions. https://bugzilla.gnome.org/show_bug.cgi?id=778167