mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
this works for: - C/C++ files - files where comment is # Change include set of simple tests. Change-Id: I1c08c6c359e2a48957d5d81397c439508ae06c42 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
21 lines
339 B
Bash
Executable File
21 lines
339 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2018 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
|
|
#
|
|
|
|
python ../../lint/set_copyright.py in/*
|
|
|
|
for i in in/*
|
|
do
|
|
fn=$(basename $i)
|
|
diff -du in/$fn out/$fn
|
|
done
|