Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
-#!/usr/bin/env bash
+#!/bin/sh
if [ ! -z "$srcdir" ]; then
compare_ir=`pwd`/tests/compare_ir.py
echo "$pass/$total tests returned correct results"
echo ""
-if [[ $pass == $total ]]; then
+if [ $pass = $total ]; then
exit 0
else
exit 1
-#!/usr/bin/env bash
+#!/bin/sh
# Execute several shaders, and check that the InfoLog outcome is the expected.
echo "$pass/$total tests returned correct results"
echo ""
-if [[ $pass == $total ]]; then
+if [ $pass = $total ]; then
exit 0
else
exit 1