WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Extension Requirements  (Read 1911 times)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Extension Requirements
« on: July 01, 2020, 11:04:54 AM »
Hi !

I don't know how you verify the extensions if they work but could you pls say the common requirements that every extension must follow ?

Not just the submitqc but the tests required to check if the program works correctly. So that we can actually contribute much more and make suitable extensions for all.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Extension Requirements
« Reply #1 on: July 01, 2020, 11:59:23 AM »
Most programs have a "make test" or "make check" that you can run after you run make. If not you will need to figure out what defines "working". One thing that can be an issue that you need to test is loading the extension without and with the -c option. Some programs behave differently if they are links instead of files. I have seen this in a few of the extensions I maintain.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Re: Extension Requirements
« Reply #2 on: July 01, 2020, 10:31:56 PM »
HI andyj

Only some programs come with test suite so that we can run make check or test .

Loading the extension with and without "-c" option ? I have never heard of it. Could you pls explain it ?

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Extension Requirements
« Reply #3 on: July 01, 2020, 10:44:29 PM »
Only some programs come with test suite so that we can run make check or test .

If not you will need to figure out what defines "working".

Loading the extension with and without "-c" option ? I have never heard of it. Could you pls explain it ?

Code: [Select]
$ tce-load
Version 11.1
Usage: tce-load [ -i -w -wi -wo -wil -ic -wic -wicl]{s} extensions
  -i   Loads local extension
  -w   Download extension only
  -wi  Download and install extension
  -wo  Download and create an ondemand item
  Adding -c to any -i option will force a one time copy to file system
  Adding -l to any -i option indicates load only - do not update onboot or ondemand
  Adding -s to any option will suppress OK message used by apps GUI

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Re: Extension Requirements
« Reply #4 on: July 01, 2020, 10:51:17 PM »
So that means that means rather than symlinking, the files will be really copied to system directories. Understood !

Thank You ! Will try that for testing :D .

Will the -c option also force the one time copy of dependency's files too ?
« Last Edit: July 01, 2020, 11:03:51 PM by Sashank999 »