Closed Bug 625868 Opened 15 years ago Closed 15 years ago

Talos should throw an error if it is missing a sample config

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cmtalbert, Assigned: jmaher)

References

Details

Attachments

(1 file, 1 obsolete file)

1. Pretend you don't know what you're doing 2. Stare at the options available from the perfconfigurator 3. Try to make the perfconfigurator run and forget to include the sample config. I finally figured out the reason things weren't happy was that my configs weren't working, and in a last ditch effort I went hunting for the perfconfigurator command used by buildbot in the build logs. That's how I discovered that a sample config was required. Can we just change remotePerfConfigurator and perfconfigurator to throw an error if a sampleconfig is not provided?
Should be a very small patch. I believe that step #1 should be assumed for all bug reports. :)
I should add a couple examples in remotePerfConfigurator of how to use it to run a successful test. For example we use about 10 options and it is hard to remember these.
simple patch to clean up the checking of sampleConfig while making it required.
Assignee: nobody → jmaher
Attachment #504595 - Flags: review?(anodelman)
Comment on attachment 504595 [details] [diff] [review] check for sampleConfig on the cli and while opening the file (1.0) I would leave the default as 'sample.config' instead of '' - since that is the provided config filed in the checked in version of talos it seems right that that should be the default.
updated to use remote.config as the default for remotePerfConfigurator and put back sample.config as the default for desktop.
Attachment #504595 - Attachment is obsolete: true
Attachment #504858 - Flags: review?(anodelman)
Attachment #504595 - Flags: review?(anodelman)
Comment on attachment 504858 [details] [diff] [review] check for sampleConfig on the cli and while opening the file (2.0) This pleases me.
Attachment #504858 - Flags: review?(anodelman) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Blocks: 630647
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: