Project Ara Test Bench Basics¶
Configuring¶
If you don’t already have a test bench folder in your project, create one:
- In the GME Browser, right-click on the RootFolder.
- Select Insert Folder –> Testing.
- The default name of this folder is Testing, but you may rename it if you like.
Next, we must create a copy of the test bench we want to use.
- In the GME Browser, expand the purple folder labeled TestBenches.
- Expand the folder labeled AraTestBenches.
- Right-click on the test bench you want to use, and select Copy.
- Right-click on your test bench folder and select Paste.
Next, we must place your design or design space into the test bench.
- Open your copy of the test bench.
- Right-click on your design, drag it onto the canvas, and select Paste as Reference.
- Choose TopLevelSystemUnderTest and click OK.
Next, you will have to do some configuration specific to the test bench that you’re using. For these details and more, refer to the document for the test bench that you’re using.
Running a Test Bench¶
To run a test bench:
- Open the test bench so that it appears in the editing window.
- Click the Master Interpreter on the GME Toolbar:
- Select Post to META Job Manager to have the analysis run automatically.
- If you’re testing a design space, select the configurations you’d like to test in the list at the right.
- Click OK.
- The path to the generated artifacts will be shown on the GME Console,
with the message
Generated files are here: <path>
If you selected Post to META Job Manager, then the Job Manager will launch, and you’ll see test benches begin executing in the Job Manager window.