Commit Graph

61 Commits

Author SHA1 Message Date
Jake Goodwin b83b28af84 removed filecheck for formatting file. 2024-08-04 09:28:22 -07:00
Jake Goodwin c734ede4e6 fixed cli flags
The style flag/option needed to be changed. Also removed problamatic line from config.
2024-08-04 09:27:15 -07:00
Jake Goodwin 0a9d348710 added option
Added the inplace editing option.
2024-08-04 08:43:07 -07:00
Jake Goodwin 0723cb259b Added function for clang formatting.
The shell function finds all the C source and header files in the './src' directory; then it
applies the formatting specified in the .clang-format file.

Right now it only runs when the ctests shell function is called.
2024-08-04 08:40:53 -07:00
Jake Goodwin 77364c22d1 Updated to 'Allman' or 'BSD' style.
This is what I found on a stackoverflow post for their recommended settings for the allman style.
I'm going to try it for awhile and see what I think.
2024-08-04 08:11:49 -07:00
Jake Goodwin 385abf37ea Adding a formating file.
The '.clang-format' file is a configuration file for the llvm/clang formatting tools.
2024-08-04 07:56:05 -07:00
jakeg00dwin e499ac44cf Added and included the "inc" directory in the project root. Also added in line to include the mocks dir 2024-06-14 13:38:04 -07:00
jakeg00dwin e4a6978b57 fixed issue with external linkage of "C" files 2024-03-20 16:10:10 -07:00
jakeg00dwin 92b16a0244 updated to use the fancy regex sed flag 2024-03-20 14:10:05 -07:00
jakeg00dwin 352c849e44 removed the blank file 2024-03-20 14:09:52 -07:00
jakeg00dwin bdc62f3224 updated to be more consistant with test file naming 2024-03-20 14:03:15 -07:00
jakeg00dwin 8cc19edbe3 fixed typo in cmake template file 2024-03-20 13:55:03 -07:00
jakeg00dwin 6dea8022ec removed dead code 2024-03-20 13:43:03 -07:00
jakeg00dwin be025d228e changed to use new flag in regex operations 2024-03-20 13:40:52 -07:00
jakeg00dwin 6c7907f5c0 updated with new function for compile commands. 2024-03-20 12:47:48 -07:00
jakeg00dwin 0ba7b8d295 changed to only compile the 'AllTests' and it dependencies. 2024-03-20 12:43:02 -07:00
jakeg00dwin eca69df689 added line to account for new linkage issues with cpputest. 2024-03-20 12:39:03 -07:00
jakeg00dwin 5c2e1593bd setup to use regex for adding module to test's cmake file. 2024-03-20 12:35:13 -07:00
jakeg00dwin 599822b932 Added comment for automation use. 2024-03-18 19:30:40 -07:00
jakeg00dwin 07a6b7d447 added link libraries and include dirs 2024-03-16 13:47:56 -07:00
jakeg00dwin 504998b727 edited to target the cpp test 2024-03-16 13:47:37 -07:00
jakeg00dwin 4c78b58973 changed the test template to target cpputest 2024-03-16 13:42:47 -07:00
jakeg00dwin 04352629b2 removed the old C file 2024-03-16 13:39:07 -07:00
jakeg00dwin 221b4f05a9 changed to match the currently working cpp test file 2024-03-16 13:39:00 -07:00
jakeg00dwin 52f311625b added an empty cmake file into mocks 2024-03-15 14:23:11 -07:00
jakeg00dwin 226f3053ad cleaned up old lines 2024-03-15 14:21:48 -07:00
jakeg00dwin 73583fd725 imported the test group 2024-03-15 14:20:36 -07:00
jakeg00dwin f687b3b400 Added correct linked libs to the simple_test 2024-03-15 14:20:08 -07:00
jakeg00dwin 46710be9b5 edited to first include the simple_test directory, also using the correct link libs now 2024-03-15 14:19:45 -07:00
jakeg00dwin 46da670968 removed dead code 2024-03-15 14:19:17 -07:00
jakeg00dwin 738c875bc6 modifed to run the tests using the AllTests executable 2024-03-15 14:19:10 -07:00
jakeg00dwin a15bed2326 tried adding to linked libs 2024-03-15 13:47:40 -07:00
jakeg00dwin d7af8bc2e4 added the C++/11 directory to includes 2024-03-15 13:47:21 -07:00
jakeg00dwin 20b7c8cb38 updated for tests 2024-03-15 13:47:06 -07:00
jakeg00dwin 391d08ec7c added the exexcutable target main 2024-03-15 13:46:33 -07:00
jakeg00dwin 0a44fdd1fb added body to main.c 2024-03-15 13:46:25 -07:00
jakeg00dwin 9b0137c9aa added the simple test 2024-03-12 22:42:14 -07:00
jakeg00dwin 273a74cba8 switched back to C17/CXX17 for compiler compat 2024-03-12 22:42:01 -07:00
jakeg00dwin 151aec769a added the compile commands symlink 2024-03-12 22:39:28 -07:00
jakeg00dwin ea1deb6e3c changed standards to 18 2024-03-12 22:39:13 -07:00
jakeg00dwin caf281b927 modified the test runners 2024-03-12 22:39:03 -07:00
jakeg00dwin 489676a3d0 added more files to ignore 2024-03-12 22:38:22 -07:00
jakeg00dwin 146573eddd added a bunch of files to ignore from the build dir 2024-03-06 22:09:48 -08:00
jakeg00dwin 31605803de removed the add_subdirectory() call in tests 2024-03-06 22:09:40 -08:00
jakeg00dwin c284745e23 updated to check the git submodule for the header files needed. 2024-03-06 22:09:26 -08:00
jakeg00dwin f7a06af54f added some stuff I found on a blog 2024-03-06 22:01:53 -08:00
jakeg00dwin 36fea871c2 moved the OS stuff to the top 2024-03-06 22:01:43 -08:00
jakeg00dwin 47421d2620 removed the old project specific lines 2024-03-06 22:01:25 -08:00
jakeg00dwin d79d1ae86f updated the build_cpputest() shell function 2024-03-06 21:47:04 -08:00
jakeg00dwin df655e13b0 updated with new section for unit testing stuff 2024-03-06 21:46:41 -08:00