Files
compute-runtime/scripts/tests/copyright/test.sh
Pawel Cieslak 1d4d806933 Refactor python scripts.
Change-Id: I442f5bf081d89369f7c71b0de2c99fd39b3ff942
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2019-12-03 14:20:53 +01:00

21 lines
337 B
Bash
Executable File

#!/bin/sh
#
# Copyright (C) 2018-2019 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
#
# Simple, file based tests for copyright script
# script return non-zero error code if something went wrong.
# diff output is printed
#
../../lint/set_copyright.py in/*
for i in in/*
do
fn=$(basename $i)
diff -du in/$fn out/$fn
done