-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add spread suite for waf plugin (#2210)
Move the plugin integration tests for the Waf plugin into a Spread suite. LP: #1783846 Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
- Loading branch information
Kyle Fazzari
committed
Aug 11, 2018
1 parent
3b12e9c
commit 5498d0a
Showing
19 changed files
with
38 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
summary: Cross-compile waf snaps | ||
|
||
environment: | ||
SNAP_DIR: ../snaps/waf-hello | ||
|
||
restore: | | ||
cd "$SNAP_DIR" | ||
snapcraft clean | ||
rm -f ./*.snap | ||
execute: | | ||
cd "$SNAP_DIR" | ||
snapcraft stage --target-arch=armhf | ||
file stage/usr/local/bin/myprogram | MATCH ",\s*ARM\s*," |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
summary: Build and run a basic waf snap | ||
|
||
environment: | ||
SNAP_DIR: ../snaps/waf-hello | ||
|
||
restore: | | ||
cd "$SNAP_DIR" | ||
snapcraft clean | ||
rm -f ./*.snap | ||
execute: | | ||
cd "$SNAP_DIR" | ||
snapcraft | ||
sudo snap install waf-hello_*.snap --dangerous | ||
[ "$(waf-hello)" = "hello world" ] |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...snaps/waf-with-configflags/snapcraft.yaml → ...s/waf/snaps/waf-hello/snap/snapcraft.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.