File: package_base

package info (click to toggle)
zkg 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,740 kB
  • sloc: python: 5,910; sh: 268; makefile: 265; cpp: 24
file content (14 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This test involves package testing, for which zkg internally requires
# zeek-config. So require a Zeek install:
# @TEST-REQUIRES: type zeek-config

# @TEST-EXEC: bash %INPUT

# @TEST-EXEC: zkg install foo
# @TEST-EXEC: btest-diff state/logs/foo-build.log
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-cwd btest-diff state/testing/foo/clones/test.log

cd packages/foo
echo 'build_command = cd "%(package_base)s" && ls' >> zkg.meta
echo 'test_command = echo "%(package_base)s" > %(package_base)s/test.log' >> zkg.meta
git commit -am 'new stuff'