Vijay Samuel's Blog

Running manual tests

Posted on: May 23, 2010

This is something that my mentor Brian Aker and Monty Taylor taught me. Running manual test on slap was a bit tricky at first but now I ‘m used to it. What is most important is to start a server which can be done using the following command.

First cd into the tests directory and execute the command:
./test-run –start-and-exit

You ‘ll get something like this:

Logging: ./test-run –start-and-exit
Drizzle Version 2010.05.1543
Using MTR_BUILD_THREAD             = -69.4
Using MASTER_MYPORT                    = 9306
Using MASTER_MYPORT1                  = 9307
Using SLAVE_MYPORT                        = 9308
Using SLAVE_MYPORT1                      = 9309
Using SLAVE_MYPORT2                      = 9310
Using MC_PORT                                      = 9316
Killing Possible Leftover Processes
Removing Stale Files
Creating Directories
TEST                                                         RESULT    TIME (ms)

Then come back to the root directory of your branch and after that you can choose to either run the slap program directory or in debug mode using GDB with the following command:

./libtool –mode=execute gdb ./client/drizzleslap

Once you enter the debug mode of gdb it is important to set the required arguments using set args.

Example: set args –port=9306 –silent –auto-generate-sql

(Specifying the port number is very important)

If you type run and hit enter then the program starts executing in debug mode.

This is something which is very useful when manual debugging is required.


2 Responses to "Running manual tests"

Hello, I like your blog. This is a nice site and I wanted to post a little note to let you know, nice job! Thanks Meia

Louis Vuitton

louis vuitton

Thank you very much louis vuitton.!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

My Timeline

May 2010
« Apr   Jun »

I, Me and Myself

My Blog Stats

  • 6,522 hits

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4 other followers

%d bloggers like this: