File: TODO.Dockerfile.testing.php.hhvm_2019_01_16

package info (click to toggle)
golang-github-google-flatbuffers 24.3.25-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 17,364 kB
  • sloc: cpp: 49,726; python: 6,901; cs: 5,566; java: 4,370; ansic: 2,512; php: 1,460; javascript: 1,053; xml: 1,016; sh: 870; makefile: 13
file content (18 lines) | stat: -rw-r--r-- 779 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This does not pass tests due to the following error:
#
# Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Google\FlatBuffers\ByteBuffer::getX() expects parameter 1 by reference, but the call was not annotated with '&'. in /code/php/FlatbufferBuilder.php:971
# Stack trace:
# #0 /code/tests/phpTest.php(277): Google\FlatBuffers\FlatbufferBuilder->sizedByteArray()
# #1 /code/tests/phpTest.php(79): fuzzTest1()
# #2 /code/tests/phpTest.php(86): main()
# #3 {main}
#   thrown in in /code/php/FlatbufferBuilder.php:971
FROM hhvm/hhvm:2019.01.16 as base
WORKDIR /code
ADD . .
RUN cp flatc_debian_stretch flatc
WORKDIR /code/tests
RUN hhvm --version
RUN hhvm phpTest.php
RUN ../flatc --php -o php union_vector/union_vector.fbs
RUN hhvm phpUnionVectorTest.php