summaryrefslogtreecommitdiff
path: root/test/agent_session.py
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:13:17 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:40:08 -0300
commit684dd340da01a60525d45e5a4f4c64f9fb79be1d (patch)
tree7ce1fae0242450cab5d3f0857ca2a7b0ed168474 /test/agent_session.py
parent6cf113c8bf86c602669c2cfe0da422988047afaf (diff)
downloadpardes-684dd340da01a60525d45e5a4f4c64f9fb79be1d.tar.gz
pardes-684dd340da01a60525d45e5a4f4c64f9fb79be1d.zip
gui: the headless grid host goes (PARDES_TEST_GRID: runGrid, its host table, its frame dump and its test), with --gui-grid in test/agent_session.py and its test, its only user, run by hand; the test feed now says only whether its input ended
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/agent_session.py')
-rw-r--r--test/agent_session.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/agent_session.py b/test/agent_session.py
index aa87c845..ec64c011 100644
--- a/test/agent_session.py
+++ b/test/agent_session.py
@@ -47,8 +47,7 @@ def run(args, command, status):
signal.setitimer(signal.ITIMER_REAL, args.timeout)
try:
context = session(str(args.binary.resolve()), root, 'agent-session', tty=True,
- socket_name='agent-session', launch=['--tty', '--9p=agent-session'],
- inherited={'PARDES_TEST_GRID': '1'} if args.gui_grid else {})
+ socket_name='agent-session', launch=['--tty', '--9p=agent-session'])
client, _ = context.__enter__()
try:
try:
@@ -137,7 +136,6 @@ def main(argv):
parser.add_argument('--timeout', type=float, default=60, help='interaction deadline in seconds, at most 600')
parser.add_argument('--min-rows', type=int, default=0)
parser.add_argument('--prepare-key', help='one hex control byte before history/probe checks; never CR or LF')
- parser.add_argument('--gui-grid', action='store_true', help='use the GUI build headless grid host')
if '--' not in argv:
parser.error('supply the interactive command after --')
split = argv.index('--')