File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash -eu
1+ #! /bin/bash -eux
22# Copyright 2019 Google Inc.
33#
44# Licensed under the Apache License, Version 2.0 (the "License");
2020cd $SRC /mruby
2121export LD=$CC
2222export LDFLAGS=" $CFLAGS "
23- rake -m test
23+ rake all
24+ rake test
2425
2526# build fuzzers
2627FUZZ_TARGET=$SRC /mruby/oss-fuzz/mruby_fuzzer.c
Original file line number Diff line number Diff line change 1515#
1616# ###############################################################################
1717
18+ (
1819export LD=$CC
1920export LDFLAGS=" $CFLAGS "
2021cd $SRC /mruby
21- rake -m test
22+ rake test >> /tmp/test.out 2>&1
23+ )
24+
25+ # Validate if the tests were successful based on the printed output. We expect
26+ # 165x tests to succeed and some tests skipped. I suspect the skipping causes
27+ # rake to return an error code. However, in normal circumastances we see
28+ # 9 tests skipped.
29+ grep " OK: 165" /tmp/test.out
You can’t perform that action at this time.
0 commit comments