Re: [Fuego] Patch for Functional.check_mounts

<[email protected]>
Newsgroups dev.linux.lists.fuego
Message-ID <[email protected]>

> -----Original Message-----
> From: [email protected]
> 
> > -----Original Message-----
> > From: Kumar T [mailto:[email protected]]
> I plan to add a feature to Fuego to support an unpack operation for "local"
> files (source files
> that are in the test directory - where the fuego_test.sh file resides).  I'd like
> to use this test
> as a test case for that new feature.  I'll let you know the details of when this
> feature is completed.


OK - I have added the feature to Fuego, and checked it into the master branch.

Now, instead of using the 'tarball' variable to specify the compiled code for a test,
you can place the materials to be compiled directly into the test's home directory
(e.g. you can put fs_test.c, the Makefile, and the README.md into
fuego-core/tests/Functional.check_mounts). 

Inside the fuego_test.sh, instead of using a 'tarball=' line, put a line like the
following at the top of the file:
local_source=1

This will cause the internal code in Fuego that unpacks the source into the
build directory to copy the contents of the test's home directory there.
The build will then proceed as usual.

This will allow me to code review the source code for compiled portions
of the test, along with the fuego_test.sh, spec.json, and other Fuego-specific
test materials.

Please try this out, and let me know if you see any problems.
 -- Tim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.