Files
techircd/tools/run_stress_test.sh

20 lines
377 B
Bash

#!/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