---
platform: linux
image_resource:
  type: docker-image
  source:
    repository: cloudfoundry/cflinuxfs2
inputs:
  - name: build-tar
run:
  path: bash
  args:
    - "-c"
    - |
      apt-get update
      apt-get install -y automake \
      libaspell-dev \
      libc-client2007e-dev \
      libcurl4-openssl-dev \
      libexpat1-dev \
      libgdbm-dev \
      libgmp-dev \
      libjpeg-dev \
      libldap2-dev \
      libmcrypt-dev \
      libmemcached-dev \
      libpng12-dev \
      libpspell-dev \
      libreadline-dev \
      libsasl2-dev \
      libsnmp-dev \
      libsqlite3-dev \
      libssl-dev \
      libzip-dev \
      libzookeeper-mt-dev \
      mercurial \
      snmp-mibs-downloader
      tar xzf build-tar/binary-builder-source.tgz -C /tmp
      cd /tmp/x86_64-linux-gnu/ports/php/*/*/
      yes n | env REPORT_EXIT_STATUS=1 make test

---
platform: linux
image_resource:
  type: docker-image
  source:
    repository: cloudfoundry/cflinuxfs2
inputs:
  - name: build-tar
run:
  path: bash
  args:
    - "-c"
    - |
      apt-get update
      apt-get install -y automake \
      libaspell-dev \
      libc-client2007e-dev \
      libcurl4-openssl-dev \
      libexpat1-dev \
      libgdbm-dev \
      libgmp-dev \
      libjpeg-dev \
      libldap2-dev \
      libmcrypt-dev \
      libmemcached-dev \
      libpng12-dev \
      libpspell-dev \
      libreadline-dev \
      libsasl2-dev \
      libsnmp-dev \
      libsqlite3-dev \
      libssl-dev \
      libzip-dev \
      libzookeeper-mt-dev \
      mercurial \
      snmp-mibs-downloader
      tar xzf build-tar/binary-builder-source.tgz -C /tmp
      cd /tmp/x86_64-linux-gnu/ports/php7/*/*/
      yes n | env REPORT_EXIT_STATUS=1 make test

Use correct directory for php7 upstream unit tests
Use correct directory for php7 upstream unit tests

[#113122547]

Signed-off-by: Sam Smith <03a07629efb0a02c7bbe7cc340a4243da1ab861a@gmail.com>
