#!/bin/bash if [[ ${YOGA_FIXTURE_DIR+dummy} == "" ]]; then echo "Error: YOGA_FIXTURE_DIR not set"; echo "Please set the YOGA_FIXTURE_DIR environment variable to the absolute path of the gentest/fixtures dir in a local copy of the yoga repo"; exit 1; fi if [ ! -d "$YOGA_FIXTURE_DIR" ]; then echo "YOGA_FIXTURE_DIR directory $YOGA_FIXTURE_DIR does not exist." exit 1; fi YOGA_TEST_LIST=$(rg '