Sha256: d3e28ec0cb844fccbe622501579a0c044da21b5340a25468581fd949e9131231

Contents?: true

Size: 627 Bytes

Versions: 3

Compression:

Stored size: 627 Bytes

Contents

#!/bin/bash

BIN_HOME="$( cd "$( dirname "$0" )" && pwd )"
TEST_HOME="$( cd "$BIN_HOME/.." && pwd )"
LOG_HOME="$TEST_HOME/logs"

default_image_names="$( ls $TEST_HOME/images )"
image_names=${1:-$default_image_names}
for image_name in $image_names
do
  log_dir="$LOG_HOME/$image_name"
  echo " * Cleaning up logs: $log_dir .."
  mkdir -p $log_dir
  rm -rf $log_dir/*
done

gems="$( $BIN_HOME/list_all )"

#for image_name in $image_names; do
  #for gem in $gems; do
    #$BIN_HOME/test_entry $image_name $gem
  #done
#done

# Experimental: run test in parallel
parallel --gnu -j+0 $BIN_HOME/test_entry ::: $image_names ::: $gems

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
natives-0.6.2 catalogs_test/bin/test_catalog
natives-0.6.1 catalogs_test/bin/test_catalog
natives-0.6.0 catalogs_test/bin/test_catalog