Alexander Larsson
c053c49ead
Extend flatpak-builder test
...
We now test including modules, including doing
so recursively, and find patches and source files from
those.
2017-04-24 10:04:23 +02:00
Mathieu Bridon
b996a636ff
builder: Add a "simple" buildsystem
...
This just runs the specified "build-commands" one after the other,
ignoring makefiles, configure scripts, and all the rest.
Relates to #134
2017-02-20 16:08:35 +01:00
Alexander Larsson
0fb2f362a8
tests: Move the test repo to a subdirectory (repos/test)
...
This makes the ostree trivial-httpd --autoexit feature work better,
because it seems to exit whenever the root directory changes (i.e. not
only when its deleted).
This means the root dir can't be the repo (because then we can't
update the repo), or the base testdir (because we create files there
too), so instead we make the repo $testdir/repos/test and
$testdir/repos as the httpd root.
2017-01-12 00:04:36 +01:00
Alexander Larsson
25483378a9
tests: Run flatpak-builder under valgrind too
2016-10-26 21:43:32 +02:00
Alexander Larsson
c6aa8376b1
tests/test-builder.sh: Re-silence flatpak-builder
...
The > /dev/null was accidentally dropped
2016-06-28 15:26:16 +02:00
Bastien Nocera
b9da048096
tests: Add test for "use-git" patch application
2016-06-28 15:23:44 +02:00
Simon McVittie
a461eb50fa
Skip tests that make a repository if /var/tmp lacks user xattrs
...
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-23 23:00:37 +01:00
Simon McVittie
d4738cca16
tests: skip running flatpak at build time if bwrap doesn't work
...
Distribution autobuilders are often more locked-down than the
environment in which the distribution binaries actually run.
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 18:05:12 +02:00
Alexander Larsson
f36a57b3b1
tests: Use gpg signatures during test
2016-05-17 13:04:44 +02:00
Alexander Larsson
6b4e5dd903
tests: Put --user in an env var
...
This means we can optionally skip it
2016-05-17 10:50:02 +02:00
Alexander Larsson
8abbc0186e
Rename everything but the on-disk location to flatpak
2016-05-09 11:11:55 +02:00
Alexander Larsson
23dbfd5301
fix build test due to recent change
...
We're now looking for sources in the same dir as the json, so fix
the test
2016-05-06 16:36:59 +02:00
Alexander Larsson
4d21107f1c
Rename configure.test to test-configure
...
Otherwise it is ignored with the other *.test generated files
2016-05-02 17:18:00 +02:00
Alexander Larsson
b3d854f507
tests: Fix installed tests
2016-05-02 16:26:47 +02:00
Alexander Larsson
d680da8d59
Added xdg-app-builder test
2016-05-02 15:49:18 +02:00