Get a clone of the YDBTest repository:
gtmtest runs from a copy of the test source that must be at $gtm_test. Make this copy as follows:
tsync is an alias (defined by .cshrc via test_env.csh), that creates a copy of your test source directory. Your test source directory is taken to be the git repository of your current directory. Strictly, you need to run tsync before running a test, every time you change the source code; but the test-running aliases (e.g. gtmtest) that are defined in test_env.csh will do this for you. Here is a simplified version of tsync:
--
You received this message because you are subscribed to the Google Groups "Everything MUMPS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to everythingmum...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/everythingmumps/f30c3fb6-35aa-4ebc-ae2b-fc2b273ee9f4n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion visit https://groups.google.com/d/msgid/everythingmumps/2321ee51-f9aa-4725-bdcd-d1b6456f280bn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/everythingmumps/19d7a1a9-f852-42b8-9178-e80aa47d7817n%40googlegroups.com.
FYI, I just tried gtmtest -t r134 on my system inside of the docker shell, and the output is as follows:
Answering your questions:A. using my tmgtest docker image, I will be able to ask the image to run a particular test. This will launch gtmtest against my code, and it will likely confirm the various tests which my modified code fails. But how to debug?The process of using the test system is as follows:1. Run the failing test.2. Navigate to directory /testarea1/<random name in the test>/<test_suite>_0/<test_name>3. Diff the .cmp (expected output) and .log (actual output) files. See where they exactly differ.4. Read the source code of the test in <test_suite>/u_inref/<test_name>.csh and see what command exactly caused that problem.5. Construct a simple test case based on #46. Use a debugging facilities with the new version vs the old version with the test case in #5You may find out that the error is so obvious that you can skip some steps. Other times the error is way way deep in Linux system libraries that it's hard to figure out why the behavior changed.--Sam
--
You received this message because you are subscribed to the Google Groups "Everything MUMPS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to everythingmum...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/everythingmumps/10c7fb47-e9a4-42c6-8302-73593be0e183n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/everythingmumps/31c92bf1-80d5-4185-92ef-9eef693c9d2en%40googlegroups.com.
> Any advice about how to get this going?I am sorry. It's quite complex to get it going... It usually takes around 2 days to set-up with assistance. You are on your own if you want to do that.