diff --git a/tests/auto/generatedefines.sh b/tests/auto/generatedefines.sh index 350afd1a..c311b982 100755 --- a/tests/auto/generatedefines.sh +++ b/tests/auto/generatedefines.sh @@ -1,7 +1,29 @@ #!/bin/bash echo generating defines... $@ -echo \#include \ > testdefines.h + +cat << EOF > testdefines.h +/**************************************************************************** + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + ***************************************************************************/ + +#include +EOF + for i in $@; do echo \#include \"${i,,}.h\" >> testdefines.h done diff --git a/tests/auto/testdevices.cpp b/tests/auto/testdevices.cpp index 4e7df10f..df4be1db 100644 --- a/tests/auto/testdevices.cpp +++ b/tests/auto/testdevices.cpp @@ -1,3 +1,21 @@ +/**************************************************************************** + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + ***************************************************************************/ + #include "testdevices.h" #include "guhcore.h" #include "devicemanager.h" diff --git a/tests/auto/testdevices.h b/tests/auto/testdevices.h index 35bd875f..0ca2e3de 100644 --- a/tests/auto/testdevices.h +++ b/tests/auto/testdevices.h @@ -1,3 +1,21 @@ +/**************************************************************************** + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + ***************************************************************************/ + #ifndef TESTDEVICES_H #define TESTDEVICES_H diff --git a/tests/auto/testjsonrpc.h b/tests/auto/testjsonrpc.h index b17d5f4c..0d82035d 100644 --- a/tests/auto/testjsonrpc.h +++ b/tests/auto/testjsonrpc.h @@ -1,3 +1,21 @@ +/**************************************************************************** + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + ***************************************************************************/ + #ifndef TESTJSONRPC_H #define TESTJSONRPC_H diff --git a/tests/auto/testversioning.h b/tests/auto/testversioning.h index 1ba4536a..a7b257fb 100644 --- a/tests/auto/testversioning.h +++ b/tests/auto/testversioning.h @@ -1,3 +1,21 @@ +/**************************************************************************** + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + ***************************************************************************/ + #ifndef TESTVERSIONING_H #define TESTVERSIONING_H