Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
avagin committed Feb 20, 2016
1 parent 9273484 commit 4600f73
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ services:
- docker
env:
- TR_ARCH=x86_64
- TR_ARCH=armv7hf
- TR_ARCH=aarch64
# - TR_ARCH=armv7hf
# - TR_ARCH=aarch64
compiler:
- gcc
before_install:
- sudo make -C scripts/build $TR_ARCH
- sudo apt-get update -qq
- sudo apt-get install -qq util-linux strace
- sudo apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev libnl-3-dev
# - sudo make -C scripts/build $TR_ARCH
script:
- test "$TR_ARCH" != "x86_64" || sudo sh -c 'make && make -C test/zdtm && python test/zdtm.py run -t zdtm/live/static/env00'
2 changes: 2 additions & 0 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ fault-injection: .FORCE

override CFLAGS += -D_GNU_SOURCE

zdtm_ct: zdtm_ct.c

clean_root:
$(Q) $(RM) -r ./lib/
$(Q) $(RM) -r ./lib64/
Expand Down
2 changes: 1 addition & 1 deletion test/zdtm.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def available():
subprocess.check_call(["make", "zdtm_ct"])
if not os.access("zdtm/lib/libzdtmtst.a", os.F_OK):
subprocess.check_call(["make", "-C", "zdtm/"])
subprocess.check_call(["flock", "zdtm_mount_cgroups", "./zdtm_mount_cgroups"])
subprocess.check_call(["strace", "flock", "zdtm_mount_cgroups", "./zdtm_mount_cgroups"])


class inhfd_test:
Expand Down

0 comments on commit 4600f73

Please sign in to comment.