From db86fa3cb48a54ea614baee6dc02308be1649571 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 6 Feb 2020 18:15:57 +0100 Subject: Added headers --- Makefile | 12 ++++++++++++ check_leaks.c | 12 ++++++++++++ generate.py | 12 ++++++++++++ header.h | 12 ++++++++++++ helper.c | 12 ++++++++++++ main.c | 12 ++++++++++++ prettier.py | 12 ++++++++++++ save_failed.py | 12 ++++++++++++ tests/moulitest_tests.c | 12 ++++++++++++ tests/pft_tests.c | 12 ++++++++++++ tests/printf_tester_tests.c | 12 ++++++++++++ tests/printf_tests_tests.c | 12 ++++++++++++ tests/tests.h | 12 ++++++++++++ 13 files changed, 156 insertions(+) diff --git a/Makefile b/Makefile index 2c69d10..eb3b297 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,15 @@ +# **************************************************************************** # +# # +# ::: :::::::: # +# Makefile :+: :+: :+: # +# +:+ +:+ +:+ # +# By: cacharle +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2020/02/06 18:13:15 by cacharle #+# #+# # +# Updated: 2020/02/06 18:13:19 by cacharle ### ########.fr # +# # +# **************************************************************************** # + FT_PRINTF_PATH = ../ft_printf CC = gcc diff --git a/check_leaks.c b/check_leaks.c index f8e9941..ff16e9c 100644 --- a/check_leaks.c +++ b/check_leaks.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* check_leaks.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/06 18:14:36 by cacharle #+# #+# */ +/* Updated: 2020/02/06 18:14:37 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include #include "header.h" diff --git a/generate.py b/generate.py index a08600e..9dc114d 100644 --- a/generate.py +++ b/generate.py @@ -1,3 +1,15 @@ +# **************************************************************************** # +# # +# ::: :::::::: # +# generate.py :+: :+: :+: # +# +:+ +:+ +:+ # +# By: cacharle +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2020/02/06 18:13:26 by cacharle #+# #+# # +# Updated: 2020/02/06 18:13:28 by cacharle ### ########.fr # +# # +# **************************************************************************** # + import os import sys import argparse diff --git a/header.h b/header.h index 8387561..4e97c9f 100644 --- a/header.h +++ b/header.h @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* header.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/06 18:13:32 by cacharle #+# #+# */ +/* Updated: 2020/02/06 18:13:33 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #ifndef FT_PRINTF_TEST_HEADER_H # define FT_PRINTF_TEST_HEADER_H diff --git a/helper.c b/helper.c index 79af974..d6ae531 100644 --- a/helper.c +++ b/helper.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* helper.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/06 18:13:38 by cacharle #+# #+# */ +/* Updated: 2020/02/06 18:13:39 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include #include #include diff --git a/main.c b/main.c index eebe845..0ba22ae 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* main.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/06 18:13:45 by cacharle #+# #+# */ +/* Updated: 2020/02/06 18:13:47 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include #include "header.h" #include "tests/tests.h" diff --git a/prettier.py b/prettier.py index 439369c..16a10f1 100644 --- a/prettier.py +++ b/prettier.py @@ -1,3 +1,15 @@ +# **************************************************************************** # +# # +# ::: :::::::: # +# prettier.py :+: :+: :+: # +# +:+ +:+ +:+ # +# By: cacharle +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2020/02/06 18:13:52 by cacharle #+# #+# # +# Updated: 2020/02/06 18:13:54 by cacharle ### ########.fr # +# # +# **************************************************************************** # + import os import sys import re diff --git a/save_failed.py b/save_failed.py index fc2aebf..a6d37ba 100644 --- a/save_failed.py +++ b/save_failed.py @@ -1,3 +1,15 @@ +# **************************************************************************** # +# # +# ::: :::::::: # +# save_failed.py :+: :+: :+: # +# +:+ +:+ +:+ # +# By: cacharle +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2020/02/06 18:14:52 by cacharle #+# #+# # +# Updated: 2020/02/06 18:14:53 by cacharle ### ########.fr # +# # +# **************************************************************************** # + if __name__ == "__main__": error_lines = [] with open("result.log") as logs: diff --git a/tests/moulitest_tests.c b/tests/moulitest_tests.c index 29977a3..60e69a8 100644 --- a/tests/moulitest_tests.c +++ b/tests/moulitest_tests.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* moulitest_tests.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/06 18:15:03 by cacharle #+# #+# */ +/* Updated: 2020/02/06 18:15:04 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include #include "../header.h" diff --git a/tests/pft_tests.c b/tests/pft_tests.c index 0c3455f..3ab8083 100644 --- a/tests/pft_tests.c +++ b/tests/pft_tests.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* pft_tests.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/06 18:15:10 by cacharle #+# #+# */ +/* Updated: 2020/02/06 18:15:11 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include "../header.h" void test_pft_nacked(void) diff --git a/tests/printf_tester_tests.c b/tests/printf_tester_tests.c index bd178e1..7bdf9de 100644 --- a/tests/printf_tester_tests.c +++ b/tests/printf_tester_tests.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* printf_tester_tests.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/06 18:15:31 by cacharle #+# #+# */ +/* Updated: 2020/02/06 18:15:32 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include #include "../header.h" diff --git a/tests/printf_tests_tests.c b/tests/printf_tests_tests.c index 917a65b..efe19a5 100644 --- a/tests/printf_tests_tests.c +++ b/tests/printf_tests_tests.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* printf_tests_tests.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/06 18:15:38 by cacharle #+# #+# */ +/* Updated: 2020/02/06 18:15:39 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include #include "../header.h" diff --git a/tests/tests.h b/tests/tests.h index 8b045e1..e7e48ab 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* tests.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/06 18:15:44 by cacharle #+# #+# */ +/* Updated: 2020/02/06 18:15:46 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #ifndef FT_PRINTF_TEST_TESTS_H # define FT_PRINTF_TEST_TESTS_H -- cgit