Sha256: 39dcb1ad05a7b3b43202359ee00c39e6d16007b84073a3c4bcc4175c01e24ef2
Contents?: true
Size: 798 Bytes
Versions: 1
Compression:
Stored size: 798 Bytes
Contents
#!/bin/bash BIN_HOME="$( cd "$( dirname "$0" )" && pwd )" TEST_HOME="$( cd "$BIN_HOME/.." && pwd )" LOG_HOME="$TEST_HOME/logs" image_name=$1 gem_name=$2 log_dir="$LOG_HOME/$image_name" echo " * Removing previous log file.." rm $log_dir/$gem_name*.log echo " * Installing $gem_name gem in $image_name .." $BIN_HOME/install_entry_in_docker "natives/$image_name" $gem_name | \ tee $log_dir/$gem_name.log echo " * Appending test status to log filename.." test_status=$( tail -n1 $log_dir/$gem_name.log ) new_log_file="$gem_name-FAILED.log" if [ "$test_status" == "SUCCESS" ]; then new_log_file="$gem_name-SUCCESS.log" elif [ "$test_status" == "FAILED" ]; then new_log_file="$gem_name-FAILED.log" else new_log_file="$gem_name-ERROR.log" fi mv $log_dir/$gem_name.log $log_dir/$new_log_file
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
natives-0.5.4 | catalogs_test/bin/test_entry |