Skip to content

Commit

Permalink
Issue #192: extract the OTOBO version from RELEASE
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Sep 24, 2020
1 parent 41514e5 commit 9acfebc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/docker/run_test_suite.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/usr/bin/env bash

bin/otobo.Console.pl Dev::UnitTest::Run --verbose >prove_10_1_$(date +'%F-%H%M%S').out 2>&1
# generate an informative log file name
otobo_version=$(perl -lne 'print $1 if /VERSION\s*=\s*(\S+)/' < RELEASE)
time_stamp=$(date +'%F-%H%M%S')
log_file="prove_${otobo_version}_${time_stamp}.out"

# run the test suite
bin/otobo.Console.pl Dev::UnitTest::Run --verbose >$log_file 2>&1

0 comments on commit 9acfebc

Please sign in to comment.