Noctam/DWP/ACS Test Harness/Diary

From The Dreaming
Revision as of 15:35, 7 September 2021 by Stuart (talk | contribs) (More work on day 2)
Jump to navigation Jump to search
ACS Test Harness

Meetings

Existing System

Specifications

Diary
2009:

Notes

Diary

I'll be recording a daily log of what I did, and maybe a 'plans for the next working day' in lieu of a stand-up or similar to go over this stuff with peers.

Day 1

06/06/2021

Initial workshop to discuss requirements and broad development strategy. See [Noctam/DWP/ACS Test Harness/Meetings/01-Initial Workshop|Meetings: Initial Workshop].

Day 2

07/09/2021

In which I:

  • installed and set up intellij + python on my noctam PC
  • created simplistic sim-start and sim-stop scripts to start and stop the CISSIM server
  • got it up and running, which required a bit of jiggery-pokery:
    • needed to install windows-curses in my python environment: pip install windows-curses
    • Fixed a couple of relative paths hardcoded into a couple of python files. To wit:
 commit 5205c969edcfe9e075ca8261a3ca2f13fa3e7129
 Author: Stuart Wood (Noctam) <stuart.wood@noctam.co.uk>
 Date:   Tue Sep 7 14:34:42 2021 +0100
   
   Don't rely on relative paths for files/folders
   
   Adds a 'getrootfolder' function to pdutils which gets the root folder of
   the 'project', by getting the parent of the directory in which the
   pdutils file is found.
   
   I can't immediately think of any problem with this, and it means you can
   run it safely from anywhere.
   
   This also dynamically alters the 'FOLDERS' config value (actually it
   checks of the config value starts with '../' and replaces '../' with the
   root folder provided by getrootfolder()) when it loads the config.