Added all of the existing code
This commit is contained in:
19
tools/run_stress_test.sh
Normal file
19
tools/run_stress_test.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Build and run the Go IRC Stress Tester
|
||||
|
||||
echo "Building Go IRC Stress Tester..."
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Build the stress tester
|
||||
go build -o irc_stress_test go_stress_test.go
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Build successful!"
|
||||
echo "Running stress test..."
|
||||
echo "========================"
|
||||
./irc_stress_test
|
||||
else
|
||||
echo "Build failed!"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user