things
This commit is contained in:
parent
c94e713b1d
commit
c9b97a5f97
10 changed files with 199 additions and 0 deletions
20
scripts/test_debug.sh
Normal file
20
scripts/test_debug.sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
date="$(date +%Y-%j-%H-%M-%S)"
|
||||
|
||||
python_args="-d -v"
|
||||
owo_args=""
|
||||
|
||||
_rst=$PWD
|
||||
dir=".debug/runs/$date"
|
||||
mkdir -p $dir
|
||||
|
||||
touch $dir/stdout.term
|
||||
touch $dir/stderr.term
|
||||
|
||||
python3 $python_args owo/__main__.py $owo_args > $dir/stdout.term 2> $dir/stderr.term
|
||||
|
||||
7z a -m0=LZMA2 -mx9 -sdel -ssw -t7z -- $dir.7z $dir/*
|
||||
rm -rfv $dir
|
||||
|
||||
printf "done"
|
Loading…
Add table
Add a link
Reference in a new issue