Re: [Audacity-devel] Promising results using AutoIt3 to automate regression tests on Audacity
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: David W. <dav...@gm...> - 2011-07-25 12:59:53
|
Hi Michael AutoIt3 is native windows, and I don't think .au3 files are recognised by anything else. However, here is a link from someone who has run it successfully on linux under wine. May not be 100% compatibility though. http://www.scripticon.com/2008/07/my-first-windows-script-in-linux/ Best Regards David On Sat, Jul 23, 2011 at 5:20 PM, Michael Chinen <mc...@gm...> wrote: > On Fri, Jul 22, 2011 at 9:31 PM, David Wallace > <dav...@gm...> wrote: > > Attached is the AutoId3 script Audacity10.au3 that I used to run a > > regression test suite on some recent patches I have submitted. The > patches > > related to bugs 419 and 421 for the file import functions of Audacity. > The > > regression tests involve importing all the different file formats, > playing > > them briefly to see if they sound right, and saving their Audacity log > > files, which show the order the filters have been loaded, and which > filter > > was used to import each file. > > > > Before running this script, first modify it so that $audacityPath is set > to > > the path to your own copy of Audacity.exe. Modify also the default start > > locations used by the 3 browser dialogs to suitable valid directories on > > your system. After running it you will get these 3 folder browser dialogs > > popping up for: > > > > the folder for all the music files are that you are testing > > the folder where you want to store the logs of all the "good" imports > > the folder where you want to store the logs of all the "bad" imports > > > > Then you just listen to each file in turn, deciding whether it sounds ok > > ("good") or not ("bad"). Logs for files which fail to import at all > > automatically go in the "bad" folder, but their names begin with > > "Import_Error_" to distinguish them from the logs for the corrupt > imports. > > > > If you are re-running the script with the same input and output settings > as > > you did previously, the previous log files you stored just get > overwritten. > > > > I ran this on Windows 7 SP1 on a 64 bit machine. I did not use mapped > > drives, as they don't seem to work by default in AutoId3, although I > > understand this can be overcome. > > I agree that we could use some automated testing, and this seems > interesting. > > However, this software seems to be windows only - let us know if .au3 > files are used by some other software as well. > I only use windows once in a while, and I think not all devs/qa folk > have windows. > > Best, > > Michael > > > > David > > > > > ------------------------------------------------------------------------------ > > 10 Tips for Better Web Security > > Learn 10 ways to better secure your business today. Topics covered > include: > > Web security, SSL, hacker attacks & Denial of Service (DoS), private > keys, > > security Microsoft Exchange, secure Instant Messaging, and much more. > > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > > _______________________________________________ > > audacity-devel mailing list > > aud...@li... > > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > > > > > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! > http://www.accelacomm.com/jaw/sfnl/114/51427378/ > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |