Placing the configuration file in the user space

View: New views
4 Messages — Rating Filter:   Alert me  

Placing the configuration file in the user space

by kalyanreddy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have modified configuration file as per my needs and the dejagnu is now working as per my needs.

I dont want to plce the configuration file in /usr/share/dejagnu/baseboard folder, I want to place the configuration file in user space.

when we invoke the dejagnu using the runtest, it will automatically checks for configuration file in the mentioned path.

can some body please tell me how to change the default search path for the configuration file.

Thanks,
-Kalyan.

Re: Placing the configuration file in the user space

by Ben Elliston-37 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I dont want to plce the configuration file in
> /usr/share/dejagnu/baseboard folder, I want to place the
> configuration file in user space.

That's fine; that's how I have always done it.  You need to put this
in your site.exp:

lappend boards_dir "/home/kalyan/etc/boards" # or whatever

Cheers, Ben


_______________________________________________
DejaGnu mailing list
DejaGnu@...
http://lists.gnu.org/mailman/listinfo/dejagnu

Re: Placing the configuration file in the user space

by kalyanreddy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ben,

Thank you so much for your reply, and it is working fine now.

I have one more queary, I dont want to use the configuration file and i want to pass the entire configuration information as arguments to runtest command, is this possible ?

Cheers,
-Kalyan.

Ben Elliston-37 wrote:
> I dont want to plce the configuration file in
> /usr/share/dejagnu/baseboard folder, I want to place the
> configuration file in user space.

That's fine; that's how I have always done it.  You need to put this
in your site.exp:

lappend boards_dir "/home/kalyan/etc/boards" # or whatever

Cheers, Ben


_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
http://lists.gnu.org/mailman/listinfo/dejagnu

Re: Placing the configuration file in the user space

by Ben Elliston-37 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I have one more queary, I dont want to use the configuration file
> and i want to pass the entire configuration information as arguments
> to runtest command, is this possible ?

Not that I know of.  You must put all of the board parameters into a
board file and specify that with --target_board.

Cheers, Ben


_______________________________________________
DejaGnu mailing list
DejaGnu@...
http://lists.gnu.org/mailman/listinfo/dejagnu