<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kmi/tests/Makefile, branch master</title>
<subtitle>ACTIVE - Kernel with migrating threads as IPC</subtitle>
<id>https://metanimi.dy.fi/cgit/kmi/atom?h=master</id>
<link rel='self' href='https://metanimi.dy.fi/cgit/kmi/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/'/>
<updated>2024-11-01T08:27:36Z</updated>
<entry>
<title>rpc actually marks and unmarks stack regions</title>
<updated>2024-11-01T08:27:36Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2024-10-30T11:34:18Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=f139fff6ae7063c1965fa3085bb2585d7d838d72'/>
<id>urn:sha1:f139fff6ae7063c1965fa3085bb2585d7d838d72</id>
<content type='text'>
+ Processes won't be able to read previous stack frames etc
</content>
</entry>
<entry>
<title>small fixes to issues reported by analyzer</title>
<updated>2024-08-17T21:17:35Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2024-08-17T21:17:35Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=ab011165cd440b5535d39febd8118e3e26b64b57'/>
<id>urn:sha1:ab011165cd440b5535d39febd8118e3e26b64b57</id>
<content type='text'>
+ Currently analyzer has to be run manually with something like

	make CFLAGS='-fanalyzer -Wno-analyzer-infinite-loop'

  I use an infinite loop as an assert, I know it's not great/technically
  UB but it's just a fallback.

+ Analyzer is still somewhat limited, I could add in more
  attributes about different functions, such as memory allocation sizes
  etc.

+ If I ever set up a CI pipeline, remember to use analyzer?
</content>
</entry>
<entry>
<title>make tests a bit more sensible</title>
<updated>2024-07-17T19:02:47Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2024-07-17T19:02:47Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=1a0d61b33c2365cf413bf584289058d0d9097377'/>
<id>urn:sha1:1a0d61b33c2365cf413bf584289058d0d9097377</id>
<content type='text'>
+ At least by my standards. Some amount of scripting going on, but
  should still be fine.

  Effectively, source.mk contains information to build the test,
  check.mk checks the generated log from running the test. As a results,
  check.mk should output OK into reports/$TEST/OK if everything went
  well, and anything else otherwise. The user can then look at
  reports/$TEST/log to see what went wrong.

  I expect to add some more features, such as starting QEMU with gdb and
  running a single test a bit easier than right now (same limitation as
  in the top level makefile, i.e. you have to specify

	make -f scripts/makefile $TEST

  from within `tests` and you must have ran `make check` at that point
  so that `tests.mk` is fully generated. Not huge issues, but slightly
  annoying, somewhat unsure how to work around them properly but we'll
  see.
</content>
</entry>
<entry>
<title>fix make clean</title>
<updated>2024-07-09T19:25:07Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2024-07-09T19:25:07Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=0c6ba17b2f08d05195cdbaeba4607fdd8d000775'/>
<id>urn:sha1:0c6ba17b2f08d05195cdbaeba4607fdd8d000775</id>
<content type='text'>
</content>
</entry>
<entry>
<title>start working on tests</title>
<updated>2024-07-09T19:12:27Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2024-07-09T19:12:27Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=e8a1df103cc28419dd7d4439c0b1d1739d110f78'/>
<id>urn:sha1:e8a1df103cc28419dd7d4439c0b1d1739d110f78</id>
<content type='text'>
+ Current setup will likely not last long, just a stopgap until I figure
  out how I want to build each testcase etc.

  Probably dir based, but I'll probably add some scripts that generate
  the build rules for each test case (or binary?). Also, should probably
  put ouput files in a build directory and keep the source clean, but
  again, good enough for now.

  Will have to start implementing more extensive tests, and probably
  come up with some way to compare textual output etc.
</content>
</entry>
</feed>
