Add an ostree-tests package, and use it for autopkgtest
This commit is contained in:
1 parent
b63ecc385a
commit
7eee7ce2fe
7 files changed
+65
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
exec 2>&1
|
||||
set -x
|
||||
|
||||
cd "$ADTTMP"
|
||||
|
||||
cat > trivial.c <<EOF
|
||||
#include <ostree.h>
|
||||
|
||||
int main (void)
|
||||
{
|
||||
g_object_unref (ostree_repo_new_default ());
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
|
||||
gcc -o trivial trivial.c $(pkg-config --cflags --libs ostree-1 gobject-2.0)
|
||||
test -x trivial
|
||||
./trivial
|
||||
echo "ok 3 run it"
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
Tests: gnome-desktop-testing
|
||||
Depends: gnome-desktop-testing, ostree-tests
|
||||
|
||||
Tests: build
|
||||
Depends: build-essential, libostree-dev, pkg-config
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
exec 2>&1
|
||||
|
||||
exec gnome-desktop-testing-runner ostree
|
||||
Reference in new issue
Block a user