Skip to content

Commit

Permalink
build process edits
Browse files Browse the repository at this point in the history
  • Loading branch information
skramm committed Mar 1, 2024
1 parent 296f5be commit 04140ba
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 27 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,14 @@ demo: $(EXEC_FILES)

# build and run the tests apps, and compare to the expected output
test: $(EXEC_FILES_T) nobuild
for f in $(EXEC_FILES_T); \
cd $(BIN_DIR); for f in $(EXEC_FILES_T); \
do \
echo -e "\n***********************************\nRunning test program $$f:"; \
./$$f >BUILD/$$(basename $$f).stdout; \
cmp tests/$$(basename $$f).stdout BUILD/$$(basename $$f).stdout; \
./$$(basename $$f) >$$(basename $$f).stdout; \
cmp ../../tests/$$(basename $$f).stdout $$(basename $$f).stdout; \
done;
mv *.dot BUILD/

# mv *.dot BUILD/


NOBUILD_SRC_FILES := $(wildcard tests/nobuild_*.cpp)
Expand Down
40 changes: 20 additions & 20 deletions misc/project.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Compiler>
<Add option="-Wall" />
</Compiler>
<Unit filename="CHANGELOG" />
<Unit filename="Makefile" />
<Unit filename="README.md" />
<Unit filename="../CHANGELOG" />
<Unit filename="../Makefile" />
<Unit filename="../README.md" />
<Unit filename="../docs/spaghetti_changelog.md" />
<Unit filename="../docs/spaghetti_devinfo.md" />
<Unit filename="../docs/spaghetti_faq.md" />
Expand All @@ -22,7 +22,7 @@
<Unit filename="../docs/spaghetti_rendering.md" />
<Unit filename="../docs/spaghetti_summary.md" />
<Unit filename="../docs/spaghetti_timeout.md" />
<Unit filename="../doxyfile" />
<Unit filename="../misc/doxyfile" />
<Unit filename="../spaghetti.hpp" />
<Unit filename="../src/common_stuff_samples.hpp" />
<Unit filename="../src/doc_fig_1.cpp" />
Expand All @@ -35,7 +35,7 @@
<Unit filename="../src/sample_3.cpp" />
<Unit filename="../src/sample_3b.cpp" />
<Unit filename="../src/sample_3c.cpp" />
<Unit filename="../src/spaghetti.css" />
<Unit filename="../misc/spaghetti.css" />
<Unit filename="../src/traffic_lights_1.cpp" />
<Unit filename="../src/traffic_lights_1b.cpp" />
<Unit filename="../src/traffic_lights_1c.cpp" />
Expand All @@ -46,21 +46,21 @@
<Unit filename="../src/turnstyle_1.cpp" />
<Unit filename="../src/turnstyle_2.cpp" />
<Unit filename="../src/udp_server.hpp" />
<Unit filename="../test/nobuild_1.cpp" />
<Unit filename="../test/nobuild_2.cpp" />
<Unit filename="../test/nobuild_3.cpp" />
<Unit filename="../test/nobuild_4.cpp" />
<Unit filename="../test/nobuild_5.cpp" />
<Unit filename="../test/nobuild_6.cpp" />
<Unit filename="../test/readme.txt" />
<Unit filename="../test/testA_1.cpp" />
<Unit filename="../test/testA_1.stdout" />
<Unit filename="../test/testA_2.cpp" />
<Unit filename="../test/testA_2.stdout" />
<Unit filename="../test/testA_3.cpp" />
<Unit filename="../test/testA_3.stdout" />
<Unit filename="../test/testB_4.cpp" />
<Unit filename="../test/testB_5.cpp" />
<Unit filename="../tests/nobuild_1.cpp" />
<Unit filename="../tests/nobuild_2.cpp" />
<Unit filename="../tests/nobuild_3.cpp" />
<Unit filename="../tests/nobuild_4.cpp" />
<Unit filename="../tests/nobuild_5.cpp" />
<Unit filename="../tests/nobuild_6.cpp" />
<Unit filename="../tests/readme.txt" />
<Unit filename="../tests/testA_1.cpp" />
<Unit filename="../tests/testA_1.stdout" />
<Unit filename="../tests/testA_2.cpp" />
<Unit filename="../tests/testA_2.stdout" />
<Unit filename="../tests/testA_3.cpp" />
<Unit filename="../tests/testA_3.stdout" />
<Unit filename="../tests/testB_4.cpp" />
<Unit filename="../tests/testB_5.cpp" />
<Extensions>
<lib_finder disable_auto="1" />
</Extensions>
Expand Down
4 changes: 2 additions & 2 deletions misc/spaghetti.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ code
background-color: #eec;
}

li{
/*li{
margin-top:.5em;
margin-bottom:.5em;
}
}*/
body {
counter-reset: h1counter;
}
Expand Down
2 changes: 1 addition & 1 deletion src/udp_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ typedef unsigned char BYTE;
/**
Callback: upon each reception of data, a callback function is called
The user of this class needs to provide a function getResponse()
The user of this class needs to provide a member function \c getResponse()
that will return the data that needs to be send back.
The boost::io_service is assumed to be started externally
Expand Down

0 comments on commit 04140ba

Please sign in to comment.