Mercurial > vim
view src/testdir/Make_amiga.mak @ 26083:a677aa897843 v8.2.3575
patch 8.2.3575: overflow check still fails when sizeof(int) == sizeof(long)
Commit: https://github.com/vim/vim/commit/e551ccfb9311eea5252d1c3106ff7a53c762d994
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 2 23:11:00 2021 +0000
patch 8.2.3575: overflow check still fails when sizeof(int) == sizeof(long)
Problem: Overflow check still fails when sizeof(int) == sizeof(long).
Solution: Use a float to check the result.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Nov 2021 00:15:04 +0100 |
parents | e529f06721f9 |
children |
line wrap: on
line source
# # Makefile to run all tests for Vim, on Amiga # # Requires "rm", "csh" and "diff"! VIMPROG = /vim default: nongui include Make_all.mak SCRIPTS = $(SCRIPTS_TINY_OUT) .SUFFIXES: .in .out .res .vim nongui: /tmp $(SCRIPTS) csh -c echo ALL DONE clean: csh -c \rm -rf *.out Xdir1 Xfind XfakeHOME Xdotest test.ok viminfo .in.out: copy $*.ok test.ok $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in diff test.out $*.ok rename test.out $*.out -delete X#? ALL QUIET -delete test.ok # Create a directory for temp files /tmp: makedir /tmp # Manx requires all dependencies, but we stopped updating them. # Delete the .out file(s) to run test(s).