Skip to content
KarlLeclerc edited this page Sep 5, 2017 · 5 revisions

Checker is a command line program that allows you to make sure your clist.txt has the proper syntax so it will work correctly with Xchecklist. This is a stand alone program so it can be run anywhere you like. It comes in three versions to match the platform and bit size you are running.

On 64 bit Linux the syntax would be “lin_checker_64bit clist.txt 1”

The first argument is the name of the checklist you want to check.

With only the checklist name as a first argument and no second argument, the checker performs a simple syntax check with minimal output, most useful during checklist development.

The second argument is optional and is a number 1 – 4.

1 Will print out parser internal working (good for parser/lexer development).

2 Will evaluate expressions.

3 Will do both 1 & 2.

4 Will do regression testing. Look in regres_test1.txt for explanation and examples.

The way I have been using the checker is I have a folder called Xchecklist_Checker where the checker and a dataref dictionary or dictionaries reside.

A dataref dictionary is a text file starting with clist_dict_ that is a list of datarefs like DataRefTool’s drt_last_run_datarefs.txt found in X-Plane Output/preferences. In this case the dictionary would be named clist_dict_drt_last_run_datarefs.txt and put in a folder named Xchecklist_Checker.

To execute properly, you need to set the active working directory to the directory where all the files (checker, checklist and dictionary) are located. The following procedure simplifies the process:

Open terminal window and type CD, followed by a space. Then drag the Xchecklist_Checker folder into the terminal window. Press enter. You have just set the active directory

Next drag the checker file into the terminal window. This will type the checker command with its pathname for you.

Next drag the checklist name which can be from anywhere you are going to test into the terminal and press enter.

Clone this wiki locally