Sha256: ddb21c855d23c2143b457f1b30c87a0f2c30fa785b902f43cf90a58c45e50436

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

#!/bin/bash

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

for dir in $TEST_HOME/images/*/
do
  image_name=$(basename $dir)

  log_dir="$LOG_HOME/$image_name"
  echo " * Cleaning up logs: $log_dir .."
  mkdir -p $log_dir
  rm -rf $log_dir/*

  gems="$( $BIN_HOME/list_all )"
  echo " * To test entries in $image_name image: $gems"
  for gem_name in $gems
  do
    $BIN_HOME/test_entry $image_name $gem_name
  done
done

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
natives-0.5.4 catalogs_test/bin/test_catalog