Correct paths in test.sh.
Change-Id: I94fda27e4401a71242ec202dcd50591d0e4ddbb4 Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
parent
8fd1e8c511
commit
76400ff32f
|
@ -11,16 +11,18 @@
|
|||
# diff output is printed
|
||||
#
|
||||
|
||||
script_directory=$(dirname "$0")
|
||||
|
||||
python_interpreter="python3"
|
||||
|
||||
if [[ "$OSTYPE" == "msys" ]]; then
|
||||
python_interpreter="python"
|
||||
fi
|
||||
|
||||
$python_interpreter ../../lint/set_copyright.py in/*
|
||||
$python_interpreter "${script_directory}/../../lint/set_copyright.py" "${script_directory}"/in/*
|
||||
|
||||
for i in in/*
|
||||
for i in "${script_directory}"/in/*
|
||||
do
|
||||
fn=$(basename $i)
|
||||
diff -du in/$fn out/$fn
|
||||
diff -du "${script_directory}/in/${fn}" "${script_directory}/out/${fn}"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue